Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2014 12:08:12 +0300
From:      Chagin Dmitry <dchagin@freebsd.org>
To:        Jimmy Kelley <ljboiler@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Fail building libc in 10-STABLE rev 276179
Message-ID:  <20141227090812.GA4676@dchagin.static.corbina.net>
In-Reply-To: <20141225142926.GA35170@jmobile.jimmy.localnet>
References:  <20141225142926.GA35170@jmobile.jimmy.localnet>

next in thread | previous in thread | raw e-mail | index | archive | help

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



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