Skip to contentSkip to conversation

failure building gcc-cross-initial for armv5te

DISCUSSION Jaap de Jong 10 participants 13 messages Oct 20, 2010

lore
Share & tools
lore
#0 lore raw

building gcc-cross-initial for armv5te fails:

///
| checking for arm-angstrom-linux-gnueabi-ranlib...
arm-angstrom-linux-gnueabi-ranlib
| checking for arm-angstrom-linux-gnueabi-strip...
arm-angstrom-linux-gnueabi-strip
| checking whether ln -s works... yes
| checking for arm-angstrom-linux-gnueabi-gcc... /media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/xgcc -B/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/ -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb
-isystem/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi/usr/include -B/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/bin/ -B/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/lib/
-isystem
/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/include
-isystem
/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/sys-include --sysroot=/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi
| checking for suffix of object files... configure: error: in `/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi/libgcc':
| configure: error: cannot compute suffix of object files: cannot
compile

   | See `config.log' for more details.
   | make[1]: *** [configure-target-libgcc] Error 1
   | make[1]: Leaving directory

`/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi' | make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/temp/log.do_compile.1864
ERROR: TaskFailed event exception, aborting
ERROR: Build of
/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb
do_compile failed
ERROR: Task 6228
(/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb,
do_compile) failed
NOTE: Waiting for 2 active tasks to finish
NOTE: 1:
/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/classpath/classpath-native_0.98.bb,
do_install (1885)
NOTE: 2:
virtual:native:/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/xorg-lib/libx11_1.3.99.902.bb,
do_install (1886)
NOTE: Waiting for 1 active tasks to finish
NOTE: 1:
/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/classpath/classpath-native_0.98.bb,
do_install (1885)
NOTE: Tasks Summary: Attempted 888 tasks of which 888 didn't need to
be rerun and 1 failed.
ERROR:
'/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb'
failed

Checking

tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/gcc/config.log

reveals:

configure:4791: checking whether compiler driver understands Ada configure:4814: result: no
configure:4851: checking how to run the C preprocessor configure:4921: result: gcc -E
configure:4941: gcc -E conftest.c
configure:4941: $? = 0
configure:4955: gcc -E conftest.c
conftest.c:11: fatal error: ac_nonexistent.h: No such file or directory compilation terminated.

Not sure if it has anything to do with it.
I can't find ac_nonexistent.h, but perhaps this is intended looking at the filename... Any help is appreciated!
Jaap

#1 lore raw
Quoted 7 lines · Jaap de Jong

| checking for suffix of object files... configure: error: in

tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/gcc/config.log

you will need to search for the above string in the config.log.

#2 lore raw
In reply to Jaap de Jong
Quoted 92 lines · Jaap de Jong

building gcc-cross-initial for armv5te fails:

///
| checking for arm-angstrom-linux-gnueabi-ranlib...
arm-angstrom-linux-gnueabi-ranlib
| checking for arm-angstrom-linux-gnueabi-strip...
arm-angstrom-linux-gnueabi-strip
| checking whether ln -s works... yes
| checking for arm-angstrom-linux-gnueabi-gcc... /media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/xgcc

(quoted diff) +0 -6
-B/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/
 
-march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb
-isystem/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi/usr/include
 
-B/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/bin/
 
-B/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/lib/
 
-isystem

/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/include

-isystem /media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/sys-include

--sysroot=/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi

| checking for suffix of object files... configure: error: in `/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi/libgcc':

| configure: error: cannot compute suffix of object files: cannot compile

| See `config.log' for more details.
| make[1]: *** [configure-target-libgcc] Error 1
| make[1]: Leaving directory

`/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi'

| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/temp/log.do_compile.1864

ERROR: TaskFailed event exception, aborting
ERROR: Build of /media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb

do_compile failed
ERROR: Task 6228 (/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb,

do_compile) failed
NOTE: Waiting for 2 active tasks to finish
NOTE: 1:
/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/classpath/classpath-native_0.98.bb,

do_install (1885)
NOTE: 2:
virtual:native:/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/xorg-lib/libx11_1.3.99.902.bb,

do_install (1886)
NOTE: Waiting for 1 active tasks to finish
NOTE: 1:
/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/classpath/classpath-native_0.98.bb,

