NetBSD-Bugs archive

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

Re: port-arm/45520: -pie broken, breaks some pkgsrc builds.



I've ported:

>  exec_elf.c:revision 1.13

rm -f .gdbinit
touch .gdbinit
#   compile  hello/hello.o
cc -pie -fPIE   -Werror      -c    hello.c
#      link  hello/hello
cc     -pie      -o hello  hello.o -lgcc_s          -Wl,-rpath-link,/lib  
-L/lib -Wl,-rpath-link,/usr/lib  -L/usr/lib
marie hello !% make test
./hello
vmcmd[0] = 0/0x1000 fd@0 prot=05 flags=4
execve: vmcmd 0 failed: 12
*** Signal 6

Stop.
make: stopped in /home/is/ctest/hello

Regards,
        -is


Home | Main Index | Thread Index | Old Index