Subject: Re: Build of 1.6 does not work
To: Tld <tld@tld.digitalcurse.com>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 09/20/2002 13:36:40
On Fri, 20 Sep 2002, Tld wrote:

> It was cpuflags (pkgsrc's devel/cpuflags) that added the "-O2
> -march=pentiumpro" to the compile line, as the result of being .sincluded
> in /etc/mk.conf. I did (almost) nothing else except launching the command I
> wrote before.

I see.

> > In other words, it's "not supported". I expect it should work, though,
> > as long as you're not overriding CFLAGS, and as long as you indeed
> > have a 686. Just for grins, I built the whole base system (except for
> > the floppies) and X with "-march=k6" (for my K6-2), and it works fine.
>
> I have a PentiumII machine which works just fine. As for the CFLAGS, how
> can I know if they got overwritten somehow?

If you're not setting CFLAGS, then that's not it. What happens if you
rebuild and install in "ld.elf_so" without the "-march=pentiumpro"? As
libc is used by the static binaries, too, I think ld.elf_so is the
more likely culprit.

Frederick