[oe] [PATCH][v3 3/4] uClibc: redo configuration

Khem Raj raj.khem at gmail.com
Thu Jul 8 20:41:25 UTC 2010


On Thu, Jul 8, 2010 at 1:28 PM, Bernhard Reutner-Fischer
<rep.dot.nop at gmail.com> wrote:
>
> you said you saw an ICE with current uclibc master. Which arch and which
> versions of the toolchain did you use?

The ICE is because of -Os -mthumb -fno-omit-frame-pointer because now we pass
CFLAGS into UCLIBC_EXTRA_CFLAGS which is right thing but it unveils this
issue. I have opened a gcc bug for the same
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44860

and deviced a local work around
to not pass -fno-omit-frame-pointer on arm. I wanted to use thumb override
to localize the workaround even more but thumb is added to OVERRIDES in machine
confs and bitbake does not pick it up when I apply it on
var_thumb := <....>
var_thumb = <....> seems to work ok.

Probably you did not use thumb instruction set when compiling for qemuarm
thats where the ICE happens.

I have to cobble up few recipes but now with your patches I can build bootable
x11-image and native-sdk-images on minimal. I am quite happy with what we have
thus far.

> FYI, i tested qemuarm, qemumips, qemuppc, qemux86 and (my local)
> qemux86_64 with
> PREFERRED_BINUTILS = "2.20.1" ¹)
> PREFERRED_GCC_VERSION = "4.5" ²) ³)

thats similar to what I have.

>
> and all of built fine for me.
>
> ¹) micro.conf incorrectly picks 2.19.51 per default, should be bumped
> ²) micro.conf should also default to 4.5
> ³) It would be great if we could settle on one scheme for
>   binutils/gcc/libc version shorthands:
>   PREFERRED_BINUTILS_VERSION _or_ PREFERRED_GCC, i'd go for
>   PREFERRED_foo_VERSION, uniformly.




More information about the Openembedded-devel mailing list