From: Kai W. <kai...@gm...> - 2012-08-12 16:23:30
|
On Sat, Aug 11, 2012 at 06:42:50PM +0200, Michal Mazurek wrote: > On Sat, Aug 11, 2012 at 05:17:27PM +0200, Kai Wang wrote: > > On Sat, Aug 11, 2012 at 08:53:19AM +0200, Michal Mazurek wrote: > > > On Sat, Aug 11, 2012 at 12:18:55AM +0200, Kai Wang wrote: > > > > Hi, > > > > > > > > On Fri, Aug 10, 2012 at 02:16:28PM +0200, Michal Mazurek wrote: > > > > > Hello, > > > > > > > > > > I'm trying to get elftoolchain to work on Bitrig, an OpenBSD fork. > > > > > > > > > > > > > > > Elftoolchain compiles after applying the attached patch, but strip seems > > > > > to have a bug. Here is the difference between a binary stripped with gnu > > > > > strip, and elftoolchain strip: > > > > > > > > Thanks for reporting this bug. Could you please put the binary file > > > > you used to test strip somewhere online, or email it to me? > > > > > > I uploaded the binary files here (the make program): > > > http://akfaew.jasminek.net/crap/elftoolchain/ > > > > > > make.notstripped - not stripped > > > make.elf - stripped with elftoolchain > > > make.gnu - stripped with gnu strip > > > > Thanks. It should be fixed by r2540. Let me know if it still doesn't > > work for you. > > Thank you, I managed to build world now, however there is still a difference. > Stripping the uploaded binary make.notstripped with gnu strip and elftoolchain > strip produces this difference: Thanks for the feedback. readelf(1) issue was fixed by r2541. The strip(1) different phdr size issue should be fixed by r2542. Kai |