undefined reference to `memset'
mkb at incubus.de
Thu Mar 24 14:02:24 PST 2005
Scott Long writes:
>No it doesn't. See the gymnastics that Bill Paul had to do recently in
>the iee80211 code to get around the insane inlining that gcc does with
>-O2. I'm not saying that gcc produces incorrect code, but I am saying
>that there is very strong evidence that it produces code that is
>incompatible with the restrictions inherent to the kernel, mainly that
>stack space is not infinite.
I wonder how this is being done elsewhere, on NetBSD, everything is
built with -O2 and has been for several years afair.
Not that I care much about it but apparently it doesn't seem to be
such a big problem everywhere?
More information about the freebsd-stable