Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Sep 2011 09:43:18 +0200
From:      Olivier Smedts <olivier@gid0.org>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        freebsd-current@freebsd.org, Dimitry Andric <dim@freebsd.org>
Subject:   Re: Compiling BETA2 with clang fails
Message-ID:  <CABzXLYPmvd2DdeQMx9uYq5spCK%2BR3ikOZOO6M_M-L2SgnEE74w@mail.gmail.com>
In-Reply-To: <4E644993.4090703@gmail.com>
References:  <j3u29f$bv8$1@dough.gmane.org> <4E62915E.1010405@FreeBSD.org> <4E6294E0.5010104@gmail.com> <4E6298DE.5090007@FreeBSD.org> <4E644993.4090703@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/9/5 Volodymyr Kostyrko <c.kworr@gmail.com>:
> 04.09.2011 00:15, Dimitry Andric wrote:
>>
>> On 2011-09-03 22:58, Volodymyr Kostyrko wrote:
>>>
>>> 03.09.2011 23:43, Dimitry Andric ???????(??):
>>>>
>>>> On 2011-09-03 22:22, Volodymyr Kostyrko wrote:
>>
>> ...
>>>
>>> .if ${CC:T} =3D=3D "clang"
>>> CFLAGS+=3D -Qunused-arguments -fPIC
>>> .endif
>>
>> You should not unconditionally add -fPIC. Remove it, and try again.
>> (The -Qunused-arguments is fine, btw.)
>
> 0k, here you go. Just as you say - no -fPIC, no ccache, no anything.
>
> =3D=3D=3D> libexec/atrun (all)
> clang -O2 -pipe -march=3Dnative -DATJOB_DIR=3D\"/var/at/jobs/\"
> -DLFILE=3D\"/var/at/jobs/.lockfile\" =A0-DLOADAVG_MX=3D1.5
> -DATSPOOL_DIR=3D\"/var/at/spool\" =A0-DVERSION=3D\"2.9\" -DDAEMON_UID=3D1
> -DDAEMON_GID=3D1 =A0-DDEFAULT_BATCH_QUEUE=3D\'E\' =A0-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 -std=3Dgnu99 -fstack-protector
> -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-si=
gn
> -c /usr/src/libexec/atrun/atrun.c

Try removing "-march=3Dnative" from your CFLAGS.

I have the exact same problem since months on my Core i7 CPU when
using "-march=3Dnative" or "-march=3Dcorei7". No problems for me with
"-march=3Dcore2" though.

