This is the mail archive of the libc-alpha@sourceware.org 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]
Other format: [Raw text]

Re: Avoid ldbl-96 stack corruption from range reduction of pseudo-zero (bug 25487) [committed]


On Thu, 13 Feb 2020, Florian Weimer wrote:

> Thanks for fixing this.  Unfortunately, the test doesn't build on ia64
> because GCC does not support -fstack-protector-all there:
> 
> cc1: error: ‘-fstack-protector’ not supported for this target [-Werror]
> cc1: all warnings being treated as errors
> make[3]: *** [/mnt/scratch1/fw/bmg/default/build/glibcs/ia64-linux-gnu/glibc/sysd-rules:639: /mnt/scratch1/fw/bmg/default/build/glibcs/ia64-linux-gnu/glibc/math/test-sinl-pseudo.o] Error 1

It looks like ifeq ($(have-ssp),yes) will be needed around that CFLAGS 
setting.  (I took the unconditional CFLAGS setting from where such a 
setting is used in debug/Makefile, but I see that in fact the addition of 
the test there is conditional.  In this case, the test is appropriate 
unconditionally, it's just the use of -fstack-protector-all that needs to 
be conditional.)

-- 
Joseph S. Myers
joseph@codesourcery.com

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