unit-at-a-time fixes
Jakub Jelinek
jakub@redhat.com
Sun Nov 30 20:50:00 GMT 2003
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.
You should add a configure check for that switch and add
$(fno-unit-at-a-time) to the makefiles instead.
Jakub
More information about the Libc-hacker
mailing list