NetBSD-Bugs archive

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

Re: toolchain/50008: netbsd-7 doesn't build with MKPIE=yes



aniou%smutek.pl@localhost wrote:
> With MKPIE=yes system build fails with:
> 
> /usr/obj.7/tooldir.NetBSD-7.99.9-amd64/bin/x86_64--netbsd-gcc -O2   -std=gnu99   -Werror  -m32 -fPIC -m32 -fstack-protector -Wstack-protector   --param ssp-buffer-size=1   --sysroot=/usr/obj.7/destdir.amd64 -I/usr/src.7/sys/external/bsd/sljit/dist/sljit_src  -D_FORTIFY_SOURCE=2 -c    /usr/src.7/sys/external/bsd/sljit/dist/sljit_src/sljitLir.c -o sljitLir.o
> In file included from /usr/src.7/sys/external/bsd/sljit/dist/sljit_src/sljitLir.c:1382:0:
> /usr/src.7/sys/external/bsd/sljit/dist/sljit_src/sljitNativeX86_common.c: In function 'sljit_emit_op1':
> /usr/src.7/sys/external/bsd/sljit/dist/sljit_src/sljitNativeX86_common.c:298:2: error: PIC register clobbered by '%rbx' in 'asm'
>   __asm__ (
>   ^

Please try r1.2 of sys/arch/amd64/include/sljit_machdep.h from -current
and report if it fixes the build. There were other errors on -current
last time I tried.

Alex


Home | Main Index | Thread Index | Old Index