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

Bug 129413 (as-needed)

Summary: [TRACKER] LDFLAGS="-Wl,--as-needed" support
Product: Gentoo Linux Reporter: Josh Nichols (RETIRED) <nichoj>
Component: Current packagesAssignee: Gentoo Quality Assurance Team <qa>
Status: CONFIRMED ---    
Severity: normal CC: adaptee, bertrand, binki, compnerd, esigra, gengor, gpp666_999, idl0r, jacobgodserv, jakub, jer, jmbsvicetto, jrmalaq, kanelxake, kripton, le.petit.fou, leio, Martin.Jansa, matrixhax0r, n-roeser, nikoli, oahong, pacho, pauldv, rockoo, sam, tdalman, thoward1120, toffanin.mauro, zephyrus.271
Priority: High Keywords: Tracker
Version: 2005.1   
Hardware: All   
OS: Linux   
URL: https://wiki.gentoo.org/wiki/Project:Quality_Assurance/As-needed
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 226863, 247844, 719314, 719320, 115603, 116458, 118311, 122128, 122638, 126689, 128443, 128466, 128480, 128505, 128558, 128564, 128575, 128605, 128675, 128794, 128904, 129005, 129112, 129230, 129438, 129472, 129906, 129907, 130053, 130091, 130199, 130309, 130464, 130735, 130779, 130796, 130806, 131252, 131256, 131335, 131416, 131486, 131670, 131698, 131700, 131796, 131813, 131837, 131839, 131840, 131841, 131842, 131843, 131844, 131848, 131849, 131850, 131896, 131903, 131951, 132023, 132045, 132155, 132171, 132292, 132473, 132477, 132483, 132484, 132493, 132511, 132544, 132556, 132558, 132563, 132567, 132910, 132992, 133262, 133458, 133517, 133818, 133819, 133820, 133821, 133823, 133824, 133826, 133828, 134063, 134461, 134978, 135140, 135145, 135152, 135246, 135599, 135763, 135773, 136028, 136046, 136489, 136568, 137789, 137809, 138065, 138106, 138258, 138488, 138846, 138922, 139393, 139585, 140179, 140248, 140255, 140588, 140810, 140972, 141561, 141635, 141707, 141709, 142230, 142353, 142893, 143548, 143580, 144130, 144382, 144656, 144896, 145242, 145652, 145684, 145831, 145859, 145992, 146064, 146543, 146722, 147183, 147473, 147731, 148040, 148412, 148538, 148752, 149653, 149675, 149676, 150317, 151307, 151444, 151908, 151996, 152393, 152654, 152679, 153138, 154009, 154022, 154059, 154148, 154177, 154280, 154453, 154761, 155520, 155587, 155727, 155930, 157188, 157893, 158502, 158737, 159068, 159754, 160295, 160421, 160525, 160543, 160547, 160643, 160645, 161968, 162640, 164015, 164777, 165125, 165434, 166319, 167438, 168207, 168427, 168769, 169650, 169661, 170224, 170754, 171391, 172147, 172827, 173048, 174358, 174557, 176121, 176264, 176755, 177614, 178661, 179819, 180381, 182324, 182450, 182775, 182782, 182784, 184033, 186304, 186817, 187318, 187524, 187534, 187697, 188615, 189207, 189238, 189817, 190180, 193885, 194127, 195132, 195144, 196422, 197017, 197694, 199835, 201493, 201786, 202059, 202257, 203157, 205388, 206746, 206817, 207304, 207605, 207638, 207749, 208212, 208626, 208741, 209274, 209475, 210506, 210624, 210998, 211157, 212679, 212970, 215085, 220233, 220351, 221817, 222639, 224251, 225117, 225211, 225259, 225931, 226837, 228599, 231772, 232416, 232592, 232757, 235004, 235989, 236370, 238262, 240532, 241946, 244547, 246719, 246726, 246729, 246755, 246858, 246859, 246860, 246862, 246865, 246867, 246869, 246871, 246873, 246875, 246876, 246877, 246879, 246880, 246881, 246882, 246890, 246895, 246897, 246898, 246900, 246901, 246902, 246903, 246904, 246905, 246907, 246910, 246914, 246916, 246951, 246958, 246960, 246961, 246970, 247001, 247003, 247006, 247007, 247013, 247043, 247050, 247053, 247054, 247067, 247073, 247082, 247088, 247206, 247245, 247251, 247256, 247258, 247283, 247284, 247285, 247295, 247297, 247299, 247300, 247301, 247303, 247304, 247306, 247331, 247334, 247336, 247338, 247340, 247350, 247352, 247353, 247356, 247373, 247415, 247416, 247418, 247420, 247422, 247430, 247437, 247443, 247444, 247446, 247448, 247452, 247463, 247470, 247471, 247472, 247473, 247489, 247490, 247496, 247508, 247511, 247514, 247521, 247712, 247715, 247721, 247724, 247727, 247729, 247735, 247739, 247741, 247748, 247761, 247768, 247775, 247777, 247779, 247807, 247814, 247821, 247822, 247823, 247832, 247834, 247836, 247863, 247865, 247866, 247869, 247871, 247904, 247905, 247908, 247909, 247916, 247919, 247924, 247926, 247928, 247930, 247931, 247937, 247943, 247960, 247969, 247991, 247993, 248006, 248009, 248013, 248015, 248016, 248017, 248019, 248029, 248070, 248074, 248075, 248082, 248090, 248101, 248138, 248140, 248142, 248143, 248145, 248147, 248148, 248150, 248152, 248159, 248163, 248169, 248171, 248190, 248195, 248197, 248227, 248340, 248345, 248350, 248351, 248355, 248356, 248357, 248359, 248364, 248367, 248371, 248374, 248380, 248389, 248391, 248397, 248398, 248403, 248406, 248409, 248411, 248417, 248437, 248438, 248444, 248482, 248483, 248484, 248488, 248537, 248546, 248548, 248549, 248551, 248552, 248555, 248556, 248569, 248573, 248576, 248577, 248579, 248580, 248586, 248595, 248605, 248615, 248616, 248618, 248620, 248639, 248640, 248641, 248642, 248643, 248645, 248648, 248650, 248652, 248655, 248678, 248686, 249295, 249359, 249450, 249507, 249510, 249638, 250068, 250072, 250085, 250089, 250169, 250170, 250172, 250173, 250175, 250374, 250626, 251141, 251143, 251809, 254462, 254852, 255494, 255656, 256443, 256521, 257918, 258313, 259569, 260226, 264073, 264662, 265643, 266593, 269513, 269843, 271326, 271509, 271818, 272242, 272274, 272419, 272575, 272653, 272657, 272765, 273018, 274074, 274211, 274385, 274700, 276250, 276266, 276272, 276276, 276285, 276286, 276295, 276302, 276325, 276446, 276496, 276506, 276560, 276571, 276665, 276758, 276796, 276809, 276873, 276885, 276898, 277029, 277031, 277050, 277145, 277149, 277169, 277182, 277206, 277227, 277411, 277420, 277576, 277581, 277640, 277655, 277656, 277675, 277737, 277767, 277769, 277778, 277794, 277925, 277938, 278069, 278083, 278086, 278100, 278104, 278135, 278158, 278159, 278198, 278242, 278310, 278422, 278425, 278437, 278608, 279130, 279655, 280170, 280678, 280705, 280922, 282426, 283162, 284921, 284924, 285747, 286662, 286771, 288833, 291315, 294177, 294358, 294396, 294682, 294738, 294834, 294878, 294885, 294971, 295165, 295191, 295199, 295827, 296550, 296614, 296631, 296656, 296999, 297025, 297193, 297409, 297638, 298000, 298144, 298152, 298744, 299077, 299464, 299478, 300515, 301002, 305449, 305547, 306387, 306457, 308387, 310087, 310439, 310727, 313083, 313165, 313361, 313369, 313673, 313837, 314095, 315045, 315213, 316729, 317905, 318135, 318139, 318481, 318657, 319369, 320339, 320349, 320795, 320897, 320933, 321303, 321409, 321551, 321867, 322667, 323595, 324945, 324969, 325685, 325969, 327865, 329901, 330623, 331075, 331377, 334389, 334403, 334861, 336073, 336243, 336597, 338155, 339693, 339753, 343283, 344119, 345635, 349466, 349763, 349784, 350907, 350989, 352265, 356021, 356641, 357249, 358557, 363479, 364665, 364921, 370421, 379149, 379527, 379543, 380195, 381345, 381349, 384909, 398297, 402321, 402325, 409137, 413989, 414263, 423043, 423061, 423807, 424067, 424119, 424964, 425580, 426762, 427478, 428036, 429664, 430022, 430024, 430594, 432492, 432494, 439312, 441680, 442638, 477088, 500966, 519838, 520672, 520728, 520892, 521202, 526184, 539356, 559154, 588106, 781125    
Bug Blocks: 234710    

