[SM-Grimoire-Bugs] [Bug 14020] New: glibc 2.6.1 fails with -fstack-protector-all

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Fri Sep 28 05:53:11 EDT 2007


           Summary: glibc 2.6.1 fails with -fstack-protector-all
           Product: Codex
           Version: test grimoire
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libs
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: iuso at sourcemage.org

Casting glibc 2.6.1 failed in configure phase on a box which 
has -fstack-protector-all in CFLAGS. Config.log had this error: "undefined 
reference to `__stack_chk_fail'".

According to a page in the LinuxBIOS wiki [0], some packages need an 
added -fno-stack-protector to compile cleanly. I changed -fstack-protector-all 
to -fno-stack-protector in my CFLAGS and, voilá, it's compiling.

I suppose glibc 2.6.1 needs to append -fno-stack-protector to CFLAGS.

[0] http://linuxbios.org/Stack_protector

Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the SM-Grimoire-Bugs mailing list