| Summary: | sys-devel/gcc-4.8.1-r1 - error: in `/var/tmp/portage/sys-devel/gcc-4.8.1-r1/work/build/x86_64-pc-linux-gnu/32/libquadmath' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
| Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
bzip2ed build.log
/var/tmp/portage/sys-devel/gcc-4.8.1-r1/work/build/gcc-build-logs.tar.bz2 |
||
|
Description
Juergen Rose
2013-10-13 22:34:11 UTC
"Please include /var/tmp/portage/sys-devel/gcc-4.8.1-r1/work/build/gcc-build-logs.tar.bz2 in your bug report" Created attachment 360848 [details]
/var/tmp/portage/sys-devel/gcc-4.8.1-r1/work/build/gcc-build-logs.tar.bz2
*** Bug 488458 has been marked as a duplicate of this bug. *** I still find a config.log file in the /var/tmp/portage/sys-devel/gcc-4.8.1-r1/work/build/x86_64-pc-linux-gnu/32/libquadmath directory. There I find the following lines: configure:3248: /var/tmp/portage/sys-devel/gcc-4.8.1-r1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.8.1-r1/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -m32 -V >&5 xgcc: error: unrecognized command line option '-V' xgcc: fatal error: no input files compilation terminated. configure:3259: $? = 1 configure:3248: /var/tmp/portage/sys-devel/gcc-4.8.1-r1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.8.1-r1/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -m32 -qversion >&5 xgcc: error: unrecognized command line option '-qversion' xgcc: fatal error: no input files compilation terminated. configure:3259: $? = 1 configure:3275: /var/tmp/portage/sys-devel/gcc-4.8.1-r1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.8.1-r1/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -m32 -o conftest -g -march=native -O2 -pipe conftest.c >&5 configure:3278: $? = 0 configure:3307: checking for C compiler default output file name configure:3329: /var/tmp/portage/sys-devel/gcc-4.8.1-r1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.8.1-r1/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -m32 -g -march=native -O2 -pipe conftest.c >&5 configure:3333: $? = 0 configure:3370: result: a.out configure:3386: checking whether the C compiler works configure:3395: ./a.out /var/tmp/portage/sys-devel/gcc-4.8.1-r1/work/gcc-4.8.1/libquadmath/configure: line 3397: ./a.out: No such file or directory configure:3399: $? = 127 configure:3406: error: in `/var/tmp/portage/sys-devel/gcc-4.8.1-r1/work/build/x86_64-pc-linux-gnu/32/libquadmath': configure:3410: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. Any idea, what is here wrong? Btw, I can not find any conftest.c under /var/tmp/portage/sys-devel/gcc-4.8.1-r1: root@condor:/root(23)# find /var/tmp/portage/sys-devel/gcc-4.8.1-r1/ -name conftest.c root@condor:/root(24)# does this work:
$ echo 'main(){}' > test.c
$ gcc -m32 test.c
$ ./a.out
(In reply to SpanKY from comment #6) > does this work: > $ echo 'main(){}' > test.c > $ gcc -m32 test.c > $ ./a.out No, it does not work: root@condor:/root(1)# echo 'main(){}' > test.c root@condor:/root(2)# gcc -m32 test.c root@condor:/root(3)# ./a.out -bash: ./a.out: No such file or directory root@condor:/root(6)# ll a.out -rwxr-xr-x 1 root root 6886 Oct 19 11:02 a.out* root@condor:/root(7)# zgrep 32 /proc/config.gz CONFIG_ZONE_DMA32=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_NR_CPUS=32 CONFIG_IA32_EMULATION=y # CONFIG_IA32_AOUT is not set CONFIG_X86_X32=y # CONFIG_NF_CONNTRACK_H323 is not set # CONFIG_NETFILTER_XT_MATCH_U32 is not set # CONFIG_NF_NAT_H323 is not set # CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set # CONFIG_ICS932S401 is not set CONFIG_AIC7XXX_CMDS_PER_DEVICE=32 CONFIG_AIC79XX_CMDS_PER_DEVICE=32 # CONFIG_PATA_NINJA32 is not set # CONFIG_USB_ALI_M5632 is not set CONFIG_SERIAL_8250_NR_UARTS=32 # CONFIG_MFD_RDC321X is not set # CONFIG_REGULATOR_TPS51632 is not set CONFIG_SND_MAX_CARDS=32 # CONFIG_SND_AZT3328 is not set CONFIG_SND_HDA_CODEC_CA0132=y # CONFIG_SND_HDA_CODEC_CA0132_DSP is not set # CONFIG_SND_RME32 is not set # CONFIG_USB_SERIAL_F81232 is not set # CONFIG_USB_SERIAL_MCT_U232 is not set # CONFIG_RTC_DRV_DS3232 is not set # CONFIG_RTC_DRV_BQ32K is not set # CONFIG_NLS_CODEPAGE_932 is not set CONFIG_CRYPTO_CRC32C=y # CONFIG_CRYPTO_CRC32C_INTEL is not set # CONFIG_CRYPTO_CRC32 is not set # CONFIG_CRYPTO_CRC32_PCLMUL is not set # CONFIG_CRYPTO_RMD320 is not set CONFIG_CRC32=y # CONFIG_CRC32_SELFTEST is not set CONFIG_CRC32_SLICEBY8=y # CONFIG_CRC32_SLICEBY4 is not set # CONFIG_CRC32_SARWATE is not set # CONFIG_CRC32_BIT is not set CONFIG_LIBCRC32C=y I suppose this issue and bug https://bugs.gentoo.org/show_bug.cgi?id=487886 have the same reason. (In reply to Juergen Rose from comment #7) > (In reply to SpanKY from comment #6) > > does this work: > > $ echo 'main(){}' > test.c > > $ gcc -m32 test.c > > $ ./a.out > > No, it does not work: > > root@condor:/root(1)# echo 'main(){}' > test.c > root@condor:/root(2)# gcc -m32 test.c > root@condor:/root(3)# ./a.out > -bash: ./a.out: No such file or directory > > root@condor:/root(6)# ll a.out > -rwxr-xr-x 1 root root 6886 Oct 19 11:02 a.out* root@condor:/usr/src(38)# ldd a.out not a dynamic executable root@condor:/usr/src(39)# file a.out a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped At working systems I see: root@impala:/root(25)# ldd a.out linux-gate.so.1 (0xf7715000) libc.so.6 => /lib32/libc.so.6 (0xf74c1000) /lib/ld-linux.so.2 (0xf76f5000) At "condor" I cant find /lib/ld-linux.so.2 and /lib32/libc-2.17.so differs drastically in size from that on working system: root@condor:/usr/src(40)# ll /lib/ld-linux.so.2 /bin/ls: cannot access /lib/ld-linux.so.2: No such file or directory root@condor:/usr/src(41)# ll /lib32/libc.so.6 lrwxrwxrwx 1 root root 12 Apr 13 2013 /lib32/libc.so.6 -> libc-2.17.so* root@condor:/usr/src(42)# ll /lib32/libc-2.17.so -rwxr-xr-x 1 root root 1754464 Apr 13 2013 /lib32/libc-2.17.so* At a working system: root@impala:/root(33)# ll /lib/ld-linux.so.2 lrwxrwxrwx 1 root root 22 Jul 21 20:35 /lib/ld-linux.so.2 -> ../lib32/ld-linux.so.2* root@impala:/root(34)# ll /lib32/libc-2.17.so -rwxr-xr-x 1 root root 9630601 Jul 21 20:33 /lib32/libc-2.17.so* But I try to reemerge glibc-2.17 on condor it fails with a similar error: CPP='x86_64-pc-linux-gnu-gcc -m32 -E -x c-header' /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.T /bin/sh: /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp] Error 127 make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17/sunrpc' make[1]: *** [sunrpc/others] Error 2 root@condor:/usr/src(43)# ll /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen -rwxr-xr-x 1 portage portage 101380 Oct 19 13:10 /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen* root@condor:/usr/src(44)# file /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped What can I do? After creating manually the /lib/ld-linux.so.2 I could again emerge glibc-2.17. And now gcc-4.8.1-r1 was emerged. *** Bug 487886 has been marked as a duplicate of this bug. *** |