Can't build RTEMS-4.10 toolchain on OS X Lion

Ralf Corsepius ralf.corsepius at rtems.org
Thu Aug 25 11:33:14 UTC 2011


On 08/24/2011 06:00 PM, Ralf Corsepius wrote:
> On 08/24/2011 05:16 PM, Eric Norum wrote:
>> I'm also having troubles building the tool chain for RTEMS-4.10.

> Please check the contents of this file (Likely
> /usr/local/rtems/BuildTools/build/m68k-rtems4.10/libgcc/config.log)

Eric sent me his config.log on PM.

It shows his build is dying because the freshly built cross-compiler ICEs:

...
configure:2611: /usr/local/rtems/BuildTools/build/./gcc/xgcc 
-B/usr/local/rtems/BuildTools/build/./gcc/ -nostdinc 
-B/usr/local/rtems/BuildTools/build/m68k-rtems4.10/newlib/ -isystem 
/usr/local/rtems/BuildTools/build/m68k-rtems4.10/newlib/targ-include 
-isystem /usr/local/rtems/BuildTools/gcc-4.4.5/newlib/libc/include 
-B/usr/local/rtems/rtems-4.10/m68k-rtems4.10/bin/ 
-B/usr/local/rtems/rtems-4.10/m68k-rtems4.10/lib/ -isystem 
/usr/local/rtems/rtems-4.10/m68k-rtems4.10/include -isystem 
/usr/local/rtems/rtems-4.10/m68k-rtems4.10/sys-include -c -g -O2 
conftest.c >&5
conftest.c:16: internal compiler error: in execute_ipa_pass_list, at 
passes.c:1342
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:2614: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2627: error: in 
`/usr/local/rtems/BuildTools/build/m68k-rtems4.10/libgcc':
configure:2630: error: cannot compute suffix of object files: cannot 
compile
...

Close to impossible for me to guess on the cause.

Any other MacOS users out there?

Do the rtems-4.10 toolchains build for other targets?

Ralf



More information about the users mailing list