I am tying to buildworld on an ivybridge (amd64) machine and I get the
following error:
===> lib/libc/tests/ssp (all)
(cd /usr/src/lib/libc/tests/ssp && DEPENDFILE=.depend.h_fgets NO_SUBDIR=1
make -f /usr/src/lib/libc/tests/ssp/Makefile _RECURSING_PROGS=t
PROG=h_fgets )
(cd /usr/src/lib/libc/te
On Wed, Dec 28, 2011 at 2:39 PM, Dimitry Andric wrote:
> On 2011-12-28 17:32, Renato Botelho wrote:
>>
>> On Wed, Dec 28, 2011 at 2:26 PM, Dimitry Andric wrote:
>
> ...
>
>>> Most likely, it is due to the way you set CC, CXX and/or CPP in
>>> make.conf. Can you please post that file?
>>
>>
>> Su
On 2011-12-28 17:32, Renato Botelho wrote:
On Wed, Dec 28, 2011 at 2:26 PM, Dimitry Andric wrote:
...
Most likely, it is due to the way you set CC, CXX and/or CPP in
make.conf. Can you please post that file?
Sure, follow my src.conf:
.if !defined(CC) || ${CC} == "cc"
CC=clang
.endif
.if !d
On Wed, Dec 28, 2011 at 2:26 PM, Dimitry Andric wrote:
> On 2011-12-28 16:44, Renato Botelho wrote:
>>
>> On Tue, May 3, 2011 at 10:07 PM, Manfred Antar wrote:
>>>
>>> I get this error when trying to buildworld on current i386.
>>> It's been this way for awhile Any Ideas ?
>>>
>>> ===> boot/i386
On 2011-12-28 16:44, Renato Botelho wrote:
On Tue, May 3, 2011 at 10:07 PM, Manfred Antar wrote:
I get this error when trying to buildworld on current i386.
It's been this way for awhile Any Ideas ?
===> boot/i386/boot0 (all)
clang -O2 -pipe -DVOLUME_SERIAL -DPXE -DFLAGS=0x8f -DTICKS=0xb6
On Tue, May 3, 2011 at 10:07 PM, Manfred Antar wrote:
> I get this error when trying to buildworld on current i386.
> It's been this way for awhile Any Ideas ?
>
> ===> boot/i386/boot0 (all)
> clang -O2 -pipe -DVOLUME_SERIAL -DPXE -DFLAGS=0x8f -DTICKS=0xb6
> -DCOMSPEED="7 << 5 + 3" -ffreestand
Olivier Smedts writes:
> 2011/5/5 Roman Divacky :
>>> Because with clang, -march=native often breaks buildworld, while
>>> -march=core2 is ok.
>>
>> Can you be more specific about this claim? On what CPU are seeing
>> this breakage?
>
> Ok, with latest HEAD...
>
> %echo | gcc -march=native -E -v
> # /usr/obj/usr/src/tmp/usr/bin/clang -O2 -pipe -march=native
> -fomit-frame-pointer -DATJOB_DIR=\"/var/at/jobs/\"
> -DLFILE=\"/var/at/jobs/.lockfile\" -DLOADAVG_MX=1.5
> -DATSPOOL_DIR=\"/var/at/spool\" -DVERSION=\"2.9\" -DDAEMON_UID=1
> -DDAEMON_GID=1 -DDEFAULT_BATCH_QUEUE=\'E\' -DDEFAULT_AT_QUEU
2011/5/5 Roman Divacky :
> Can you invoke this very same command (ie. linking) with -### and show me?
> Does it work when you try to link the same .o files without specifying
> -march=native ?
My system has previously been compiled with clang and "-march=core2".
It's a corei7.
With "-march=native
2011/5/5 Roman Divacky :
>> clang -O2 -pipe -march=native -fomit-frame-pointer
>> -DATJOB_DIR=\"/var/at/jobs/\" -DLFILE=\"/var/at/jobs/.lockfile\"
>> -DLOADAVG_MX=1.5 -DATSPOOL_DIR=\"/var/at/spool\" -DVERSION=\"2.9\"
>> -DDAEMON_UID=1 -DDAEMON_GID=1 -DDEFAULT_BATCH_QUEUE=\'E\'
>> -DDEFAULT_AT_QU
> clang -O2 -pipe -march=native -fomit-frame-pointer
> -DATJOB_DIR=\"/var/at/jobs/\" -DLFILE=\"/var/at/jobs/.lockfile\"
> -DLOADAVG_MX=1.5 -DATSPOOL_DIR=\"/var/at/spool\" -DVERSION=\"2.9\"
> -DDAEMON_UID=1 -DDAEMON_GID=1 -DDEFAULT_BATCH_QUEUE=\'E\'
> -DDEFAULT_AT_QUEUE=\'c\' -DPERM_PATH=\"/var/a
2011/5/5 Roman Divacky :
>> Because with clang, -march=native often breaks buildworld, while
>> -march=core2 is ok.
>
> Can you be more specific about this claim? On what CPU are seeing
> this breakage?
Ok, with latest HEAD...
%echo | gcc -march=native -E -v -x c -### -
Using built-in specs.
Targ
On 05/05/11 15:46, Olivier Smedts wrote:
2011/5/5 O. Hartmann:
On 05/04/11 16:20, Dimitry Andric wrote:
On 2011-05-04 15:44, Manfred Antar wrote:
...
src.conf:
WITHOUT_DYNAMICROOT=yes
WITH_IDEA=yes
.if !defined(CC) || ${CC} == "cc"
CC=clang
.endif
.if !defined(CXX) || ${CXX} == "c++"
CXX=cl
2011/5/5 Roman Divacky :
>> Because with clang, -march=native often breaks buildworld, while
>> -march=core2 is ok.
>
> Can you be more specific about this claim? On what CPU are seeing
> this breakage?
On a Core2 Quad Q9450 and a Core i7 860.
I use "core2" on both because that's the most approach
> Because with clang, -march=native often breaks buildworld, while
> -march=core2 is ok.
Can you be more specific about this claim? On what CPU are seeing
this breakage?
Anyway, can you compile and run on that machine this:
http://lev.vlakno.cz/~rdivacky/Host.cpp
It's the LLVM CPU autod
2011/5/5 O. Hartmann :
> On 05/04/11 16:20, Dimitry Andric wrote:
>>
>> On 2011-05-04 15:44, Manfred Antar wrote:
>> ...
>>>
>>> src.conf:
>>>
>>> WITHOUT_DYNAMICROOT=yes
>>> WITH_IDEA=yes
>>> .if !defined(CC) || ${CC} == "cc"
>>> CC=clang
>>> .endif
>>> .if !defined(CXX) || ${CXX} == "c++"
>>> CXX
On 05/04/11 16:20, Dimitry Andric wrote:
On 2011-05-04 15:44, Manfred Antar wrote:
...
src.conf:
WITHOUT_DYNAMICROOT=yes
WITH_IDEA=yes
.if !defined(CC) || ${CC} == "cc"
CC=clang
.endif
.if !defined(CXX) || ${CXX} == "c++"
CXX=clang++
.endif
#Don't die on warnings
NO_WERROR=
WERROR=
Aha. Pleas
On 2011-05-04 15:44, Manfred Antar wrote:
...
src.conf:
WITHOUT_DYNAMICROOT=yes
WITH_IDEA=yes
.if !defined(CC) || ${CC} == "cc"
CC=clang
.endif
.if !defined(CXX) || ${CXX} == "c++"
CXX=clang++
.endif
#Don't die on warnings
NO_WERROR=
WERROR=
Aha. Please move the clang-related stuff to make.co
At 11:38 PM 5/3/2011, Dimitry Andric wrote:
>On 2011-05-04 03:07, Manfred Antar wrote:
>>I get this error when trying to buildworld on current i386.
>>It's been this way for awhile Any Ideas ?
>>
>>===> boot/i386/boot0 (all)
>>clang -O2 -pipe -DVOLUME_SERIAL -DPXE -DFLAGS=0x8f -DTICKS=0xb6
>>-
On 2011-05-04 03:07, Manfred Antar wrote:
I get this error when trying to buildworld on current i386.
It's been this way for awhile Any Ideas ?
===> boot/i386/boot0 (all)
clang -O2 -pipe -DVOLUME_SERIAL -DPXE -DFLAGS=0x8f -DTICKS=0xb6 -DCOMSPEED="7<<
5 + 3" -ffreestanding -mpreferred-stack
I get this error when trying to buildworld on current i386.
It's been this way for awhile Any Ideas ?
===> boot/i386/boot0 (all)
clang -O2 -pipe -DVOLUME_SERIAL -DPXE -DFLAGS=0x8f -DTICKS=0xb6
-DCOMSPEED="7 << 5 + 3" -ffreestanding -mpreferred-stack-boundary=2 -mno-mmx
-mno-3dnow -mno-sse -m
21 matches
Mail list logo