This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Optimization trouble


On Sat, 1 May 1999 13:18:52 +0200 (CEST), Mark Kettenis wrote:
>When building the current CVS snapshot (with gcc 2.8.1) I get
>undefined references to __builtin_memset.  This is obviously caused by
>the following optimization patch:
[...]
>I suspect that __builtin_memset is broken in gcc and early egcs
>versions.
>
>So either we have to take the __bzero optimization out, or check for
>the proper gcc version number.

Oops, I missed that one.  The conditional should be

#if defined __GNUC__ && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 90))

which corresponds to egcs-1.1 and later.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]