Bug 2992 - gmp failing due to missing libgcc_s.so.1
Summary: gmp failing due to missing libgcc_s.so.1
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.3 M4
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard: (autobuilder) Patch out for review
Depends on:
Blocks:
 
Reported: 2012-08-22 16:09 UTC by Ross Burton
Modified: 2012-09-28 09:52 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Burton 2012-08-22 16:09:31 UTC
On the autobuilder, gmp is failing:

http://autobuilder.yoctoproject.org:8010/builders/nightly-non-gpl3/builds/226/steps/shell_23/logs/stdio


Log data follows:
| i586-poky-linux-gcc  -m32   -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86 `test -f 'gen-bases.c' || echo './'`gen-bases.c -o gen-bases -lm
| i586-poky-linux-gcc  -m32   -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86 `test -f 'gen-psqr.c' || echo './'`gen-psqr.c -o gen-psqr -lm
| ./gen-fac_ui 32 0 >mpz/fac_ui.h || (rm -f mpz/fac_ui.h; exit 1)
| ./gen-bases header 32 0 >mp_bases.h || (rm -f mp_bases.h; exit 1)
| ./gen-bases table 32 0 >mpn/mp_bases.c || (rm -f mpn/mp_bases.c; exit 1)
| ./gen-fib header 32 0 >fib_table.h || (rm -f fib_table.h; exit 1)
| ./gen-bases: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
| ./gen-bases: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
| ./gen-fib table 32 0 >mpn/fib_table.c || (rm -f mpn/fib_table.c; exit 1)
| make: *** [mp_bases.h] Error 1
| make: *** Waiting for unfinished jobs....
| make: *** [mpn/mp_bases.c] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/work/i586-poky-linux/gmp-4.2.1-r2/temp/log.do_compile.5650 for further information)
NOTE: recipe gmp-4.2.1-r2: task do_compile: Failed
ERROR: Task 1560 (/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/meta/recipes-support/gmp/gmp_4.2.1.bb, do_compile) failed with exit code '1'

Assigning to Khem as he's been playing with the toolchain.
Comment 1 Richard Purdie 2012-08-22 18:30:36 UTC
I've sent a patch out which fixes this.
Comment 3 Alexandru Palalau 2012-09-28 09:52:29 UTC
Verified on master branch with latest commit ID:
a8c78aa835b06578759c4ca170f759928bac3efd