Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Mar 2005 16:13:08 -0700
From:      Scott Long <scottl@samsco.org>
To:        Matthias Buelow <mkb@incubus.de>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: undefined reference to `memset'
Message-ID:  <42434984.3050807@samsco.org>
In-Reply-To: <20050324220259.GA770@drjekyll.mkbuelow.net>
References:  <IDTR9T00.LMF@hadar.amcc.com> <200503232122.01937.peter@wemm.org> <86acosykew.fsf@xps.des.no> <42431F9D.5080906@samsco.org> <20050324220259.GA770@drjekyll.mkbuelow.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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?
> 
> mkb.
> 

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
in NetBSD.

Scott



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42434984.3050807>