Roman Divacky schrieb am 2010-04-19: > you have to use -O2 thanks a lot. using -O2 worked. :) i was also wondering: what's the reason gcc is still being used during step "Building an up-to-date make(1)" and not clang? cheers. > 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 -- Alexander BestReceived on Mon Apr 19 2010 - 13:58:24 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:02 UTC