Description Josh Nichols (RETIRED) gentoo-dev 2006-04-09 20:45:29 UTC
This bug is to track packages which bugs that crop up related to --as-needed. Information about --as-needed can be found at:

http://www.gentoo.org/proj/en/qa/asneeded.xml
Comment 1 Gabriel Devenyi 2006-04-16 16:31:59 UTC
Please add depends on bug #130199
Comment 2 MT 2006-07-09 07:05:34 UTC
please add depends on http://bugs.gentoo.org/show_bug.cgi?id=113975
Comment 3 Robert Marmorstein 2006-07-12 21:42:42 UTC
Please add "depends on <A HREF="http://bugs.gentoo.org/show_bug.cgi?id=140179">bug #140179</A>
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2008-01-25 03:15:15 UTC
There is no QA policy anywhere about this.  Its probably a nice thing to fix, but nothing QA is going to be actively pursuing right now.  I'm reassigning this to flameeyes since he was the one that published that document under QA's space on gentoo.org.
Comment 5 Hong Hao 2008-07-20 08:24:27 UTC
Please add depends on bug #232416
Comment 6 Nico R. 2008-10-27 12:08:58 UTC
This bug should also depend on bug 244547.
Comment 7 Mart Raudsepp gentoo-dev 2008-11-21 02:08:12 UTC
Please use a different tracker bug for --as-needed breakages when forced on with gcc spec files stuff, that don't break with LDFLAGS set in make.conf or otherwise.
Then this tracker can show if a user enabling it in LDFLAGS is safe or not, while the other shows what needs fixing before a spec file based approach is viable if that is desired and what could use some fixing to honor LDFLAGS more.

