Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340625 - sys-devel/binutils-2.20.1-r1 fails on mips with USE="vanilla" flag ?
Summary: sys-devel/binutils-2.20.1-r1 fails on mips with USE="vanilla" flag ?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: MIPS Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 05:14 UTC by Andrew Randrianasulu
Modified: 2010-10-16 21:07 UTC (History)
0 users

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


Attachments
build log (build.log,170.92 KB, text/plain)
2010-10-12 05:15 UTC, Andrew Randrianasulu
Details
environment file (environment,131.32 KB, text/plain)
2010-10-12 05:15 UTC, Andrew Randrianasulu
Details
eclass-debug log (eclass-debug.log,1.82 KB, text/plain)
2010-10-12 05:15 UTC, Andrew Randrianasulu
Details
elibtool (elibtool.log,183 bytes, text/plain)
2010-10-12 05:16 UTC, Andrew Randrianasulu
Details
config.log from opcodes sub-dir. (config.log,9.33 KB, text/plain)
2010-10-12 05:17 UTC, Andrew Randrianasulu
Details
config.log from binutils's build directory, top level. (config.log,29.68 KB, text/plain)
2010-10-12 05:17 UTC, Andrew Randrianasulu
Details
list of packages i'm currently trying to emerge (system_list_12_10_2010_sgio2,6.11 KB, text/plain)
2010-10-12 07:30 UTC, Andrew Randrianasulu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Randrianasulu 2010-10-12 05:14:22 UTC
You can say i did it completely wrong, but after some partial upgrades, i decided to test "emerge system", and added USE="vanilla", without much thinking (it turned out this flag accepted not only by gcc, binutils, libtool - but also by bash, coreutils ...). After some 18h of compiling emerge bail out with error. Ld segfaulted in compiler test  in opcodes subdir. I have logs and will post them as attachments. But not sure if building (re-building, in my case) system with USE=vanilla is supported in any way, especially if mixed with ccache ? People with faster mips hardware  can test, if their system can build vanilla binutils package, and if this package fully-functional .... ? 

Reproducible: Didn't try

Steps to Reproduce:
1. Try to USE="vanilla" emerge system (not 'emerge -e system')


Actual Results:  
It will fail, probably, at binutils compilation.

Expected Results:  
Bail out, if  building unpatched  toolchain component(s) aren't supported on this platform.
Comment 1 Andrew Randrianasulu 2010-10-12 05:15:07 UTC
Created attachment 250315 [details]
build log
Comment 2 Andrew Randrianasulu 2010-10-12 05:15:31 UTC
Created attachment 250317 [details]
environment file
Comment 3 Andrew Randrianasulu 2010-10-12 05:15:55 UTC
Created attachment 250319 [details]
eclass-debug log
Comment 4 Andrew Randrianasulu 2010-10-12 05:16:16 UTC
Created attachment 250321 [details]
elibtool
Comment 5 Andrew Randrianasulu 2010-10-12 05:17:00 UTC
Created attachment 250323 [details]
config.log from opcodes sub-dir.
Comment 6 Andrew Randrianasulu 2010-10-12 05:17:45 UTC
Created attachment 250325 [details]
config.log from binutils's build directory, top level.
Comment 7 Andrew Randrianasulu 2010-10-12 07:30:28 UTC
Created attachment 250333 [details]
list of packages i'm currently trying to emerge

As you can see, 'emerge -e system' adds few more updates (compared to just emerge system), some of them can be important for building binutils later. 


List was captured with 'emerge -pe system > system_list 2>&1' Note some packages  were compiled with "vanilla" USE flag during failed 'emerge system' run.

I'll update this bug when 1) emerge finished or 2) failed at some point
Comment 8 SpanKY gentoo-dev 2010-10-16 21:07:47 UTC
global USE=vanilla in make.conf is not supported.  you should be picking this only for packages where you actually understand the consequences.  sometimes we apply patches when USE=-vanilla that fix upstream problems.