From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Sun Dec 21 2008 - 13:40:00 PST
Neal, From libcr/Makefile.am: # For bug 1854: must squash -fstack-protector when building the shared library override CFLAGS := $(shell echo '$(CFLAGS)' | sed 's/-fstack-protector\(-all\)\?//g;') According to that bug report, the shared library won't build w/ -fstack-protector or -fstrack-protector-all. So, we filter out those flags and add an explicit -fno-stack-protector. Note that this is only when building the shared library. -Paul Neal Becker wrote: > Are certain files forced to build with -fno-stack-protector, and if so, is this > needed (and why?) -- 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