[Bug ld/4538] New: static initialization ignored in static archive (.a)

2007-05-22 Thread ejt at andrew dot cmu dot edu
sources dot redhat dot com ReportedBy: ejt at andrew dot cmu dot edu CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=4538 --- You are receiving this mail because: --- You are on the CC lis

[Bug ld/4538] static initialization ignored in static archive (.a)

2007-05-22 Thread ejt at andrew dot cmu dot edu
--- Additional Comments From ejt at andrew dot cmu dot edu 2007-05-23 05:23 --- and your reason for this is statement is because...? The C++ spec is pretty clear. binutils is not handling linking of C++ code properly when it's in an archive. I get the idea of the archive is to

[Bug ld/4538] static initialization ignored in static archive (.a)

2007-05-23 Thread ejt at andrew dot cmu dot edu
--- Additional Comments From ejt at andrew dot cmu dot edu 2007-05-23 08:19 --- Ah, but unfortunately Mr. Earnshaw was arguing up the wrong tree there. Just because we understand why the current implementation is producing the results we see, doesn't mean the current implement

[Bug ld/4538] static initialization ignored in static archive (.a)

2007-05-23 Thread ejt at andrew dot cmu dot edu
--- Additional Comments From ejt at andrew dot cmu dot edu 2007-05-23 16:25 --- > You are incorrect. The standard does not cover archive libraries, and > so the definition of "container" you're assuming has no basis in the > standard. It doesn't need to c

[Bug ld/4538] add --all-init flag to force all static initializers to be loaded

2007-08-06 Thread ejt at andrew dot cmu dot edu
--- Additional Comments From ejt at andrew dot cmu dot edu 2007-08-07 03:37 --- Such a good, persuasive argument! You've raised many good points that I hadn't considered... OK then, lets call it an "enhancement", and I'll reword the summary for you. The f