Date: Mon, 19 Apr 2010 14:28:21 +0200 From: Roman Divacky <rdivacky@FreeBSD.org> To: Alexander Best <alexbestms@wwu.de> Cc: freebsd-current@FreeBSD.org Subject: Re: [CFT]: ClangBSD is selfhosting, we need testers now Message-ID: <20100419122820.GA53253@freebsd.org> In-Reply-To: <permail-20100419122907f7e55a9d000049e7-a_best01@message-id.uni-muenster.de> References: <permail-20100419122907f7e55a9d000049e7-a_best01@message-id.uni-muenster.de>
next in thread | previous in thread | raw e-mail | index | archive | help
you have to use -O2 On Mon, Apr 19, 2010 at 02:29:07PM +0200, Alexander Best wrote: > i'm getting this error during `make buildworld`: > > ===> libexec/atrun (all) > clang -isystem /usr/obj/usr/local/src/clangbsd/tmp/usr/include/clang/1.5 > -isystem /usr/obj/usr/local/src/clangbsd/tmp/usr/include > -B/usr/obj/usr/local/src/clangbsd/tmp/usr/lib/ > -L/usr/obj/usr/local/src/clangbsd/tmp/usr/lib/ -O0 -march=nocona > -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/at/\" > -I/usr/local/src/clangbsd/libexec/atrun/../../usr.bin/at > -I/usr/local/src/clangbsd/libexec/atrun -DLOGIN_CAP -DPAM -g -std=gnu99 > -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized > -Wno-pointer-sign -c /usr/local/src/clangbsd/libexec/atrun/atrun.c > clang -isystem /usr/obj/usr/local/src/clangbsd/tmp/usr/include/clang/1.5 > -isystem /usr/obj/usr/local/src/clangbsd/tmp/usr/include > -B/usr/obj/usr/local/src/clangbsd/tmp/usr/lib/ > -L/usr/obj/usr/local/src/clangbsd/tmp/usr/lib/ -O0 -march=nocona > -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/at/\" > -I/usr/local/src/clangbsd/libexec/atrun/../../usr.bin/at > -I/usr/local/src/clangbsd/libexec/atrun -DLOGIN_CAP -DPAM -g -std=gnu99 > -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized > -Wno-pointer-sign -c /usr/local/src/clangbsd/libexec/atrun/gloadavg.c > clang -isystem /usr/obj/usr/local/src/clangbsd/tmp/usr/include/clang/1.5 > -isystem /usr/obj/usr/local/src/clangbsd/tmp/usr/include > -B/usr/obj/usr/local/src/clangbsd/tmp/usr/lib/ > -L/usr/obj/usr/local/src/clangbsd/tmp/usr/lib/ -O0 -march=nocona > -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/at/\" > -I/usr/local/src/clangbsd/libexec/atrun/../../usr.bin/at > -I/usr/local/src/clangbsd/libexec/atrun -DLOGIN_CAP -DPAM -g -std=gnu99 > -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized > -Wno-pointer-sign -o atrun atrun.o gloadavg.o -lpam -lutil > /usr/obj/usr/local/src/clangbsd/tmp/usr/lib//libgcc_s.so: undefined reference > to `fabsf' > /usr/obj/usr/local/src/clangbsd/tmp/usr/lib//libgcc_s.so: undefined reference > to `copysign' > /usr/obj/usr/local/src/clangbsd/tmp/usr/lib//libgcc_s.so: undefined reference > to `copysignf' > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > *** Error code 1 > > Stop in /usr/local/src/clangbsd/libexec/atrun. > *** Error code 1 > > Stop in /usr/local/src/clangbsd/libexec. > *** Error code 1 > > Stop in /usr/local/src/clangbsd. > *** Error code 1 > > Stop in /usr/local/src/clangbsd. > *** Error code 1 > > Stop in /usr/local/src/clangbsd. > > running llvm-devel-2.7.r100430 and clangbsd revision 206838. > > -- > Alexander Best
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100419122820.GA53253>