Re: 5.7-stable i386: crunchgen-produced programs segfault

2015-04-08 Thread Brian Conway
Thanks, working from /usr/src/distrib/special helped get things sorted out. Brian Conway On Tue, Apr 7, 2015 at 4:00 PM, Ted Unangst wrote: > Brian Conway wrote: >> I get similar results when swapping in ls, pax, and so on. However, >> the make release process generates a working instbin binary

Re: 5.7-stable i386: crunchgen-produced programs segfault

2015-04-07 Thread Theo de Raadt
>Brian Conway wrote: >> I get similar results when swapping in ls, pax, and so on. However, >> the make release process generates a working instbin binary as used by >> bsd.rd, so it's working elsewhere and it's not clear if there's a user >> step I'm missing. > >There have been changes to the -fPI

Re: 5.7-stable i386: crunchgen-produced programs segfault

2015-04-07 Thread Brian Conway
Thanks, I'll start looking there. This is in the context of flashrd not being bootable on i386 at the moment: https://github.com/yellowman/flashrd/issues/30 Brian Conway Founder, Owner RCE Software, LLC On Tue, Apr 7, 2015 at 4:00 PM, Ted Unangst wrote: > Brian Conway wrote: >> I get similar r

Re: 5.7-stable i386: crunchgen-produced programs segfault

2015-04-07 Thread Ted Unangst
Brian Conway wrote: > I get similar results when swapping in ls, pax, and so on. However, > the make release process generates a working instbin binary as used by > bsd.rd, so it's working elsewhere and it's not clear if there's a user > step I'm missing. There have been changes to the -fPIE defau

5.7-stable i386: crunchgen-produced programs segfault

2015-04-07 Thread Brian Conway
Greetings. I'm running into an issue with crunchgen. The following simplified test case works perfectly on the latest 5.7-stable amd64 and 5.6-stable i386: # cat kcopy.conf srcdirs /usr/src/bin progs echo # crunchgen -Em Makefile kcopy.conf # make clean && make objs && make rm -f kcopy *.lo *.o *