Re: Building m4 with hardened flags

2012-05-07 Thread Eric Blake
On 05/06/2012 06:06 AM, Santiago Vila wrote: > Hello. > > When trying to build m4 using hardened flags, I found a test that fails: > > #1;3001;0csource='test-xvasprintf.c' object='test-xvasprintf.o' > libtool=no > gcc -std=gnu99 -I. -I../lib -DIN_M4_GNULIB_TESTS=1 -I. -I. -I.. -I./.. > -

Re: Building m4 with hardened flags

2012-05-07 Thread Santiago Vila
On Mon, 7 May 2012, Eric Blake wrote: > On 05/06/2012 06:06 AM, Santiago Vila wrote: > > Every other test seems to be ok. > > > > What would you recommend? Should I just disable this code and keep > > "-Werror=format-security"? Or maybe there is a bug somewhere? > > This is no bug, but a result