bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/14009] gcc 4.7 conversion to init_array breaks users needi


From: igodard at pacbell dot net
Subject: [Bug binutils/14009] gcc 4.7 conversion to init_array breaks users needing control of C++ static initialization order
Date: Sun, 22 Apr 2012 22:23:11 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=14009

--- Comment #4 from Ivan Godard <igodard at pacbell dot net> 2012-04-22 
22:23:11 UTC ---
Constructor priority is not usable in large projects incorporating third-party
binaries and usinging mixed platform tools. Even without 3rd party code,
priorities require a global view of the entire build world in order to assign a
global numbering scheme, which is bad design. There should have been a local
dependency facility ("I depend on him") instead of absolute numbering.

However, even if that were fixed, priorities are still hopeless: what do you do
when the build includes two different 3rd party libraries that have an
incommensurate priority numbering?

In addition, priorities are a gnu extension, and not everyone uses gnu for
everything. What do you do with code produced by compilers that don't know from
priority?

Please don't mark this as fixed. It ain't.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]