[oe-commits] [Bug 5251] New: CROSS COMPILE Badness:

bugzilla-daemon at git.openembedded.org bugzilla-daemon at git.openembedded.org
Mon Jun 22 21:40:21 UTC 2009


http://bugs.openembedded.org/show_bug.cgi?id=5251

           Summary: CROSS COMPILE Badness:
           Product: Openembedded
           Version: Angstrom 2008.x
          Platform: SuperH
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: org.openembedded.dev
        AssignedTo: openembedded-commits at lists.openembedded.org
        ReportedBy: ronald at sysrealtime.com


I am trying to build for sh4, using oe.dev, Angstrom angstrom-2008.1, glibc ,
gcc-4.3.3.
The bug can be reproduced with the titan machine config that is available in
OE.

I would appreciate any help or hints on how to debug this problem. 

| fixincludes is done
| echo timestamp > stmp-fixinc
| if [ -d include ] ; then true; else mkdir include; chmod a+rx include; fi
| if [ -d include-fixed ] ; then true; else mkdir include-fixed; chmod a+rx
include-fixed; fi
| for file in ..
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/ginclude/float.h
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/ginclude/iso646.h
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/ginclude/stdarg.h
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/ginclude/stdbool.h
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/ginclude/stddef.h
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/ginclude/varargs.h
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/ginclude/stdfix.h
; do \
|         if [ X$file != X.. ]; then \
|           realfile=`echo $file | sed -e 's|.*/\([^/]*\)$|\1|'`; \
|           echo timestamp > include/$realfile; \
|           rm -f include/$realfile; \
|           cp $file include; \
|           chmod a+r include/$realfile; \
|         fi; \
|       done
| rm -f include/unwind.h
| cp
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/unwind-generic.h
include/unwind.h
| set -e; for ml in `cat fixinc_list`; do \
|         sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'`; \
|         multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \
|         fix_dir=include-fixed${multi_dir}; \
|         if [ -f `echo
/home/ronald/workspace/srd/sh4a/build/tmp/staging/sh4-angstrom-linux${sysroot_headers_suffix}/usr/include
| sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`/limits.h ] ; then \
|           cat
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/limitx.h
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/glimits.h
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/limity.h
> tmp-xlimits.h; \
|         else \
|           cat
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/glimits.h
> tmp-xlimits.h; \
|         fi; \
|         /bin/sh
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/../mkinstalldirs
${fix_dir}; \
|         chmod a+rx ${fix_dir} || true; \
|         rm -f ${fix_dir}/limits.h; \
|         mv tmp-xlimits.h ${fix_dir}/limits.h; \
|         chmod a+r ${fix_dir}/limits.h; \
|       done
| rm -f include-fixed/README
| cp
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/../fixincludes/README-fixinc
include-fixed/README
| chmod a+r include-fixed/README
| echo timestamp > stmp-int-hdrs
| if [ -d "`echo
/home/ronald/workspace/srd/sh4a/build/tmp/staging/sh4-angstrom-linux${sysroot_headers_suffix}/usr/include
| sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`" ]; \
|       then \
|        
CC="/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/build.i686-linux.sh4-angstrom-linux/./gcc/xgcc
-B/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/build.i686-linux.sh4-angstrom-linux/./gcc/
-ml -m4
-isystem/home/ronald/workspace/srd/sh4a/build/tmp/staging/sh4-angstrom-linux/usr/include
-B/home/ronald/workspace/srd/sh4a/build/tmp/cross/sh4/sh4-angstrom-linux/bin/
-B/home/ronald/workspace/srd/sh4a/build/tmp/cross/sh4/sh4-angstrom-linux/lib/
-isystem
/home/ronald/workspace/srd/sh4a/build/tmp/cross/sh4/sh4-angstrom-linux/include
-isystem
/home/ronald/workspace/srd/sh4a/build/tmp/cross/sh4/sh4-angstrom-linux/sys-include
-g -Os -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include  -I. -I.
-I/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc
-I/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/.
-I/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/../include
-I/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/../libcpp/include

-I/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/../libdecnumber
-I/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/../libdecnumber/dpd
-I../libdecnumber    -I.
-I/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc
-isystem include -isystem `echo
/home/ronald/workspace/srd/sh4a/build/tmp/staging/sh4-angstrom-linux${sysroot_headers_suffix}/usr/include
| sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`"; \
|         export CC; \
|         /bin/sh
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/scan-types.sh
"/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc"
>tmp-deduced.h; \
|         mv tmp-deduced.h deduced.h; \
|       else \
|         echo timestamp > deduced.h; \
|       fi
| sed -e s/TARGET_GETGROUPS_T/gid_t/ \
|         deduced.h
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/sys-protos.h
> tmp-fixtmp.c
| mv tmp-fixtmp.c fixtmp.c
|
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/build.i686-linux.sh4-angstrom-linux/./gcc/xgcc
-B/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/build.i686-linux.sh4-angstrom-linux/./gcc/
-ml -m4
-isystem/home/ronald/workspace/srd/sh4a/build/tmp/staging/sh4-angstrom-linux/usr/include
-B/home/ronald/workspace/srd/sh4a/build/tmp/cross/sh4/sh4-angstrom-linux/bin/
-B/home/ronald/workspace/srd/sh4a/build/tmp/cross/sh4/sh4-angstrom-linux/lib/
-isystem
/home/ronald/workspace/srd/sh4a/build/tmp/cross/sh4/sh4-angstrom-linux/include
-isystem
/home/ronald/workspace/srd/sh4a/build/tmp/cross/sh4/sh4-angstrom-linux/sys-include
fixtmp.c -w -U__SIZE_TYPE__ -U__PTRDIFF_TYPE__ -U__WCHAR_TYPE__ -E \
|         | sed -e 's/  / /g' -e 's/ *(/ (/g' -e 's/ [ ]*/ /g' -e 's/( )/()/' \
|         |  build/gen-protos >xsys-protos.hT
| gen-protos: 1346 entries 340 collisions
| mv xsys-protos.hT xsys-protos.h
| rm -rf fixtmp.c
| gcc -c  
-isystem/home/ronald/workspace/srd/sh4a/build/tmp/staging/i686-linux/usr/include
-Wno-format-security -U_FORTIFY_SOURCE -O2 -ggdb3 -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros                                 
-Wno-overlength-strings    -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc
-I/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/build
-I/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/../include
-I/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/../libcpp/include

-I/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/../libdecnumber
-I/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/../libdecnumber/dpd
-I../libdecnumber -I. -Ibuild
-I/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc
-I/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/build
-I/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/../include
-I/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/../libcpp/include

-I/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/../libdecnumber
-I/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/../libdecnumber/dpd
-I../libdecnumber     -o build/fix-header.o
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/fix-header.c
| gcc  
-isystem/home/ronald/workspace/srd/sh4a/build/tmp/staging/i686-linux/usr/include
-Wno-format-security -U_FORTIFY_SOURCE -O2 -ggdb3 -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros                                  
  -Wno-overlength-strings    -DHAVE_CONFIG_H -DGENERATOR_FILE
-L/home/ronald/workspace/srd/sh4a/build/tmp/staging/i686-linux/usr/lib
-Wl,-rpath-link,/home/ronald/workspace/srd/sh4a/build/tmp/staging/i686-linux/usr/lib
-Wl,-rpath,/home/ronald/workspace/srd/sh4a/build/tmp/staging/i686-linux/usr/lib
-Wl,-O1 -o build/fix-header \
|        build/fix-header.o c-incpath.o cppdefault.o build/scan-decls.o
prefix.o \
|        build/scan.o build/errors.o ../libcpp/libcpp.a  
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
| if [ -f fixhdr.ready ] ; then \
|               true; \
|       else \
|               echo timestamp > fixhdr.ready; \
|       fi
| set -e; for ml in `cat fixinc_list`; do \
|         sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'`; \
|         multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \
|         fix_dir=include-fixed${multi_dir}; \
|         if [ -f ${fix_dir}/fixed ] ; then true; \
|         else \
|           : This line works around a 'make' bug in BSDI 1.1.; \
|           FIXPROTO_DEFINES=""; export FIXPROTO_DEFINES; \
|           FIX_HEADER="build/fix-header"; export FIX_HEADER; \
|           mkinstalldirs="/bin/sh
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/../mkinstalldirs";
\
|             export mkinstalldirs; \
|           if [ -d "`echo
/home/ronald/workspace/srd/sh4a/build/tmp/staging/sh4-angstrom-linux${sysroot_headers_suffix}/usr/include
| sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`" ]; then \
|             /bin/sh
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/gcc/fixproto
${fix_dir} ${fix_dir} `echo
/home/ronald/workspace/srd/sh4a/build/tmp/staging/sh4-angstrom-linux${sysroot_headers_suffix}/usr/include
| sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`; \
|             if [ $? -eq 0 ] ; then true ; else exit 1 ; fi ; \
|           else true; fi; \
|           echo timestamp > ${fix_dir}/fixed; \
|         fi; \
|       done
| fixproto: populating `include-fixed'
| CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
| fix-header: Internal error: abort in add_path, at c-incpath.c:425
| make[2]: *** [stmp-fixproto] Error 1
| make[2]: Leaving directory
`/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/build.i686-linux.sh4-angstrom-linux/gcc'
| make[1]: *** [all-gcc] Error 2
| make[1]: Leaving directory
`/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/gcc-4.3.3/build.i686-linux.sh4-angstrom-linux'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/ronald/workspace/srd/sh4a/build/tmp/work/sh4-angstrom-linux/gcc-cross-initial-4.3.3-r4.1/temp/log.do_compile.566
ERROR: TaskFailed event exception, aborting
ERROR: Build of
/home/ronald/workspace/srd/sh4a/openembedded/recipes/gcc/gcc-cross-initial_4.3.3.bb
do_compile failed
ERROR: Task 1771
(/home/ronald/workspace/srd/sh4a/openembedded/recipes/gcc/gcc-cross-initial_4.3.3.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 162 tasks of which 0 didn't need to be rerun and
1 failed.
ERROR:
'/home/ronald/workspace/srd/sh4a/openembedded/recipes/gcc/gcc-cross-initial_4.3.3.bb'
failed

-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-commits mailing list