NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: release 5.0.1 - build userland fails on libc ??



On Tue, Jan 12, 2010 at 12:08:30PM +0100, Asmodehn Shade wrote:
> /usr/src/tooldir.sysupdate/lib/gcc/x86_64--netbsd/4.1.3/../../../../x86_64--netbsd/bin/ld:
> libc_pic.a(posix_fadvise.so): relocation R_X86_64_32 against
> `SYS_posix_fadvise' can not be used when making a shared object; recompile
> with -fPIC
> libc_pic.a(posix_fadvise.so): could not read symbols: Bad value
> collect2: ld returned 1 exit status

Do you, by chance, have old object files (from a previous build) lying around
in your object directory? If so, try removing the whole $OBJDIR/lib/libc
directory and try again.

Martin


Home | Main Index | Thread Index | Old Index