Summary: | sys-devel/gcc-4.8.2: cross-compiling a native compiler fails - ./build-x86_64-pc-linux-gnu/fixincludes/configure: gcc-config: error: could not run/locate 'gcc' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | fkhp <fkhp101> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 627914 | ||
Attachments: |
crossdev-emerge-info
gcc-build.log gcc-build-configure-logs.tar.bz2 |
Description
fkhp
2013-12-09 11:32:55 UTC
Created attachment 365004 [details]
crossdev-emerge-info
Created attachment 365006 [details]
gcc-build.log
Created attachment 365008 [details]
gcc-build-configure-logs.tar.bz2
ARCH=arm set in /usr/armv7a-hardfloat-linux-gnueabi/etc/portage/make.conf seems not have effect for the armv7a-hardfloat-linux-gnueabi-emerge wrapper. err, what is failing exactly ? the `crossdev` is working, but when you try to run the `$CTARGET-emerge sys-devel/gcc`, it fails ? it is probobly the crossdev wrapper for emerge not work as expected: 1. it seem the wrapper does not use the setting of ARCH,HOST,BUILD defined in the the crossdev default make.conf file. 2. it seem the wrapper does not use the setting of ARCH,HOST,BUILD defined in the the command line for some components' configure running. (In reply to SpanKY from comment #5) > err, what is failing exactly ? the `crossdev` is working, but when you try > to run the `$CTARGET-emerge sys-devel/gcc`, it fails ? maybe the crossdev wrapper armv7a-hardfloat-linux-gnueabi-emerge not work as expected (In reply to fkhp from comment #6) you didn't answer my question. what is failing ? is it `crossdev` or the `emerge sys-devel/gcc` ? (In reply to SpanKY from comment #8) > (In reply to fkhp from comment #6) > > you didn't answer my question. what is failing ? is it `crossdev` or the > `emerge sys-devel/gcc` ? the following command failed: USE="cxx nls nossp nptl openmp" CBUILD=x86_64-pc-linux-gnu CHOST=armv7a-hardfloat-linux-gnueabi ARCH=arm armv7a-hardfloat-linux-gnueabi-emerge -av sys-devel/gcc "armv7a-hardfloat-linux-gnueabi-emerge -av sys-devel/gcc" failed but no problem with "emerge -av sys-devel/gcc" . Do you still have this problem with current gcc ? no problem now (In reply to Andreas K. Hüttel from comment #11) > Do you still have this problem with current gcc ? (In reply to fkhp from comment #12) > no problem now OK closing then. Thanks! |