undefined reference to `memset'
scottl at samsco.org
Thu Mar 24 15:16:04 PST 2005
Matthias Buelow wrote:
> 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?
I'm sure that it's highly dependent on the version of gcc in use and the
other -f flags that are passed to it, neither of which I'm familiar with
More information about the freebsd-stable