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

Bug 340625

Summary: sys-devel/binutils-2.20.1-r1 fails on mips with USE="vanilla" flag ?
Product: Gentoo Linux Reporter: Andrew Randrianasulu <randrik>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: MIPS   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
environment file
eclass-debug log
elibtool
config.log from opcodes sub-dir.
config.log from binutils's build directory, top level.
list of packages i'm currently trying to emerge

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.