This tracker is filled with too many bugs already, so as this is a different case, I think different trackers would make perfect sense and sanity, while the council discussion in #234710 can be made to be blocked by this and the other proposed tracker when a spec file based approach is decided to be preferred for a global scope enabling. (and no, I don't agree with that approach as to my knowledge it affects out-of-portage gcc usage as well)
Comment 8 Mark Loeser (RETIRED) gentoo-dev 2008-11-24 16:37:21 UTC
Please keep everything that fails with as-needed on this tracker.  If we want to break it up later, we can, but I'd rather have one place to find every single thing that fails when built with as-needed (be it via LDFLAGS, or forced if necessary).

Thanks,

Mark
Comment 9 David J Cozatt 2010-10-06 21:56:57 UTC
I believe bug #337788 should be added. sys-devel/gcc-4.4.4-r2 no respect for LDFLAGS
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2010-10-11 20:09:08 UTC
(In reply to comment #9)
> I believe bug #337788 should be added. sys-devel/gcc-4.4.4-r2 no respect for
> LDFLAGS

Failing with --as-needed is not the same as disrespecting LDFLAGS.
Comment 11 Vadim Petryaev 2011-04-09 10:19:06 UTC
I thinks, this bug depend to http://bugs.gentoo.org/show_bug.cgi?id=362685
Comment 12 Brian Modra 2012-06-11 07:50:12 UTC
Please add depends on:
https://bugs.gentoo.org/show_bug.cgi?id=420641