Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 2010 10:34:17 +0100 (CET)
From:      Alexander Best <alexbestms@wwu.de>
To:        <freebsd-current@FreeBSD.org>
Cc:        Scot Hetzel <swhetzel@gmail.com>
Subject:   Re: build failures after stdlib update
Message-ID:  <permail-20100323093417f0889e8400001227-a_best01@message-id.uni-muenster.de>

next in thread | raw e-mail | index | archive | help

i don't think conf/112997 and the issue where gcc segfaults are directly
related to each other:

1. if CPUTYPE is set to 'native' your patch uses `gcc -v -x c -E -mtune=native
/dev/null -o /dev/null 2>&1 | grep mtune | sed -e 's/.*mtune=//'` to determine
gcc's idea of the appropriate -mtune value. that command however segfaults. so
this doesn't really help.

2. i wasn't able to reproduce your `make -V MACHINE_CPU -DCPUTYPE=native`
examples. for me `make` prints the same no matter what CPUTYPE is set to:

otaku% make -V MACHINE_CPU -DCPUTYPE=native
amd64 sse2 sse
otaku% make -V MACHINE_CPU -DCPUTYPE=nocona
amd64 sse2 sse
otaku% make -V MACHINE_CPU -DCPUTYPE=i386
amd64 sse2 sse
otaku% make -V MACHINE_CPU -DCPUTYPE=lalalala
amd64 sse2 sse

..oh and of course i ran these commands with no CPUTYPE set in make.conf. ;)

-- 
Alexander Best



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