unit-at-a-time fixes

Andreas Jaeger aj@suse.de
Sun Nov 30 21:43:00 GMT 2003


Jakub Jelinek <jakub@redhat.com> writes:

> On Sun, Nov 30, 2003 at 08:38:19PM +0100, Andreas Jaeger wrote:
>> 
>> With GCC 3.4 and also the hammer-branch of GCC 3.3, unit-at-a-time
>> compilation is enabled and rearranges the output order of functions.
>> This is not desirable in some cases.
>> 
>> Here's the patch that we're currently using at SuSE.  Ok to commit?
>
> As long as GCC 3.2.x and 3.3.x are supported to build glibc, this patch is
> wrong, since these compilers have no -fno-unit-at-a-time switch.

Argh.  You're right.

> You should add a configure check for that switch and add
> $(fno-unit-at-a-time) to the makefiles instead.

OK, will do tomorrow,

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20031130/293b8b59/attachment.sig>


More information about the Libc-hacker mailing list