do_install (1885)
NOTE: Tasks Summary: Attempted 888 tasks of which 888 didn't need to
be rerun and 1 failed.
ERROR:
'/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb'

failed

Checking

tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/gcc/config.log

reveals:

configure:4791: checking whether compiler driver understands Ada configure:4814: result: no
configure:4851: checking how to run the C preprocessor configure:4921: result: gcc -E
configure:4941: gcc -E conftest.c
configure:4941: $? = 0
configure:4955: gcc -E conftest.c
conftest.c:11: fatal error: ac_nonexistent.h: No such file or directory compilation terminated.

Quoted 5 lines

Not sure if it has anything to do with it.
I can't find ac_nonexistent.h, but perhaps this is intended looking at the filename...
Any help is appreciated!
Jaap

What configuration (MACHINE/DISTRO/branch/TARGET) are you trying to build?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#3 lore raw
In reply to Jaap de Jong

2010/10/20 Jaap de Jong <[email protected]>:

Quoted 91 lines

 building gcc-cross-initial for armv5te fails:

  ///
  | checking for arm-angstrom-linux-gnueabi-ranlib... arm-angstrom-linux-gnueabi-ranlib
  | checking for arm-angstrom-linux-gnueabi-strip... arm-angstrom-linux-gnueabi-strip
  | checking whether ln -s works... yes
  | checking for arm-angstrom-linux-gnueabi-gcc...

/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/xgcc

-B/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/ -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb

(quoted diff) +0 -3
-isystem/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi/usr/include
 
-B/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/bin/
 
-B/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/lib/

  -isystem

/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/include -isystem

/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/sys-include

--sysroot=/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi | checking for suffix of object files... configure: error: in

`/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi/libgcc':
  | configure: error: cannot compute suffix of object files: cannot
  compile

  | See `config.log' for more details.
  | make[1]: *** [configure-target-libgcc] Error 1
  | make[1]: Leaving directory

`/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi' | make: *** [all] Error 2
  | FATAL: oe_runmake failed
  NOTE: Task failed:

/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/temp/log.do_compile.1864
  ERROR: TaskFailed event exception, aborting
  ERROR: Build of

/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb do_compile failed
  ERROR: Task 6228

(/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb, do_compile) failed
  NOTE: Waiting for 2 active tasks to finish
  NOTE: 1:

/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/classpath/classpath-native_0.98.bb, do_install (1885)
  NOTE: 2:

virtual:native:/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/xorg-lib/libx11_1.3.99.902.bb, do_install (1886)
  NOTE: Waiting for 1 active tasks to finish
  NOTE: 1:

/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/classpath/classpath-native_0.98.bb, do_install (1885)
  NOTE: Tasks Summary: Attempted 888 tasks of which 888 didn't need to
  be rerun and 1 failed.
  ERROR:

'/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb' failed

Checking

tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/gcc/config.log

reveals:

  configure:4791: checking whether compiler driver understands Ada configure:4814: result: no
  configure:4851: checking how to run the C preprocessor configure:4921: result: gcc -E
  configure:4941: gcc -E  conftest.c
  configure:4941: $? = 0
  configure:4955: gcc -E  conftest.c
  conftest.c:11: fatal error: ac_nonexistent.h: No such file or directory compilation terminated.

Quoted 6 lines

Not sure if it has anything to do with it.
I can't find ac_nonexistent.h, but perhaps this is intended looking at the filename...
Any help is appreciated!
Jaap
_______________________________________________

With the testing-next branch things build fine with me (ditro slugos, machine nslu2le and nslu2be)

Frans

#4 lore raw
Quoted 92 lines · Frans Meulenbroeks

2010/10/20 Jaap de Jong<[email protected]>:

Quoted 91 lines

building gcc-cross-initial for armv5te fails:

///
| checking for arm-angstrom-linux-gnueabi-ranlib... arm-angstrom-linux-gnueabi-ranlib
| checking for arm-angstrom-linux-gnueabi-strip... arm-angstrom-linux-gnueabi-strip
| checking whether ln -s works... yes
| checking for arm-angstrom-linux-gnueabi-gcc...

/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/xgcc

(quoted diff) +0 -4
-B/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/
   -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb
 
-isystem/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi/usr/include
 
-B/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/bin/
 
-B/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/lib/
   -isystem

/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/include
-isystem

/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/sys-include

--sysroot=/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi
| checking for suffix of object files... configure: error: in

`/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi/libgcc':
| configure: error: cannot compute suffix of object files: cannot
compile

   | See `config.log' for more details.
   | make[1]: *** [configure-target-libgcc] Error 1
   | make[1]: Leaving directory

`/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:

