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

Bug 596784

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: miro.rovis
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED INVALID    
Severity: normal CC: embedded, itumaykin+gentoo, miro.rovis
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: the Makefile mentioned
energe --info
emerge -pqv
cross-arm-unknown-linux-gnu-info.log
gcc-build-logs.tar.bz2
cross-arm-unknown-linux-gnu-gcc-stage1.log.xz

Description miro.rovis 2016-10-10 16:39:28 UTC
Created attachment 449762 [details]
the Makefile mentioned

It fails at (all is in the attachments):

checking for struct tms... yes
checking for clock_t... yes
checking for F_SETLKW... yes
checking if mkdir takes one argument... no
*** Configuration arm-unknown-linux-gnu not supported
make[1]: *** [Makefile:4046: configure-gcc] Error 1
make[1]: Leaving directory '/var/tmp/portage/cross-arm-unknown-linux-gnu/gcc-5.4.0/work/build'
make: *** [Makefile:853: all] Error 2
 * ERROR: cross-arm-unknown-linux-gnu/gcc-5.4.0::miro failed (compile phase):
 *   emake failed
 *

[fails at] line 4046. The Makefile attached, lines 4042-4053 of which are:

.PHONY: configure-gcc maybe-configure-gcc
maybe-configure-gcc:
maybe-configure-gcc: configure-gcc
configure-gcc:
    @r=`${PWD_COMMAND}`; export r; \
    s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
    test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
    $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
    $(HOST_EXPORTS)  \
    echo Configuring in $(HOST_SUBDIR)/gcc; \
    cd "$(HOST_SUBDIR)/gcc" || exit 1; \
    case $(srcdir) in \

That is:

/var/tmp/portage/cross-arm-unknown-linux-gnu/gcc-5.4.0/work/build/Makefile

included as Makefile.xz
(Not that I have any more of a clue then where it fails...).
It fails consistently. Tried three times over. This is the most recent try,
after update of the system.

All the necessary attachments to follow.
Comment 1 miro.rovis 2016-10-10 16:41:20 UTC
Created attachment 449764 [details]
energe --info
Comment 2 miro.rovis 2016-10-10 16:41:53 UTC
Created attachment 449766 [details]
emerge -pqv
Comment 3 miro.rovis 2016-10-10 16:44:10 UTC
Created attachment 449768 [details]
cross-arm-unknown-linux-gnu-info.log
Comment 4 miro.rovis 2016-10-10 16:47:51 UTC
Created attachment 449770 [details]
gcc-build-logs.tar.bz2
Comment 5 miro.rovis 2016-10-10 16:48:55 UTC
Created attachment 449772 [details]
cross-arm-unknown-linux-gnu-gcc-stage1.log.xz
Comment 6 SpanKY gentoo-dev 2016-11-11 22:12:23 UTC
*** Bug 598094 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2016-11-11 22:13:02 UTC
arm-linux-gnu is OABI which is deprecated.  use arm-linux-gnueabi to get EABI.