Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509966 - Empty GCC_SPECS="" overrides "Forced --as-needed" instructions.
Summary: Empty GCC_SPECS="" overrides "Forced --as-needed" instructions.
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Quality Assurance Team
URL: https://wiki.gentoo.org/wiki/Project:...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-10 13:19 UTC by Tom Wijsman (TomWij) (RETIRED)
Modified: 2015-08-21 21:41 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.