Fail building libc in 10-STABLE rev 276179
Chagin Dmitry
dchagin at freebsd.org
Sat Dec 27 09:26:41 UTC 2014
On Thu, Dec 25, 2014 at 08:29:26AM -0600, Jimmy Kelley wrote:
> Anyone else seeing this?
>
>
> cc -fpic -DPIC -O2 -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 -DNLS -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -I/usr/src/lib/libc/../../contrib/libc-vis -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libmd -I/usr/src/lib/libc/../../contrib/jemalloc/include -I/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -c /usr/src/lib/libc/st
> ring/wmemset.c -o wmemset.So
> building shared library libc.so.7
> /usr/bin/ld: ppoll.So: relocation R_X86_64_32 against `SYS_ppoll' can not be used when making a shared object; recompile with -fPIC
> ppoll.So: could not read symbols: Bad value
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> *** Error code 1
>
copy $src/sys/sys/poll.h to /usr/include/sys/poll.h
--
Have fun!
chd
More information about the freebsd-stable
mailing list