/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/temp/log.do_compile.1864
ERROR: TaskFailed event exception, aborting
ERROR: Build of

/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb
do_compile failed
ERROR: Task 6228

(/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb,
do_compile) failed
NOTE: Waiting for 2 active tasks to finish
NOTE: 1:

/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/classpath/classpath-native_0.98.bb,
do_install (1885)
NOTE: 2:

virtual:native:/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/xorg-lib/libx11_1.3.99.902.bb,
do_install (1886)
NOTE: Waiting for 1 active tasks to finish
NOTE: 1:

/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/classpath/classpath-native_0.98.bb,
do_install (1885)
NOTE: Tasks Summary: Attempted 888 tasks of which 888 didn't need to
be rerun and 1 failed.
ERROR:

'/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb'
failed

Checking

tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/gcc/config.log

reveals:

configure:4791: checking whether compiler driver understands Ada configure:4814: result: no
configure:4851: checking how to run the C preprocessor configure:4921: result: gcc -E
configure:4941: gcc -E conftest.c
configure:4941: $? = 0
configure:4955: gcc -E conftest.c
conftest.c:11: fatal error: ac_nonexistent.h: No such file or directory compilation terminated.

Quoted 9 lines
Quoted 6 lines

Not sure if it has anything to do with it.
I can't find ac_nonexistent.h, but perhaps this is intended looking at the filename...
Any help is appreciated!
Jaap
_______________________________________________

With the testing-next branch things build fine with me (ditro slugos, machine nslu2le and nslu2be)

Probably because of pinned versions for the tools. Notice that Jaap is building GCC 4.5 from SVN.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#5 lore raw
In reply to Frans Meulenbroeks

What os are you compiling on? Can you run the cross compile gcc from the command line and get the no input files message?

Quoted 108 lines · Frans Meulenbroeks

2010/10/20 Jaap de Jong <[email protected]>:

Quoted 91 lines

building gcc-cross-initial for armv5te fails:

///
| checking for arm-angstrom-linux-gnueabi-ranlib... arm-angstrom-linux-gnueabi-ranlib
| checking for arm-angstrom-linux-gnueabi-strip... arm-angstrom-linux-gnueabi-strip
| checking whether ln -s works... yes
| checking for arm-angstrom-linux-gnueabi-gcc...

/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/xgcc

(quoted diff) +0 -4
-B/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/
  -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb
 
-isystem/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi/usr/include
 
-B/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/bin/
 
-B/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/lib/
  -isystem

/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/include
-isystem

/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/sys-include

--sysroot=/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi
| checking for suffix of object files... configure: error: in

`/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi/libgcc':
| configure: error: cannot compute suffix of object files: cannot
compile

  | See `config.log' for more details.
  | make[1]: *** [configure-target-libgcc] Error 1
  | make[1]: Leaving directory

