Subject: Re: -mpentium-pro stable?
To: None <port-i386@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: port-i386
Date: 08/22/1999 15:33:11
In article <199908220310.WAA02912@guild.plethora.net>,
 <seebs@plethora.net> wrote:
>In message <199908182347.BAA09483@sean.ebone.net>, Sean Doran writes:
>>mk.conf:
>>> CFLAGS?=      -O3 -march=i686 -mfancy-math-387
>
>Weird.  If I do this, 'crt0.o' gets built wrong, without a ___start in
>it, presumably because the compiler realizes it can optimize ___start away
>because "nothing calls it".
>
>If I override csu's Makefile to say "CFLAGS=-O2", it's fine.

This is a known problem with calling static functions from assembly;
just remove the static :-)

christos