Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 2010 19:03:14 +0200
From:      Dimitry Andric <dimitry@andric.com>
To:        Roman Divacky <rdivacky@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: [CFT]: ClangBSD is selfhosting, we need testers now
Message-ID:  <4BC9E9D2.1040505@andric.com>
In-Reply-To: <20100416160818.GA69460@freebsd.org>
References:  <20100416160818.GA69460@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2010-04-16 18:08, Roman Divacky wrote:
> 	cd clangbsd&&  make buildworld

Buildworld all goes well, until this stage:

--------------------------------------------------------------
>>> stage 4.2: building libraries
--------------------------------------------------------------
cd /home/dim/src/clangbsd;  MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386  CPUTYPE=  GROFF_BIN_PATH=/usr/obj/home/dim/src/clangbsd/tmp/legacy/usr/bin  GROFF_FONT_PATH=/usr/obj/home/dim/src/clangbsd/tmp/legacy/usr/share/groff_font  GROFF_TMAC_PATH=/usr/obj/home/dim/src/clangbsd/tmp/legacy/usr/share/tmac  _SHLIBDIRPREFIX=/usr/obj/home/dim/src/clangbsd/tmp  VERSION="FreeBSD 9.0-CURRENT i386 900010"  INSTALL="sh /home/dim/src/clangbsd/tools/install.sh"  PATH=/usr/obj/home/dim/src/clangbsd/tmp/legacy/usr/sbin:/usr/obj/home/dim/src/clangbsd/tmp/legacy/usr/bin:/usr/obj/home/dim/src/clangbsd/tmp/legacy/usr/games:/usr/obj/home/dim/src/clangbsd/tmp/usr/sbin:/usr/obj/home/dim/src/clangbsd/tmp/usr/bin:/usr/obj/home/dim/src/clangbsd/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin  CC="clang -isystem /usr/obj/home/dim/src/clangbsd/tmp/usr/include/clang/1.5 -isystem /usr/obj/home/dim/src/clangbsd/tmp/usr/include -B/usr/obj/home/dim/src/clangbsd/tmp/usr/lib/ -L/usr/o
bj/home/dim/src/clangbsd/tmp/usr/lib/"  CXX="clang++ -isystem /usr/obj/home/dim/src/clangbsd/tmp/usr/include/clang/1.5 -isystem /usr/obj/home/dim/src/clangbsd/tmp/usr/include -isystem /usr/obj/home/dim/src/clangbsd/tmp/include/c++/4.2 -isystem /usr/obj/home/dim/src/clangbsd/tmp/include/c++/4.2/backward -B/usr/obj/home/dim/src/clangbsd/tmp/usr/lib/ -L/usr/obj/home/dim/src/clangbsd/tmp/usr/lib/" NO_CTF=1 make -f Makefile.inc1 DESTDIR=/usr/obj/home/dim/src/clangbsd/tmp -DNO_FSCHG -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT  -DWITHOUT_MAN -DWITHOUT_PROFILE libraries
cd /home/dim/src/clangbsd;  make -f Makefile.inc1 _prereq_libs;  make -f Makefile.inc1 _startup_libs;  make -f Makefile.inc1 _prebuild_libs;  make -f Makefile.inc1 _generic_libs;
===> gnu/lib/libssp/libssp_nonshared (obj,depend,all,install)
rm -f .depend
CC='clang -isystem /usr/obj/home/dim/src/clangbsd/tmp/usr/include/clang/1.5 -isystem /usr/obj/home/dim/src/clangbsd/tmp/usr/include -B/usr/obj/home/dim/src/clangbsd/tmp/usr/lib/ -L/usr/obj/home/dim/src/clangbsd/tmp/usr/lib/' mkdep -f .depend -a    -DHAVE_CONFIG_H -I/home/dim/src/clangbsd/gnu/lib/libssp/libssp_nonshared/.. -I/home/dim/src/clangbsd/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/libssp -I/home/dim/src/clangbsd/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/include -DPIC /home/dim/src/clangbsd/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/libssp/ssp-local.c
clang -isystem /usr/obj/home/dim/src/clangbsd/tmp/usr/include/clang/1.5 -isystem /usr/obj/home/dim/src/clangbsd/tmp/usr/include -B/usr/obj/home/dim/src/clangbsd/tmp/usr/lib/ -L/usr/obj/home/dim/src/clangbsd/tmp/usr/lib/ -O2 -pipe  -DHAVE_CONFIG_H -I/home/dim/src/clangbsd/gnu/lib/libssp/libssp_nonshared/..  -I/home/dim/src/clangbsd/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/libssp  -I/home/dim/src/clangbsd/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/include -fPIC -DPIC -fvisibility=hidden -std=gnu99 -fstack-protector  -c /home/dim/src/clangbsd/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/libssp/ssp-local.c
'486' is not a recognized processor for this target (ignoring processor)
building static ssp_nonshared library
ranlib libssp_nonshared.a
sh /home/dim/src/clangbsd/tools/install.sh -C -o root -g wheel -m 444   libssp_nonshared.a /usr/obj/home/dim/src/clangbsd/tmp/usr/lib
===> gnu/lib/libgcc (obj,depend,all,install)
make -f /home/dim/src/clangbsd/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile MFILE=/home/dim/src/clangbsd/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc tm.h
TARGET_CPU_DEFAULT=""  HEADERS="options.h i386/i386.h i386/unix.h i386/att.h dbxelf.h elfos-undef.h elfos.h freebsd-native.h freebsd-spec.h freebsd.h i386/freebsd.h defaults.h"  DEFINES=""  /bin/sh /home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tm.h
echo '#define EXTRA_MODES_FILE "i386/i386-modes.def"' >> tm.h
make -f /home/dim/src/clangbsd/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile MFILE=/home/dim/src/clangbsd/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc tconfig.h
TARGET_CPU_DEFAULT=""  HEADERS="auto-host.h ansidecl.h"  DEFINES="USED_FOR_TARGET"  /bin/sh /home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tconfig.h
make -f /home/dim/src/clangbsd/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile MFILE=/home/dim/src/clangbsd/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc options.h
LC_ALL=C awk -f /home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc/opt-gather.awk /home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc/c.opt /home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc/common.opt /home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc/config/i386/i386.opt > optionlist
LC_ALL=C awk -f /home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc/opt-functions.awk  -f /home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc/opth-gen.awk  < optionlist > options.h
make -f /home/dim/src/clangbsd/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile MFILE=/home/dim/src/clangbsd/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc unwind.h
ln -sf /home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc/unwind-generic.h unwind.h
make -f /home/dim/src/clangbsd/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile MFILE=/home/dim/src/clangbsd/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc gthr-default.h
ln -sf /home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc/gthr-posix.h gthr-default.h
clang -isystem /usr/obj/home/dim/src/clangbsd/tmp/usr/include/clang/1.5 -isystem /usr/obj/home/dim/src/clangbsd/tmp/usr/include -B/usr/obj/home/dim/src/clangbsd/tmp/usr/lib/ -L/usr/obj/home/dim/src/clangbsd/tmp/usr/lib/ -c -O2 -pipe  -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -DHAVE_GTHR_DEFAULT  -I/home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcclibs/include  -I/home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc/config -I/home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc -I.  -I/home/dim/src/clangbsd/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -std=gnu99  -fvisibility=hidden -DHIDE_EXPORTS -fPIC -fexceptions -D__GLIBC__=3 -DElfW=__ElfN -o unwind-dw2.o /home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c
In file included from /home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1518:
/home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:140:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:216:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:266:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
'486' is not a recognized processor for this target (ignoring processor)
Stack dump:
0.	Program arguments: /usr/obj/home/dim/src/clangbsd/tmp/usr/bin/clang -cc1 -triple i386-undermydesk-freebsd9.0 -S -disable-free -main-file-name unwind-dw2.c -pic-level 2 -mdisable-fp-elim -mconstructor-aliases -target-cpu 486 -resource-dir /usr/obj/home/dim/src/clangbsd/tmp/usr/lib/clang/1.5 -isystem /usr/obj/home/dim/src/clangbsd/tmp/usr/include/clang/1.5 -isystem /usr/obj/home/dim/src/clangbsd/tmp/usr/include -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT -DHIDE_EXPORTS -D__GLIBC__=3 -DElfW=__ElfN -I/home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcclibs/include -I/home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc/config -I/home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc -I. -I/home/dim/src/clangbsd/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -O2 -std=gnu99 -fmessage-length 160 -fvisibility hidden -fexceptions -fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics -o /home/dim/tmp/cc-CrUoSK.s -x c /home/dim/src/clangbsd/gnu/l
ib/libgcc/../../../contrib/gcc/unwind-dw2.c
1.	<eof> parser at end of file
2.	Per-module optimization passes
3.	Running pass 'CallGraph Pass Manager' on module '/home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c'.
4.	Running pass 'Global Value Numbering' on function '@_Unwind_FindEnclosingFunction'
clang: error: compiler command failed due to signal 11 (use -v to see invocation)
*** Error code 245

Stop in /home/dim/src/clangbsd/gnu/lib/libgcc.
*** Error code 1

Stop in /home/dim/src/clangbsd.
*** Error code 1

Stop in /home/dim/src/clangbsd.
*** Error code 1

Stop in /home/dim/src/clangbsd.
*** Error code 1

Stop in /home/dim/src/clangbsd.

Script done on Sat Apr 17 18:50:46 2010

Any idea?  I'm using the llvm-devel-2.7.r100430 port.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BC9E9D2.1040505>