`/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:

/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/temp/log.do_compile.1864
ERROR: TaskFailed event exception, aborting
ERROR: Build of

/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb
do_compile failed
ERROR: Task 6228

(/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb,
do_compile) failed
NOTE: Waiting for 2 active tasks to finish
NOTE: 1:

/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/classpath/classpath-native_0.98.bb,
do_install (1885)
NOTE: 2:

virtual:native:/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/xorg-lib/libx11_1.3.99.902.bb,
do_install (1886)
NOTE: Waiting for 1 active tasks to finish
NOTE: 1:

/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/classpath/classpath-native_0.98.bb,
do_install (1885)
NOTE: Tasks Summary: Attempted 888 tasks of which 888 didn't need to
be rerun and 1 failed.
ERROR:

'/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb'
failed

Checking

tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/gcc/config.log

reveals:

configure:4791: checking whether compiler driver understands Ada configure:4814: result: no
configure:4851: checking how to run the C preprocessor configure:4921: result: gcc -E
configure:4941: gcc -E conftest.c
configure:4941: $? = 0
configure:4955: gcc -E conftest.c
conftest.c:11: fatal error: ac_nonexistent.h: No such file or directory compilation terminated.

Quoted 6 lines

Not sure if it has anything to do with it.
I can't find ac_nonexistent.h, but perhaps this is intended looking at the filename...
Any help is appreciated!
Jaap
_______________________________________________

With the testing-next branch things build fine with me (ditro slugos, machine nslu2le and nslu2be)

Frans

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#6 lore raw
Quoted 1 line · Nik

What os are you compiling on? Can you run the cross compile gcc from the command line and get the no input files message?

Related log from #oe - as I'm lazy to type it again :)

12:39:53 < morphis> anybody looked already on "failure building gcc-cross-initial" thing?
12:41:13 < JaMa|W> morphis: cleaning and rebuilding whole toolchain usually helps in those cases
12:41:23 < morphis> already did that
12:41:40 < JaMa|W> cleaned all gcc/binutils/eglibc?
12:41:48 < morphis> rm -rf tmp
12:42:06 < morphis> somebody on the ML has the same problem
12:42:34 < JaMa|W> I had the same, but rebuild did work for me
12:42:55 < morphis> see http://tinderbox.openembedded.org/public/logs/task/8947680.txt
12:42:56 < morphis> hm
12:43:04 < morphis> I started a second rebuild
12:43:09 < morphis> maybe it works now
12:44:09 < JaMa|W> morphis: config.log is more important
12:44:39 < morphis> conftest.c:11: fatal error: ac_nonexistent.h: No such file or director
12:44:58 < JaMa|W> but ie shr buildhost also built gcc-cross for 2 archs in last 3 days too
12:45:10 < morphis> hm
12:46:01 -!- etrunko_ [[email protected]] has quit [Ping timeout: 240 seconds]
12:48:02 < JaMa|W> morphis: that's imho not real error, just what "checking how to run the C preprocessor" expects to see
12:48:16 < morphis> ok
12:48:25 < morphis> will wait until the build fails and then look again
13:26:50 < eFfeM_work> morphis: perhaps try a clean build (no pstage or tmp); i could build slugos for nslu2 (le and be) without problem (branch testing-next)
13:30:44 < morphis> eFfeM_work: already tried that
13:30:47 < morphis> two times
13:30:50 < morphis> did not wokred
13:30:55 < morphis> s/wokred/worked/
13:30:59 < eFfeM_work> ah ok, what machine/distro ?
13:31:11 < eFfeM_work> i tried slugos, but that is on an older gcc i think
13:31:41 < eFfeM_work> and I did minimal/console-image for sheevaplug (which is armv5te)
13:34:45 < morphis> palmpre/shr
13:38:08 < eFfeM_work> do minimal and shr use a different gcc version or rev ?
13:38:14 < eFfeM_work> has the recipe been changed since ?
13:38:26 < eFfeM_work> that are the things you want to look at
13:39:25 < morphis> some infos from config.log: http://pastie.org/1235203
13:39:37 < morphis> recipe did not changed
13:39:47 < morphis> shr choose new gcc version some days ago I think
13:40:04 < morphis> ah damn it
13:40:08 < morphis> I forgot some lines
13:41:37 < morphis> it tells me /home/morphis/oe/palmpre/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.x86_64-linux.arm-oe-linux-gnueabi/./gcc/as: line 83: exec: : not found 13:42:58 < JaMa|W> morphis: yup that's what I had
13:43:25 < morphis> JaMa|W: hm ok
13:43:35 < morphis> should I try to rebuild a second time?
13:43:45 < morphis> äh a third time
13:44:06 < JaMa|W> pastebin /home/morphis/oe/palmpre/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.x86_64-linux.arm-oe-linux-gnueabi/./gcc/as
13:45:04 < morphis> morphis@nirvana ...gcc-cross-initial-4.5-r12.0+svnr164562 % ls /home/morphis/oe/palmpre/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.x86_64-linux.arm-oe-linux-gnueabi/./gcc/as 13:45:04 < morphis> /home/morphis/oe/palmpre/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.x86_64-linux.arm-oe-linux-gnueabi/./gcc/as*
13:45:12 < morphis> it's there
13:46:14 < JaMa|W> and what's on line 83? it want's to exec ${empty var} IIRC
13:49:24 < morphis> mom
13:50:25 < CIA-9> Martin Jansa <[email protected]> master * r85f8336c9b openembedded.git/recipes/libxml/libxml2.inc: (log message trimmed)
13:50:25 < CIA-9> libxml2: enable debug module (default is on)
13:50:25 < CIA-9> * it's not runtime debug (--with-run-debug or --with-mem-debug)
13:50:25 < CIA-9> * it's needed by python API (which is not limited to provide bindings
13:50:25 < CIA-9> based on enabled modules so ie python call param_node.lsCountNode()
13:50:25 < CIA-9> always calls libxml2mod.xmlLsCountNode(self._o), but this function is
13:50:26 < CIA-9> available only with debug module enabled.
13:55:54 -!- arun_ [~arun@unaffiliated/sindian] has quit [Ping timeout: 252 seconds]
13:58:54 < morphis> JaMa|W: http://pastie.org/1235220

14:03:08 < JaMa|W> ORIGINAL_AS_FOR_TARGET="" is that empty var :/
14:04:04 < JaMa|W> morphis: maybe it's related to  http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=f1148d26740e57cba4fe29fd78c234359868a50e
14:04:17 < JaMa|W> morphis: I haven't build from scratch after this commit
14:05:58 < JaMa|W> but that's included only in target binutils (as commit says) so it shouldn't be related

14:06:37 < morphis> hm, will remove this line and try again
14:07:19 < JaMa|W> rather check how ORIGINAL_AS_FOR_TARGET is decided
14:08:28 -!- dth_ntb [[email protected]] has quit [Ping timeout: 276 seconds]
14:08:46 < morphis> jepp
14:11:10 < JaMa|W> hmm first I have seen it 20 days ago..
14:11:12 < JaMa|W> ./openmoko-cdevel/openmoko-cdevel-2010-10-01:13:13 < JaMa> /home/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/gcc-cross-initial-4.5-r10.0+svnr164562/gcc-4.5/build.x86_64-linux.arm-oe-linux-gnueabi/./gcc/as: line
83: exec: : not found
14:13:46 < morphis> will try again at home ...
14:13:53 < morphis> cya

Quoted 1 line

Sent from my iPhone

Sent from my mutt

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#7 lore raw
Quoted 5 lines · Martin Jansa
Quoted 1 line · Nik

What os are you compiling on? Can you run the cross compile gcc from the command line and get the no input files message?

Related log from #oe - as I'm lazy to type it again :)

As I tried a little bit more I tracked it down to the commit f1148d26740e57cba4fe29fd78c234359868a50e ("binutils.inc: Filter out --with-sysroot for target binutils"). If you revert this one and do a fresh build (rm -rf tmp) everything compiles fine.

regards,
morphis

#8 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 11 lines · Simon Busch
Quoted 5 lines · Martin Jansa
Quoted 1 line · Nik

What os are you compiling on? Can you run the cross compile gcc from the command line and get the no input files message?

Related log from #oe - as I'm lazy to type it again :)

As I tried a little bit more I tracked it down to the commit f1148d26740e57cba4fe29fd78c234359868a50e ("binutils.inc: Filter out --with-sysroot for target binutils"). If you revert this one and do a fresh build (rm -rf tmp) everything compiles fine.

It would be nice if commits like that bumped PR so problems also show up in incremental builds. And in this case, the fixed *packages* can end up in the feeds.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMvxgZMkyGM64RGpERAnirAKCvfFOmzQTOqYTS5+PxFUFHzxHDrwCgonk2 PxM2Xi/EQa0uma+SY+F1LmI=
=B1wz
-----END PGP SIGNATURE-----

#9 lore raw
Quoted 11 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 7 lines · Simon Busch
Quoted 5 lines · Martin Jansa
Quoted 1 line · Nik

What os are you compiling on?  Can you run the cross compile gcc from the command line and get the no input files message?

Related log from #oe - as I'm lazy to type it again :)

Quoted 8 lines
Quoted 4 lines

As I tried a little bit more I tracked it down to the commit f1148d26740e57cba4fe29fd78c234359868a50e ("binutils.inc: Filter out --with-sysroot for target binutils"). If you revert this one and do a fresh build (rm -rf tmp) everything compiles fine.

It would be nice if commits like that bumped PR so problems also show up in incremental builds. And in this case, the fixed *packages* can end up in the feeds.

indeed. my bad. The problem should be fixed now

Quoted 18 lines

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMvxgZMkyGM64RGpERAnirAKCvfFOmzQTOqYTS5+PxFUFHzxHDrwCgonk2 PxM2Xi/EQa0uma+SY+F1LmI=
=B1wz
-----END PGP SIGNATURE-----

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#10 lore raw
Quoted 1 line · Khem Raj

The problem should be fixed now

I think the same fix should be applied to gcc-configure-target.inc.

Regards,
Andreas

#11 lore raw
Quoted 5 lines · Andreas Oberritter
Quoted 1 line · Khem Raj

The problem should be fixed now

I think the same fix should be applied to gcc-configure-target.inc.

not necessary. because gcc-configure-target.inc is only included in target recipes unlike binutils but would not be harmful if applied.

Quoted 8 lines

Regards,
Andreas

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#12 lore raw
In reply to Nik

Running on ubuntu 10.10

Not sure what you mean with the second part of your question.

bitbakegcc-cross-initial

gives the same error.

Started from scratch (no tmp dir)

Quoted 118 lines · Nik

What os are you compiling on? Can you run the cross compile gcc from the command line and get the no input files message?

Sent from my iPhone

Quoted 101 lines · Frans Meulenbroeks

2010/10/20 Jaap de Jong<[email protected]>:

Quoted 91 lines

building gcc-cross-initial for armv5te fails:

///
| checking for arm-angstrom-linux-gnueabi-ranlib... arm-angstrom-linux-gnueabi-ranlib
| checking for arm-angstrom-linux-gnueabi-strip... arm-angstrom-linux-gnueabi-strip
| checking whether ln -s works... yes
| checking for arm-angstrom-linux-gnueabi-gcc...

/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/xgcc

(quoted diff) +0 -4
-B/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/
   -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb
 
-isystem/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi/usr/include
 
-B/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/bin/
 
-B/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/lib/
   -isystem

/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/include
-isystem

/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/sys-include

--sysroot=/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi
| checking for suffix of object files... configure: error: in

`/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi/libgcc':
| configure: error: cannot compute suffix of object files: cannot
compile

   | See `config.log' for more details.
   | make[1]: *** [configure-target-libgcc] Error 1
   | make[1]: Leaving directory

`/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:

