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

Bug 593364 (function-calls-in-global-scope)

Summary: [TRACKER] Runtime-variable functions called in global scope
Product: Quality Assurance Reporter: Michał Górny <mgorny>
Component: TrackersAssignee: Gentoo Quality Assurance Team <qa>
Status: CONFIRMED ---    
Severity: normal CC: sam
Priority: Normal Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=263899
https://bugs.gentoo.org/show_bug.cgi?id=520528
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 593366, 593368, 593370, 593372, 593374, 593376, 593378, 593380, 593382, 593384, 593386, 593388, 593390, 593392, 593394, 593396, 593398, 593400, 593402, 593404, 593406, 593408, 593410, 593412, 593414, 593416, 593418, 593420, 593422, 593424, 593426, 593428, 593430, 593432, 788067, 788070    
Bug Blocks:    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-09-10 10:38:26 UTC
Calls noticed so far:

- tc_getCXX,
- get_libdir,
- get_libname.

Those functions should not be called in global scope since their output depends on profile and/or system configuration.