Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158495 - Better support for newlib targets (cell spu currently)
Summary: Better support for newlib targets (cell spu currently)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-18 14:10 UTC by Luca Barbato
Modified: 2006-12-22 05:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
append the right option to build newlib backed g++ (toolchain-newlib-fixup.patch,610 bytes, patch)
2006-12-18 14:12 UTC, Luca Barbato
Details | Diff
updated one (toolchain-newlib-fixup.patch,634 bytes, patch)
2006-12-18 17:16 UTC, Luca Barbato
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Barbato gentoo-dev 2006-12-18 14:10:07 UTC
gcc needs --with-newlib in order to build correctly g++ the attached patch does that.

yes, seems that *-elf is newlib in disguise...
Comment 1 Luca Barbato gentoo-dev 2006-12-18 14:12:24 UTC
Created attachment 104320 [details, diff]
append the right option to build newlib backed g++

as said before...
Comment 2 SpanKY gentoo-dev 2006-12-18 15:24:47 UTC
unfortunately, *-elf does not always imply newlib

also, you'll probably want to change gcc_do_configure() rather than gcc-compiler-configure()
Comment 3 Luca Barbato gentoo-dev 2006-12-18 17:16:38 UTC
Created attachment 104331 [details, diff]
updated one

this one maybe looks better (untested)
Comment 4 SpanKY gentoo-dev 2006-12-22 05:29:56 UTC
merged ... we'll worry about -elf toolchains w/out newlib when it comes up