Recent HEAD: buildworld is broken with clang

From: Oleg V. Nauman <oleg_at_opentransfer.com>
Date: Sun, 14 Aug 2011 21:58:24 +0300
===> libexec (all)
===> libexec/atrun (all)
clang -O -pipe -march=i686 -mtune=i686  -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/src/libexec/atrun/../../usr.bin/at  
-I/usr/src/libexec/atrun -DLOGIN_CAP -DPAM -std=gnu99  
-fstack-protector -Wsystem-headers -Wall -Wno-format-y2k  
-Wno-uninitialized -Wno-pointer-sign -c /usr/src/libexec/atrun/atrun.c
clang -O -pipe -march=i686 -mtune=i686  -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/src/libexec/atrun/../../usr.bin/at  
-I/usr/src/libexec/atrun -DLOGIN_CAP -DPAM -std=gnu99  
-fstack-protector -Wsystem-headers -Wall -Wno-format-y2k  
-Wno-uninitialized -Wno-pointer-sign -c  
/usr/src/libexec/atrun/gloadavg.c
clang -O -pipe -march=i686 -mtune=i686  -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/src/libexec/atrun/../../usr.bin/at  
-I/usr/src/libexec/atrun -DLOGIN_CAP -DPAM -std=gnu99  
-fstack-protector -Wsystem-headers -Wall -Wno-format-y2k  
-Wno-uninitialized -Wno-pointer-sign  -o atrun atrun.o gloadavg.o  
-lpam -lutil
clang: warning: argument unused during compilation: '-std=gnu99'
/usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyylex'
/usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyyin'
/usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyytext'
/usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyyerror'
/usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyylineno'
clang: error: linker command failed with exit code 1 (use -v to see  
invocation)
*** Error code 1

Stop in /usr/src/libexec/atrun.
*** Error code 1

Stop in /usr/src/libexec.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
Received on Sun Aug 14 2011 - 17:40:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:16 UTC