Summary: | [sage-on-gentoo] cross-armv7a-hardfloat-linux-gnueabi/gcc-4.9.3 - checking for suffix of object files... configure: error: in `/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-4.9.3/work/build/armv7a-hardfloat-linux-gnueabi/libgcc' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | alexander |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
cross-armv7a-hardfloat-linux-gnueabi/gcc-4.9.3/work/build/armv7a-hardfloat-linux-gnueabi/libgcc/config.log
build.log environment gcc-build-logs.tar.bz2 |
Description
Juergen Rose
2015-11-01 08:44:23 UTC
Created attachment 415850 [details]
build.log
Created attachment 415852 [details]
environment
Maybe this is the same bug as already reported at https://bugs.gentoo.org/show_bug.cgi?id=564580 . Created attachment 415854 [details]
gcc-build-logs.tar.bz2
This issue is not related to sage-on-gentoo overlay. The latter is just a random overlay chosen by crossdev. Probably a dupe of bug #562460 (In reply to Alexander Tsoy from comment #5) > This issue is not related to sage-on-gentoo overlay. The latter is just a > random overlay chosen by crossdev. > > Probably a dupe of bug #562460 I applied the binutils-config patch from bug #562460 : root@lynx:/root(22)# emerge -pvD binutils-config These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-devel/binutils-config-5-r2::local 0 KiB root@lynx:/root(26)# diff /usr/bin/binutils-config /usr/local/portage/sys-devel/binutils-config/files/binutils-config-5 root@lynx:/root(27)# diff /usr/bin/binutils-config /usr/portage/sys-devel/binutils-config/files/binutils-config-5 153,157d152 < if [[ ${TARGET} != ${HOST} ]] ; then < for x in lib* ; do < atomic_ln "${LIBPATH}/${x}" "${dstlib}" "${x}" < done < fi But nevertheless 'emerge -v @world' fails with: ... checking for armv7a-hardfloat-linux-gnueabi-gcc... /var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-4.9.3/work/build/./gcc/xgcc -B/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-4.9.3/work/build/./gcc/ -B/usr/armv7a-hardfloat-linux-gnueabi/bin/ -B/usr/armv7a-hardfloat-linux-gnueabi/lib/ -isystem /usr/armv7a-hardfloat-linux-gnueabi/include -isystem /usr/armv7a-hardfloat-linux-gnueabi/sys-include checking for suffix of object files... configure: error: in `/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-4.9.3/work/build/armv7a-hardfloat-linux-gnueabi/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. Makefile:9790: recipe for target 'configure-target-libgcc' failed (In reply to Juergen Rose from comment #6) Check lib* symlinks under /usr/x86_64-pc-linux-gnu/armv7a-hardfloat-linux-gnueabi/lib/. You probably need to reemerge cross binutils or rerun binutils-config (something like "binutils-config armv7a-hardfloat-linux-gnueabi-2.25.1") assuming this is bug 562460. you should: - sync - update binutils-config to latest - reset the build, e.g. `crossdev -C target` - try again if it still fails, re-open with new logs *** This bug has been marked as a duplicate of bug 562460 *** |