This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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]

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


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