patch to check ld

Gabriel Dos Reis Gabriel.Dos-Reis@cmla.ens-cachan.fr
Wed Jul 26 12:19:00 GMT 2000


Benjamin Kosnik <bkoz@redhat.com> writes:

| FYI this is the snippet of email that prompted the decision to add the flags:
| 
| > GNU ld does try to mitigate the problem by adapting the hash table
| > size (and thus hash key modulus) to minimize hash collisions, chain
| > length, and number of pages in the hash table.  It's pretty slick.
| 
| But you have to add -O1 to the linker line which most people don't do

Shouldn't that go into the specs?  That seems to me to be the right
place to do that sort of black magic instead of requiring users to
manually play with that tricky flag, IMHO.

-- Gaby



More information about the Libstdc++ mailing list