Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 598094

Summary: sys-devel/gcc-5.4: emerging cross-gcc-stage1 fails with arm-unknown-linux-gnu: *** Configuration arm-unknown-linux-gnu not supported
Product: Gentoo Linux Reporter: Coacher <itumaykin+gentoo>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info (build system)
cross-arm-unknown-linux-gnu-info.log
cross-arm-unknown-linux-gnu-gcc-stage1.log.xz
gcc-5.4.0/temp/gcc-config.logs.tar.xz

Description Coacher 2016-10-25 18:55:24 UTC
Created attachment 451442 [details]
emerge --info (build system)

Hello.

'crossdev --target arm-unknown-linux-gnu' fails on ~amd64:
 * crossdev version:      8b1b79e02cc36bc6f2b5583db6aeea333fb8d59b
 * Host Portage ARCH:     amd64
 * Target Portage ARCH:   arm
 * Target System:         arm-unknown-linux-gnu
 * Stage:                 4 (C/C++ compiler)
 * ABIs:                  default

 * binutils:              binutils-[latest]
 * gcc:                   gcc-[latest]
 * headers:               linux-headers-[latest]
 * libc:                  glibc-[latest]

 * CROSSDEV_OVERLAY:      /usr/local/portage-crossdev
 * PORT_LOGDIR:           /var/log/portage
 * PORTAGE_CONFIGROOT:
 * Portage flags:
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~
 * leaving metadata/layout.conf alone in /usr/local/portage-crossdev
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~
 * Log: /var/log/portage/cross-arm-unknown-linux-gnu-binutils.log
 * Emerging cross-binutils ...                                                                                                                                               [ ok ]
 * Log: /var/log/portage/cross-arm-unknown-linux-gnu-linux-headers-quick.log
 * Emerging cross-linux-headers-quick ...                                                                                                                                    [ ok ]
 * Log: /var/log/portage/cross-arm-unknown-linux-gnu-glibc-headers.log
 * Emerging cross-glibc-headers ...                                                                                                                                          [ ok ]
 * Log: /var/log/portage/cross-arm-unknown-linux-gnu-gcc-stage1.log
 * Emerging cross-gcc-stage1 ...

 * error: gcc failed :(


Please fix.
Comment 1 Coacher 2016-10-25 18:56:21 UTC
Created attachment 451444 [details]
cross-arm-unknown-linux-gnu-info.log
Comment 2 Coacher 2016-10-25 18:57:14 UTC
Created attachment 451446 [details]
cross-arm-unknown-linux-gnu-gcc-stage1.log.xz
Comment 3 Coacher 2016-10-25 18:59:09 UTC
Created attachment 451448 [details]
gcc-5.4.0/temp/gcc-config.logs.tar.xz
Comment 4 Coacher 2016-10-26 13:07:59 UTC
It works without changing any configuration like this:
crossdev --target arm-unknown-linux-gnueabi
Comment 5 Benda Xu gentoo-dev 2016-10-27 05:40:03 UTC
Thanks for investigating this.  Your report will be very useful to other users falling in this trap.
Comment 6 SpanKY gentoo-dev 2016-11-11 22:12:23 UTC

*** This bug has been marked as a duplicate of bug 596784 ***