2011/2/28 Dimitry Andric d...@freebsd.org:
On 2011-02-28 15:35, Olivier Smedts wrote:
I now have problems building gnu/lib/libobjc. When using Clang, gcc is
still used to build gnu/lib/libobjc (see XXX: clang cannot compile
libobjc yet), but gcc core dumps at this stage on two different
2011/2/21 Olivier Smedts oliv...@gid0.org:
Hello,
I can't buildworld with Clang since the last update.
%uname -a
FreeBSD zozo.afpicl.lan 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r218908M:
Mon Feb 21 09:56:35 CET 2011
r...@zozo.afpicl.lan:/usr/obj/usr/src/sys/CORE amd64
%clang -v
FreeBSD clang
On 2011-02-28 15:35, Olivier Smedts wrote:
I now have problems building gnu/lib/libobjc. When using Clang, gcc is
still used to build gnu/lib/libobjc (see XXX: clang cannot compile
libobjc yet), but gcc core dumps at this stage on two different
computers, using the same CFLAGS -O2 -pipe
On 2011-02-24 08:26, datastream datastream.freecity wrote:
I removed /etc/src.conf.binutils is 2.15.
...
Ok, I managed to reproduce your error, on an old snapshot with clang 2.8
and binutils 2.15. It turns out it is caused by an upstream change,
which was intended to work around problems in
It works.make buildworld works ok now.Thinks Dimitry Andric.
On Fri, Feb 25, 2011 at 5:54 AM, Dimitry Andric d...@freebsd.org wrote:
On 2011-02-24 08:26, datastream datastream.freecity wrote:
I removed /etc/src.conf.binutils is 2.15.
...
Ok, I managed to reproduce your error, on an old
I deleted all files in /usr/src and /usr/obj. it changes nothing, i still
get same error.
In /etc/make.conf:
.if !defined(CC) || ${CC} == cc
CC=clang
.endif
.if !defined(CXX) || ${CXX} == c++
CXX=clang++
.endif
# Don't die on warnings
NO_WERROR=
WERROR=
STRIP=
CFLAGS+=-fno-omit-frame-pointer
On
On Wed, Feb 23, 2011 at 10:22 AM, datastream datastream.freecity
datastream.freec...@gmail.com wrote:
I deleted all files in /usr/src and /usr/obj. it changes nothing, i still
get same error.
In /etc/make.conf:
.if !defined(CC) || ${CC} == cc
CC=clang
.endif
.if !defined(CXX) || ${CXX} ==
On 2011-02-23 14:22, datastream datastream.freecity wrote:
I deleted all files in /usr/src and /usr/obj. it changes nothing, i still
get same error.
In /etc/make.conf:
.if !defined(CC) || ${CC} == cc
CC=clang
.endif
.if !defined(CXX) || ${CXX} == c++
CXX=clang++
.endif
# Don't die on warnings
I removed /etc/src.conf.binutils is 2.15.
#svn info /usr/src
Path: /usr/src
URL: http://svn.freebsd.org/base/head
Repository Root: http://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 218985
Node Kind: directory
Schedule: normal
Last Changed Author: brucec
I add '-no-integrated-as' in /etc/make.conf,but I still failed.
#clang -v
FreeBSD clang version 2.8 (tags/RELEASE_28 115870) 20101007
Target: x86_64-undermydesk-freebsd9.0
Thread model: posix
#make buildworld
..
=== cddl/usr.bin/zinject (all)
clang -O2 -pipe -fno-omit-frame-pointer
On 2011-02-22 15:37, datastream datastream.freecity wrote:
I add '-no-integrated-as' in /etc/make.conf,but I still failed.
Don't do that. The few instances where the integrated assembler needs
to be disabled are already covered.
...
/usr/obj/usr/src/tmp/lib/libthr.so.3: undefined reference
At 07:07 AM 2/21/2011, Dimitry Andric wrote:
On 2011-02-21 11:33, Olivier Smedts wrote:
I can't buildworld with Clang since the last update.
...
%cat /etc/src.conf
.if !defined(CC) || ${CC} == cc
CC=clang
.endif
.if !defined(CXX) || ${CXX} == c++
CXX=clang++
.endif
# Don't die on warnings
On 2011-02-22 16:16, Manfred Antar wrote:
I too am having trouble with buildworld
I switched back to standard /usr/bin/cc, but make buildworld stops here:
c++ -O2 -pipe -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include
At 07:07 AM 2/21/2011, Dimitry Andric wrote:
On 2011-02-21 11:33, Olivier Smedts wrote:
I can't buildworld with Clang since the last update.
...
%cat /etc/src.conf
.if !defined(CC) || ${CC} == cc
CC=clang
.endif
.if !defined(CXX) || ${CXX} == c++
CXX=clang++
.endif
# Don't die on warnings
In /etc/make.conf, I only add 'CFLAGS+=-fno-omit-frame-pointer'.And removed
all files in /usr/obj. /usr/src sync with http://svn.freebsd.org/base/head.
#make buildkernel
MAKE=make sh /usr/src/sys/conf/newvers.sh G9laptop
/usr/local/bin/svnversion
clang -c -O2 -frename-registers -pipe
On 2011-02-22 18:38, datastream datastream.freecity wrote:
In /etc/make.conf, I only add 'CFLAGS+=-fno-omit-frame-pointer'.And removed
all files in /usr/obj. /usr/src sync with http://svn.freebsd.org/base/head.
#make buildkernel
Before you do make buildkernel, always run make buildworld, or at
On 22 February 2011 21:11, Dimitry Andric d...@freebsd.org wrote:
On 2011-02-22 18:38, datastream datastream.freecity wrote:
In /etc/make.conf, I only add 'CFLAGS+=-fno-omit-frame-pointer'.And
removed
all files in /usr/obj. /usr/src sync with
http://svn.freebsd.org/base/head.
#make
On 2011-02-21 11:33, Olivier Smedts wrote:
I can't buildworld with Clang since the last update.
...
%cat /etc/src.conf
.if !defined(CC) || ${CC} == cc
CC=clang
.endif
.if !defined(CXX) || ${CXX} == c++
CXX=clang++
.endif
# Don't die on warnings
NO_WERROR=
WERROR=
Try putting these lines in
18 matches
Mail list logo