From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Mon Mar 05 2007 - 10:06:48 PST
Cedric, Thank you for your bug report. This was a known issue that I thought had been resolved (http://upc-bugs.lbl.gov/bugzilla/show_bug.cgi?id=1854). Because of the way our library is linked, the -fstack-protector flag should not be passed when building libcr. We have configure-time code to add -fno-stack-protector when building the library, but I can't tell from your output (which shows an attempt to link to the library) if the flag was passed correctly. If you could, please "make clean" and then "make all", sending me the output of the "make all" step and also the file config.log. That should be enough for me to track down if/where the -fno-stack-protector flag was omitted from the library build. -Paul Cedric Le Goater wrote: > Hi Paul ! > > Paul H. Hargrove wrote: > >> After several weeks of betas, I've finally released BLCR 0.5.0. It can >> be found at the BLCR Downloads page: >> http://ftg.lbl.gov/CheckpointRestart/CheckpointDownloads.shtml >> > > I ran the following command on a i686 FC6 : > > $ rpmbuild --rebuild ./blcr-0.5.0-1.src.rpm --target i686 > > [ ... ] > > gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -o .libs/cr_checkpoint cr_checkpoint.o -L/home/legoater/redhat/BUILD/blcr-0.5.0/libcr /home/legoater/redhat/BUILD/blcr-0.5.0/libcr/.libs/libcr.so -ldl -lpthread > /usr/bin/ld: .libs/cr_checkpoint: hidden symbol `__stack_chk_fail_local' in /usr/lib/libc_nonshared.a(stack_chk_fail_local.oS) is referenced by DSO > /usr/bin/ld: final link failed: Nonrepresentable section on output > collect2: ld returned 1 exit status > gmake[3]: *** [cr_checkpoint] Error 1 > gmake[3]: Leaving directory `/home/legoater/redhat/BUILD/blcr-0.5.0/util/cr_checkpoint' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory `/home/legoater/redhat/BUILD/blcr-0.5.0/util' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/home/legoater/redhat/BUILD/blcr-0.5.0' > make: *** [all] Error 2 > error: Bad exit status from /var/tmp/rpm-tmp.62384 (%build) > > Is it a known issue ? > > C. > -- Paul H. Hargrove PHHargrove_at_lbl_dot_gov Future Technologies Group HPC Research Department Tel: +1-510-495-2352 Lawrence Berkeley National Laboratory Fax: +1-510-486-6900