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

Bug 509966

Summary: Empty GCC_SPECS="" overrides "Forced --as-needed" instructions.
Product: Gentoo Linux Reporter: Tom Wijsman (TomWij) (RETIRED) <tomwij>
Component: [OLD] UnspecifiedAssignee: Gentoo Quality Assurance Team <qa>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://wiki.gentoo.org/wiki/Project:Quality_Assurance/As-needed#Forced_--as-needed
Whiteboard:
Package list:
Runtime testing required: ---

Description Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-05-10 13:19:27 UTC
When executing the instructions from URL, I get as a result:

 # grep -n GCC_SPECS /etc/env.d/gcc/x86_64-pc-linux-gnu-4.8.2-asneeded
1:GCC_SPECS=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/asneeded.specs     
7:GCC_SPECS=""                                                        

Either GCC_SPECS="" needs to be removed _or_ the instructions on the URL need to be updated; in particular, I'd like to know two things before proceeding:

1. Does GCC_SPECS support multiple spec files?
2. Should the QA instructions respect the GCC_SPECS variable or overwrite it?

Thank you very much in advance.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2014-05-12 02:27:47 UTC
1. Yes, separated by ':'.  See gcc/${FILESDIR}/gcc-spec-env-r1.patch.
Comment 2 SpanKY gentoo-dev 2015-08-21 21:41:11 UTC
it's a wiki, so just make the updates to it you think are appropriate.  not a bug on the toolchain side afaict.