This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: glibc 2.0.7 / egcs 1.0.3a inline pow() function bug.


Frederick (Rick) A Niles <niles@axp745.gsfc.nasa.gov> writes:
> 
[ ... glibc2 and egcs-1.0.x problem .... ]

> Has this been reported before?  Is it a known problem?  It there a
> quick change I can make to the __math.h file to fix it?  It this
> a glibc2 problem or an egcs problem or both?
> 

Yes, it's a known problem with egcs-1.0.x, and it's fixed in upcoming
egcs-1.1.

For egcs-1.0.x, I've used the following workaround without any obvious
breakage: define -D__NO_MATH_INLINES=1 before including glibc2 headers. 
Use at your own risk.

Regards,
Mumit


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