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

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



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