Skip to contentSkip to conversation

Frame Pointer build error

DISCUSSION ccallen 2 participants 2 messages Apr 16, 2003 SELinux security module

lore
Share & tools
lore

ccallen

author
#0 lore raw

While building lsm-2.5-selinux-20003040709 I recieved an error from /lsm-2.5/init/main.c saying that the compiler cant handle frame pointers (I turned it off for now). Is there a piticular version of gcc thats best to use?

Thanks, Conan

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 4 lines · ccallen

While building lsm-2.5-selinux-20003040709 I recieved an error from /lsm-2.5/init/main.c saying that the compiler cant handle frame pointers (I turned it off for now). Is there a piticular version of gcc thats best to use?

Unfortunately, the test in init/main.c flags all instances of gcc 2.96 as being broken, whereas not all are. See
http://marc.theaimsgroup.com/?l=linux-kernel&m=104748366426351&w=2. If you want to be conservative, the Documentation/Changes file describes gcc version requirements for the kernel; gcc 2.95.3 still seems to be the recommended one for x86.

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.