[oe] gcc-4.3.0 based toolchain (needed for ep93xx crunch)

Hasjim Williams openembedded-devel at lists.futaris.org
Thu Apr 10 07:51:00 UTC 2008


Has anyone gotten a gcc 4.3.0 toolchain working on OE yet?

I need to go to gcc 4.3.0 to properly implement ep93xx crunch support,
since I need to call optab_libfunc from gcc/optabs.c.  Unfortunately,
this isn't in 4.2.3.

I get problems compiling glibc-intermediate 2.6.1 or 2.7:

| make[2]: *** Waiting for unfinished jobs....
| In file included from ../nptl/descr.h:23,
|                  from ../ports/sysdeps/arm/nptl/tls.h:63,
|                  from ../include/tls.h:6,
|                  from ../include/link.h:45,
|                  from ../include/dlfcn.h:3,
|                  from ../sysdeps/generic/ldsodefs.h:32,
|                  from ../ports/sysdeps/arm/ldsodefs.h:39,
|                  from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
|                  from <stdin>:2:
| ../include/limits.h:125:26: error: limits.h: No such file or directory
| make[2]: ***
[/home/hwilliams/openembedded-latest/build-dev/tmp/work/ep9312-angstrom-linux-gnueabi/glibc-intermediate-2.7-r1/build-arm-angstrom-linux-gnueabi/tcb-offsets.h]
Error 1

I saw Koen's E-mail titled "Adjusting staging for gcc >= 4.3.0", to do a
soft-link:

> ln -sf /OE/angstrom-tmp/cross/lib/gcc/arm-angstrom-linux-gnueabi/4.3.0/
> include-fixed/* /OE/angstrom-tmp/cross/lib/gcc/arm-angstrom-linux-
> gnueabi/4.3.0/include/

Any chance someone can push a (temporary?) change into bb, so others do
this automatically, or are we going to go down the path suggested by
Sergey:

> C_SYSTEM_INCLUDE :=$(shell $(CC) -print-file-name=include || echo)
> CFLAGS+= -isystem $(C_SYSTEM_INCLUDE) -isystem $(C_SYSTEM_INCLUDE)-fixed

Thoughts?

I'm in the process of making changes to gcc and glibc so I'd rather not
have to do this every build.




More information about the Openembedded-devel mailing list