> clang -O2 -pipe -march=3Dnative -DATJOB_DIR=3D\"/var/at/jobs/\"
> -DLFILE=3D\"/var/at/jobs/.lockfile\" =A0-DLOADAVG_MX=3D1.5
> -DATSPOOL_DIR=3D\"/var/at/spool\" =A0-DVERSION=3D\"2.9\" -DDAEMON_UID=3D1
> -DDAEMON_GID=3D1 =A0-DDEFAULT_BATCH_QUEUE=3D\'E\' =A0-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 -std=3Dgnu99 -fstack-protector
> -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-si=
gn
> -c /usr/src/libexec/atrun/gloadavg.c
> clang -O2 -pipe -march=3Dnative -DATJOB_DIR=3D\"/var/at/jobs/\"
> -DLFILE=3D\"/var/at/jobs/.lockfile\" =A0-DLOADAVG_MX=3D1.5
> -DATSPOOL_DIR=3D\"/var/at/spool\" =A0-DVERSION=3D\"2.9\" -DDAEMON_UID=3D1
> -DDAEMON_GID=3D1 =A0-DDEFAULT_BATCH_QUEUE=3D\'E\' =A0-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 -std=3Dgnu99 -fstack-protector
> -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-si=
gn
> =A0-o atrun atrun.o gloadavg.o -lpam -lutil
> clang: warning: argument unused during compilation: '-std=3Dgnu99'
> /usr/obj/usr/src/tmp/usr/lib/crt1.o: In function `_start1':
> /usr/src/lib/csu/i386-elf/crt1_c.c:(.text+0x7d): undefined reference to
> `atexit'
> /usr/src/lib/csu/i386-elf/crt1_c.c:(.text+0x84): undefined reference to
> `_init_tls'
> /usr/src/lib/csu/i386-elf/crt1_c.c:(.text+0x90): undefined reference to
> `atexit'
> /usr/src/lib/csu/i386-elf/crt1_c.c:(.text+0xad): undefined reference to
> `exit'
> atrun.o: In function `perr':
> /usr/src/libexec/atrun/atrun.c:(.text+0x12): undefined reference to `strl=
en'
> /usr/src/libexec/atrun/atrun.c:(.text+0x45): undefined reference to `vwar=
n'
> /usr/src/libexec/atrun/atrun.c:(.text+0x6d): undefined reference to
> `snprintf'
> /usr/src/libexec/atrun/atrun.c:(.text+0x8a): undefined reference to
> `vsyslog'
> /usr/src/libexec/atrun/atrun.c:(.text+0x9c): undefined reference to `exit=
'
> atrun.o: In function `perrx':
> /usr/src/libexec/atrun/atrun.c:(.text+0xd3): undefined reference to `vwar=
nx'
> /usr/src/libexec/atrun/atrun.c:(.text+0xdf): undefined reference to `exit=
'
> /usr/src/libexec/atrun/atrun.c:(.text+0xf3): undefined reference to
> `vsyslog'
> /usr/src/libexec/atrun/atrun.c:(.text+0xff): undefined reference to `exit=
'
> atrun.o: In function `main':
> /usr/src/libexec/atrun/atrun.c:(.text+0x160): undefined reference to
> `geteuid'
> /usr/src/libexec/atrun/atrun.c:(.text+0x174): undefined reference to
> `getegid'
> /usr/src/libexec/atrun/atrun.c:(.text+0x186): undefined reference to
> `setegid'
> /usr/src/libexec/atrun/atrun.c:(.text+0x193): undefined reference to
> `seteuid'
> /usr/src/libexec/atrun/atrun.c:(.text+0x1af): undefined reference to
> `openlog'
> /usr/src/libexec/atrun/atrun.c:(.text+0x1b5): undefined reference to
> `opterr'
> /usr/src/libexec/atrun/atrun.c:(.text+0x1e6): undefined reference to
> `getopt'
> /usr/src/libexec/atrun/atrun.c:(.text+0x1fe): undefined reference to
> `optarg'
> /usr/src/libexec/atrun/atrun.c:(.text+0x212): undefined reference to
> `sscanf'
> /usr/src/libexec/atrun/atrun.c:(.text+0x250): undefined reference to
> `__stderrp'
> /usr/src/libexec/atrun/atrun.c:(.text+0x270): undefined reference to
> `fwrite'
> /usr/src/libexec/atrun/atrun.c:(.text+0x27c): undefined reference to `exi=
t'
> /usr/src/libexec/atrun/atrun.c:(.text+0x290): undefined reference to
> `syslog'
> /usr/src/libexec/atrun/atrun.c:(.text+0x29c): undefined reference to `exi=
t'
> /usr/src/libexec/atrun/atrun.c:(.text+0x2a8): undefined reference to `chd=
ir'
> /usr/src/libexec/atrun/atrun.c:(.text+0x2bc): undefined reference to
> `opendir'
> /usr/src/libexec/atrun/atrun.c:(.text+0x2e0): undefined reference to `tim=
e'
> /usr/src/libexec/atrun/atrun.c:(.text+0x312): undefined reference to
> `_CurrentRuneLocale'
> /usr/src/libexec/atrun/atrun.c:(.text+0x34f): undefined reference to
> `unlink'
> /usr/src/libexec/atrun/atrun.c:(.text+0x35d): undefined reference to
> `readdir'
> /usr/src/libexec/atrun/atrun.c:(.text+0x379): undefined reference to `sta=
t'
> /usr/src/libexec/atrun/atrun.c:(.text+0x3b4): undefined reference to
> `sscanf'
> /usr/src/libexec/atrun/atrun.c:(.text+0x3e8): undefined reference to
> `__mb_sb_limit'
> /usr/src/libexec/atrun/atrun.c:(.text+0x3fe): undefined reference to
> `_CurrentRu
> neLocale'
> /usr/src/libexec/atrun/atrun.c:(.text+0x41f): undefined reference to
> `strcmp'
> /usr/src/libexec/atrun/atrun.c:(.text+0x443): undefined reference to
> `strlcpy'
> /usr/src/libexec/atrun/atrun.c:(.text+0x453): undefined reference to
> `__mb_sb_limit'
> /usr/src/libexec/atrun/atrun.c:(.text+0x4c0): undefined reference to
> `closelog'
> /usr/src/libexec/atrun/atrun.c:(.text+0x4cc): undefined reference to `exi=
t'
> atrun.o: In function `run_file':
> /usr/src/libexec/atrun/atrun.c:(.text+0x535): undefined reference to
> `__stack_chk_guard'
> /usr/src/libexec/atrun/atrun.c:(.text+0x56c): undefined reference to
> `seteuid'
> /usr/src/libexec/atrun/atrun.c:(.text+0x579): undefined reference to
> `setegid'
> /usr/src/libexec/atrun/atrun.c:(.text+0x589): undefined reference to `chm=
od'
> /usr/src/libexec/atrun/atrun.c:(.text+0x59e): undefined reference to
> `setegid'
> /usr/src/libexec/atrun/atrun.c:(.text+0x5ab): undefined reference to
> `seteuid'
> /usr/src/libexec/atrun/atrun.c:(.text+0x5b0): undefined reference to `for=
k'
> /usr/src/libexec/atrun/atrun.c:(.text+0x5c2): undefined reference to
> `__stack_chk_guard'
> /usr/src/libexec/atrun/atrun.c:(.text+0x5e4): undefined reference to
> `getpwuid'
> /usr/src/libexec/atrun/atrun.c:(.text+0x5fb): undefined reference to
> `seteuid'
> /usr/src/libexec/atrun/atrun.c:(.text+0x608): undefined reference to
> `setegid'
> /usr/src/libexec/atrun/atrun.c:(.text+0x67e): undefined reference to
> `setegid'
> /usr/src/libexec/atrun/atrun.c:(.text+0x68b): undefined reference to
> `seteuid'
> /usr/src/libexec/atrun/atrun.c:(.text+0x698): undefined reference to
> `seteuid'
> /usr/src/libexec/atrun/atrun.c:(.text+0x6a5): undefined reference to
> `setegid'
> /usr/src/libexec/atrun/atrun.c:(.text+0x6b5): undefined reference to `fop=
en'
> /usr/src/libexec/atrun/atrun.c:(.text+0x6c4): undefined reference to
> `setegid'
> /usr/src/libexec/atrun/atrun.c:(.text+0x6d1): undefined reference to
> `seteuid'
> /usr/src/libexec/atrun/atrun.c:(.text+0x6df): undefined reference to
> `__isthreaded'
> /usr/src/libexec/atrun/atrun.c:(.text+0x6f3): undefined reference to
> `fileno'
> /usr/src/libexec/atrun/atrun.c:(.text+0x701): undefined reference to `dup=
'
> /usr/src/libexec/atrun/atrun.c:(.text+0x71d): undefined reference to `fst=
at'
> /usr/src/libexec/atrun/atrun.c:(.text+0x738): undefined reference to `lst=
at'
> /usr/src/libexec/atrun/atrun.c:(.text+0x7dd): undefined reference to `fcn=
tl'
> /usr/src/libexec/atrun/atrun.c:(.text+0x7fe): undefined reference to `fcn=
tl'
> /usr/src/libexec/atrun/atrun.c:(.text+0x821): undefined reference to
> `snprintf'
> /usr/src/libexec/atrun/atrun.c:(.text+0x855): undefined reference to
> `fscanf'
> /usr/src/libexec/atrun/atrun.c:(.text+0x89b): undefined reference to
> `fclose'
> /usr/src/libexec/atrun/atrun.c:(.text+0x8a7): undefined reference to `chd=
ir'
> /usr/src/libexec/atrun/atrun.c:(.text+0x8c7): undefined reference to `ope=
n'
> /usr/src/libexec/atrun/atrun.c:(.text+0x8e9): undefined reference to `wri=
te'
> /usr/src/libexec/atrun/atrun.c:(.text+0x8f1): undefined reference to
> `strlen'
> /usr/src/libexec/atrun/atrun.c:(.text+0x901): undefined reference to `wri=
te'
> /usr/src/libexec/atrun/atrun.c:(.text+0x919): undefined reference to `wri=
te'
> /usr/src/libexec/atrun/atrun.c:(.text+0x92b): undefined reference to `fst=
at'
> /usr/src/libexec/atrun/atrun.c:(.text+0x94f): undefined reference to `clo=
se'
> /usr/src/libexec/atrun/atrun.c:(.text+0x95b): undefined reference to `clo=
se'
> /usr/src/libexec/atrun/atrun.c:(.text+0x967): undefined reference to `clo=
se'
> /usr/src/libexec/atrun/atrun.c:(.text+0x96c): undefined reference to `for=
k'
> /usr/src/libexec/atrun/atrun.c:(.text+0x9ac): undefined reference to `lse=
ek'
> /usr/src/libexec/atrun/atrun.c:(.text+0x9bc): undefined reference to `dup=
'
> /usr/src/libexec/atrun/atrun.c:(.text+0x9cc): undefined reference to `dup=
'
> /usr/src/libexec/atrun/atrun.c:(.text+0x9dd): undefined reference to `dup=
'
> /usr/src/libexec/atrun/atrun.c:(.text+0x9ee): undefined reference to `clo=
se'
> /usr/src/libexec/atrun/atrun.c:(.text+0x9f6): undefined reference to `clo=
se'
> /usr/src/libexec/atrun/atrun.c:(.text+0xa02): undefined reference to `chd=
ir'
> /usr/src/libexec/atrun/atrun.c:(.text+0xa20): undefined reference to
> `seteuid'
> /usr/src/libexec/atrun/atrun.c:(.text+0xa2d): undefined reference to
> `setegid'
> /usr/src/libexec/atrun/atrun.c:(.text+0xa36): undefined reference to
> `__mb_sb_limit'
> /usr/src/libexec/atrun/atrun.c:(.text+0xa3f): undefined reference to
> `_CurrentRuneLocale'
> /usr/src/libexec/atrun/atrun.c:(.text+0xa51): undefined reference to `nic=
e'
> /usr/src/libexec/atrun/atrun.c:(.text+0xa8c): undefined reference to `chd=
ir'
> /usr/src/libexec/atrun/atrun.c:(.text+0xa9c): undefined reference to `chd=
ir'
> /usr/src/libexec/atrun/atrun.c:(.text+0xac2): undefined reference to
> `execle'
> /usr/src/libexec/atrun/atrun.c:(.text+0xadd): undefined reference to
> `setegid'
> /usr/src/libexec/atrun/atrun.c:(.text+0xaea): undefined reference to
> `seteuid'
> /usr/src/libexec/atrun/atrun.c:(.text+0xaf2): undefined reference to `clo=
se'
> /usr/src/libexec/atrun/atrun.c:(.text+0xafa): undefined reference to `clo=
se'
> /usr/src/libexec/atrun/atrun.c:(.text+0xb18): undefined reference to
> `waitpid'
> /usr/src/libexec/atrun/atrun.c:(.text+0xb2a): undefined reference to `sta=
t'
> /usr/src/libexec/atrun/atrun.c:(.text+0xb3a): undefined reference to `ope=
n'
> /usr/src/libexec/atrun/atrun.c:(.text+0xb4a): undefined reference to
> `unlink'
> /usr/src/libexec/atrun/atrun.c:(.text+0xb83): undefined reference to
> `seteuid'
> /usr/src/libexec/atrun/atrun.c:(.text+0xb90): undefined reference to
> `setegid'
> /usr/src/libexec/atrun/atrun.c:(.text+0xbc5): undefined reference to `chd=
ir'
> /usr/src/libexec/atrun/atrun.c:(.text+0xbd5): undefined reference to `chd=
ir'
> /usr/src/libexec/atrun/atrun.c:(.text+0xc18): undefined reference to `exe=
cl'
> /usr/src/libexec/atrun/atrun.c:(.text+0xc30): undefined reference to `exi=
t'
> /usr/src/libexec/atrun/atrun.c:(.text+0xc35): undefined reference to
> `__stack_chk_fail'
> /usr/src/libexec/atrun/atrun.c:(.text+0xde6): undefined reference to `exi=
t'
> /usr/src/libexec/atrun/atrun.c:(.text+0xe0a): undefined reference to `exi=
t'
> gloadavg.o: In function `gloadavg':
> /usr/src/libexec/atrun/gloadavg.c:(.text+0x15): undefined reference to
> `getloadavg'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `stpcpy'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `putchar'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `strcpy'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `warnx'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `__stdoutp=
'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `getrlimi=
t'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `ioctl'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `dlerror'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `getgid'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `printf'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to
> `mac_is_present'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to
> `mac_from_text'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `sigemptys=
et'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `strerror=
'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `__pw_sca=
n'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `memmove'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `__stdinp'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to
> `cpuset_setaffinity'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `getenv'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `fchmod'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to
> `setloginclass'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to
> `setpriority'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `mac_free=
'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `getpid'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `qsort'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `fchown'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `memcpy'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `creat'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `errx'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `dup2'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `getuid'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `rtprio'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `feof'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `malloc'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `sleep'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `vsnprintf=
'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `strtouma=
x'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `statfs'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to
> `gethostbyaddr'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to
> `getprogname'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `setgroups=
'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `fflush'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `ftruncat=
e'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `sigaddset=
'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to
> `strncasecmp'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `dlclose'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to
> `posix_openpt'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to
> `freeaddrinfo'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to
> `getnameinfo'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `alarm'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `cpuset'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `strtoq'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `strtol'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to
> `_DefaultRuneLocale'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `cgetstr'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `rename'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `strrchr'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `basename'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `nanoslee=
p'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `calloc'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `setrlimi=
t'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `kldload'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `sysctl'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `modstat'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `fprintf'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `kill'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `strcat'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `initgroup=
s'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `memchr'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `umask'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `mktime'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `reallocf=
'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `strstr'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `unlockpt=
'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `__error'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `flock'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `setgid'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `read'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `strncmp'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `dlopen'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `strncpy'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `setenv'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `strcasec=
mp'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `realloc'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `strtok'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `sigfills=
et'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `memcmp'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to
> `__inet_ntoa'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `execlp'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `sigaction=
'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `dlsym'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to
> `mac_set_proc'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `strdup'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to
> `kldfirstmod'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `index'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `localtim=
e'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `memset'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `fnmatch'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `err'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `modfnext=
'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `getsid'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `kldstat'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `grantpt'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `tcgetattr=
'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `getgroups=
'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `ptsname'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to
> `gethostbyname'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `fgetc'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to
> `gethostname'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `sprintf'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `asprintf'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `strcspn'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `mkstemp'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `getttyna=
m'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `cgetcap'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `strsep'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `fputc'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `fgetln'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to
> `getaddrinfo'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `kldnext'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `localeco=
nv'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `cgetclos=
e'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `quotactl=
'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `link'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `cgetent'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `getgrnam=
'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `atoi'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `_exit'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `strspn'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `__assert=
'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `strchr'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `fputs'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `setsid'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `warn'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `cgetnum'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `setuid'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `tcsetattr=
'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `tcsetsid=
'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `pwrite'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `setlogin=
'
> /usr/obj/usr/src/tmp/usr/lib/libutil.so: undefined reference to `raise'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `free'
> /usr/obj/usr/src/tmp/usr/lib/libpam.so: undefined reference to `sigprocma=
sk'
> 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.
>
> --
> Sphinx of black quartz judge my vow.
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org=
"
>



--=20
Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 ASCII ribbon campaign ( )
e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X
www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \

=A0 "Il y a seulement 10 sortes de gens dans le monde :
=A0 ceux qui comprennent le binaire,
=A0 et ceux qui ne le comprennent pas."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABzXLYPmvd2DdeQMx9uYq5spCK%2BR3ikOZOO6M_M-L2SgnEE74w>