[oe-issues] [Bug 3363] New: Build fails on gcc-cross_4.1.2 - errors with gfortran

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Sat Nov 24 18:32:45 UTC 2007


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

           Summary: Build fails on gcc-cross_4.1.2 - errors with gfortran
           Product: Openembedded
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: Build
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: mwester at dls.net


Host: x86 (32-bit) Fedora 7, with gfortran installed.  Build fails when
building gcc-cross_4.1.2, when running the mk-kinds-h.sh script.

Problem 1: For some reason, mpfr-native was not built, even though it was
listed as a dependecy in the bb file.

Problem 2: the mk-kinds-h.sh script cannot find libmpfr.so.1 because that
library is (or should be, see problem 1) in staging/i686-linux/lib, which is
not in the LD_LIBRARY_PATH.

I removed the redirection of stdout and stderr from the compilation lines
inside the mk-kinds-h.sh script, to make the problem more apparent.  Here's the
tail end of the log:

| make[2]: Entering directory
`/u/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-4.1.2-r11/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi/libgfortran'
| /bin/sh
/u/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-4.1.2-r11/gcc-4.1.2/libgfortran/mk-kinds-h.sh
'/u/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-4.1.2-r11/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/gfortran
-B/u/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-4.1.2-r11/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/
-isystem/u/moko/build/tmp/staging/i686-linux/include
-B/u/moko/build/tmp/cross/arm-angstrom-linux-gnueabi/bin/
-B/u/moko/build/tmp/cross/arm-angstrom-linux-gnueabi/lib/ -isystem
/u/moko/build/tmp/cross/arm-angstrom-linux-gnueabi/include -isystem
/u/moko/build/tmp/cross/arm-angstrom-linux-gnueabi/sys-include -I . -Wall
-fno-repack-arrays -fno-underscoring ' > kinds.h || rm kinds.h
|
/u/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-4.1.2-r11/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/f951:
error while loading shared libraries: libmpfr.so.1: cannot open shared object
file: No such file or directory
|
/u/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-4.1.2-r11/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/f951:
error while loading shared libraries: libmpfr.so.1: cannot open shared object
file: No such file or directory
|
/u/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-4.1.2-r11/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/f951:
error while loading shared libraries: libmpfr.so.1: cannot open shared object
file: No such file or directory
|
/u/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-4.1.2-r11/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/f951:
error while loading shared libraries: libmpfr.so.1: cannot open shared object
file: No such file or directory
|
/u/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-4.1.2-r11/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/f951:
error while loading shared libraries: libmpfr.so.1: cannot open shared object
file: No such file or directory
|
/u/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-4.1.2-r11/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/f951:
error while loading shared libraries: libmpfr.so.1: cannot open shared object
file: No such file or directory
|
/u/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-4.1.2-r11/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/f951:
error while loading shared libraries: libmpfr.so.1: cannot open shared object
file: No such file or directory
|
/u/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-4.1.2-r11/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/f951:
error while loading shared libraries: libmpfr.so.1: cannot open shared object
file: No such file or directory
|
/u/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-4.1.2-r11/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/f951:
error while loading shared libraries: libmpfr.so.1: cannot open shared object
file: No such file or directory
|
/u/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-4.1.2-r11/gcc-4.1.2/libgfortran/mk-kinds-h.sh:
Unknown type
| grep '^#' < kinds.h > kinds.inc
| /bin/sh: kinds.h: No such file or directory
| make[2]: *** [kinds.inc] Error 1
| make[2]: Leaving directory
`/u/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-4.1.2-r11/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi/libgfortran'
| make[1]: *** [all-target-libgfortran] Error 2
| make[1]: Leaving directory
`/u/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-4.1.2-r11/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/u/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-4.1.2-r11/temp/log.do_compile.19633
NOTE: package gcc-cross-4.1.2-r11: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gcc-cross-4.1.2: failed
ERROR: Build of /u/moko/openembedded/packages/gcc/gcc-cross_4.1.2.bb do_compile
failed
ERROR: Task 118 (/u/moko/openembedded/packages/gcc/gcc-cross_4.1.2.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 1017 tasks of which 1017 didn't need to be rerun
and 1 failed.
ERROR: '/u/moko/openembedded/packages/gcc/gcc-cross_4.1.2.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-issues mailing list