Subject: Re: extern __inline functions and kernel link errors
To: Chuck Silvers <chuq@chuq.com>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: port-mac68k
Date: 11/03/2002 19:13:18
At 17:35 Uhr -0800 2.11.2002, Chuck Silvers wrote:
>On Sat, Nov 02, 2002 at 04:35:50PM -0800, Jason R Thorpe wrote:
>> On Sat, Nov 02, 2002 at 04:25:24PM -0800, Chuck Silvers wrote:
>>
>>  > I tried this just now (after my cacheops check-in from a few hours ago)
>>  > and it worked fine for me.  could you try it again and let me know
>>  > if you still have problems?
>>
>> The problem happens when you compile without optimization.
>
>ah, ok.  I just checked in the changes you proposed.

This helps, thanks!

Turned out that the contents of /etc/mk.conf were relevant, after all: The
'cpuflags' make .include apparently keeps the Makefile generated by
config(8) from setting COPTS (or CFLAGS, or whatever...). If you want to
build the kernel with any optimization, you have to set it explicitely.

	hauke


--
/~\  The ASCII Ribbon Campaign
\ /    No HTML/RTF in email
 X     No Word docs in email
/ \  Respect for open standards