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

Bug 235489

Summary: sys-devel/crossdev - crossdev -t arm-elf fails on newlib-headers
Product: Gentoo Linux Reporter: Jason B. Alonso <jalonso>
Component: [OLD] DevelopmentAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: crossdev report of -t arm-elf configuration
crossdev-managed emerge log showing a successful binutils build for arm-elf
crossdev-managed emerge log showing a failed build of newlib-headers for arm-elf
tail end of activity from a manual invocation of emerge -av cross-arm-elf/gcc

Description Jason B. Alonso 2008-08-22 22:27:17 UTC
crossdev -t arm-elf succeeds on building binutils, but then fails to build newlib-headers.

Inspection of the error indicates that newlib-headers wants arm-elf-cc (which is not yet compiled).  I attempted to circumnavigate the problem by emerging cross-arm-elf/gcc, but it fails as well, apparently on a lack of header files.  As such, this looks kinda like a chicken-and-egg problem.

I'm still experimenting with ways to get arm-elf-cc built before newlib-headers, but methinks "crossdev -t arm-elf" should DTRT (ergo a bug report).

Logs to be attached.
Comment 1 Jason B. Alonso 2008-08-22 22:31:29 UTC
Created attachment 163576 [details]
crossdev report of -t arm-elf configuration

The astute reader will notice that crossdev is working out of one of my layman overlays.  It's annoying (and I've fixed it since the logging), but it should be inconsequential to the bug.
Comment 2 Jason B. Alonso 2008-08-22 22:32:46 UTC
Created attachment 163577 [details]
crossdev-managed emerge log showing a successful binutils build for arm-elf
Comment 3 Jason B. Alonso 2008-08-22 22:33:33 UTC
Created attachment 163578 [details]
crossdev-managed emerge log showing a failed build of newlib-headers for arm-elf
Comment 4 Jason B. Alonso 2008-08-22 22:43:31 UTC
Created attachment 163580 [details]
tail end of activity from a manual invocation of emerge -av cross-arm-elf/gcc
Comment 5 SpanKY gentoo-dev 2008-08-25 19:58:17 UTC

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