Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2012 00:00:19 +0400
From:      Dmitry Krivenok <krivenok.dmitry@gmail.com>
To:        freebsd-current@freebsd.org
Cc:        dmitry.krivenok@emc.com
Subject:   CURRENT (r235416) build error (/usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `log')
Message-ID:  <CAJN_NGbfmrxUWeUWZG9FKxGAgPHLq8RmVR75WKQeDKM9U-oNNw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello Hackers,
I=92m trying to build -CURRENT (r235416) and getting build error:

=3D=3D=3D> lib/clang/libllvmx86utils (all)
=3D=3D=3D> lib/clang/include (all)
=3D=3D=3D> libexec (all)
=3D=3D=3D> libexec/atrun (all)
cc -O2 -pipe  -DATJOB_DIR=3D\"/var/at/jobs/\"
-DLFILE=3D\"/var/at/jobs/.lockfile\"  -DLOADAVG_MX=3D1.5
-DATSPOOL_DIR=3D\"/var/at/spool\"  -DVERSION=3D\"2.9\" -DDAEMON_UID=3D1
-DDAEMON_GID=3D1  -DDEFAULT_BATCH_QUEUE=3D\'E\'  -DDEFAULT_AT_QUEUE=3D\'c\'
-DPERM_PATH=3D\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at
-I/usr/src/libexec/atrun -DLOGIN_CAP -DPAM -g -O0 -std=3Dgnu99
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k
-Wno-uninitialized -Wno-pointer-sign -c /usr/src/libexec/atrun/atrun.c
cc -O2 -pipe  -DATJOB_DIR=3D\"/var/at/jobs/\"
-DLFILE=3D\"/var/at/jobs/.lockfile\"  -DLOADAVG_MX=3D1.5
-DATSPOOL_DIR=3D\"/var/at/spool\"  -DVERSION=3D\"2.9\" -DDAEMON_UID=3D1
-DDAEMON_GID=3D1  -DDEFAULT_BATCH_QUEUE=3D\'E\'  -DDEFAULT_AT_QUEUE=3D\'c\'
-DPERM_PATH=3D\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at
-I/usr/src/libexec/atrun -DLOGIN_CAP -DPAM -g -O0 -std=3Dgnu99
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k
-Wno-uninitialized -Wno-pointer-sign -c
/usr/src/libexec/atrun/gloadavg.c
cc -O2 -pipe  -DATJOB_DIR=3D\"/var/at/jobs/\"
-DLFILE=3D\"/var/at/jobs/.lockfile\"  -DLOADAVG_MX=3D1.5
-DATSPOOL_DIR=3D\"/var/at/spool\"  -DVERSION=3D\"2.9\" -DDAEMON_UID=3D1
-DDAEMON_GID=3D1  -DDEFAULT_BATCH_QUEUE=3D\'E\'  -DDEFAULT_AT_QUEUE=3D\'c\'
-DPERM_PATH=3D\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at
-I/usr/src/libexec/atrun -DLOGIN_CAP -DPAM -g -O0 -std=3Dgnu99
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k
-Wno-uninitialized -Wno-pointer-sign  -o atrun atrun.o gloadavg.o
-lpam -lutil
/usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `log'
*** [atrun] Error code 1

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

Stop in /usr/src/libexec.
*** [libexec.all__D] Error code 1

Stop in /usr/src.
*** [everything] Error code 1

Stop in /usr/src.
*** [buildworld] Error code 1

Stop in /usr/src.

Last time I successfully built -CURRENT was in the middle of February.
I have checked UPDATING file, but didn=92t find anything interesting
there.
I wonder if it=92s a known issue? Is there a known solution for this?

Thanks in advance!

P.S.
My system info:

$ uname -a
FreeBSD csx-spb-freebsd-current 10.0-CURRENT FreeBSD 10.0-CURRENT #8
r231565: Mon Feb 13 05:28:23 MSK 2012
root@csx-spb-freebsd-current:/usr/obj/usr/src/sys/CSXDEBUG  amd64

$ gcc --version
gcc (GCC) 4.2.1 20070831 patched [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ clang --version
FreeBSD clang version 3.0 (tags/RELEASE_30/final 145349) 20111210
Target: x86_64-unknown-freebsd10.0
Thread model: posix
$

--=20
Sincerely yours, Dmitry V. Krivenok
e-mail: krivenok.dmitry@gmail.com
skype: krivenok_dmitry
jabber: krivenok_dmitry@jabber.ru
icq: 242-526-443



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