This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
fc7 build errors
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: systemtap at sources dot redhat dot com
- Date: 26 Mar 2007 13:23:29 -0400
- Subject: fc7 build errors
Hi -
Recent fedora builds its packages with a more aggressive set
of cflags than we use:
CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables'
CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables'
This triggers a slew of return-value-ignored warnings in the lket/b2a
prgram, and due to our use of -Werror elsewhere, a similar bug turns
into this error:
../src2/runtime/staprun/mainloop.c: In function stp_main_loopù:
../src2/runtime/staprun/mainloop.c:314: warning: ignoring return value of write, declared with attribute warn_unused_result
Until this is fixed, I'll hack around it with the spec file (disabling -Werror).
- FChE