/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/temp/log.do_compile.1864
ERROR: TaskFailed event exception, aborting
ERROR: Build of

/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb
do_compile failed
ERROR: Task 6228

(/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb,
do_compile) failed
NOTE: Waiting for 2 active tasks to finish
NOTE: 1:

/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/classpath/classpath-native_0.98.bb,
do_install (1885)
NOTE: 2:

virtual:native:/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/xorg-lib/libx11_1.3.99.902.bb,
do_install (1886)
NOTE: Waiting for 1 active tasks to finish
NOTE: 1:

/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/classpath/classpath-native_0.98.bb,
do_install (1885)
NOTE: Tasks Summary: Attempted 888 tasks of which 888 didn't need to
be rerun and 1 failed.
ERROR:

'/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb'
failed

Checking

tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/gcc/config.log

reveals:

configure:4791: checking whether compiler driver understands Ada configure:4814: result: no
configure:4851: checking how to run the C preprocessor configure:4921: result: gcc -E
configure:4941: gcc -E conftest.c
configure:4941: $? = 0
configure:4955: gcc -E conftest.c
conftest.c:11: fatal error: ac_nonexistent.h: No such file or directory compilation terminated.

Quoted 6 lines

Not sure if it has anything to do with it.
I can't find ac_nonexistent.h, but perhaps this is intended looking at the filename...
Any help is appreciated!
Jaap
_______________________________________________

With the testing-next branch things build fine with me (ditro slugos, machine nslu2le and nslu2be)

Quoted 6 lines

Frans

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel