Re: Recent HEAD: buildworld is broken with clang

From: David Cornejo <dave_at_dogwood.com>
Date: Sun, 14 Aug 2011 09:44:10 -1000
Not sure this is CLANG related - I see this on a system where WITHOUT_CLANG
is set, and someone else reported it in another thread.

dave c

On Sun, Aug 14, 2011 at 8:58 AM, Oleg V. Nauman <oleg_at_opentransfer.com>wrote:

> ===> 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.
>
> ______________________________**_________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/**mailman/listinfo/freebsd-**current<http://lists.freebsd.org/mailman/listinfo/freebsd-current>
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_**
> freebsd.org <freebsd-current-unsubscribe_at_freebsd.org>"
>
Received on Sun Aug 14 2011 - 18:12:19 UTC

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