This is the mail archive of the
mailing list for the libstdc++ project.
Re: patch to check ld
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: patch to check ld
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 26 Jul 2000 21:18:15 +0200
- Cc: libstdc++ at sources dot redhat dot com
- Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
- References: <Pine.SOL.3.91.1000726121103.23983Bemail@example.com>
Benjamin Kosnik <firstname.lastname@example.org> 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.