SUGGEST: Patch for compiling unzip using hardened CFLAGS
cmouse at youzen.ext.b2.fi
Wed Oct 12 02:27:51 PDT 2005
On Tue, Oct 11, 2005 at 02:27:24PM +0200, Jaap Struyk wrote:
> Op ma 10-10-2005, om 20:19 schreef Aki Tuomi:
> > Thanks, here is a fixed patch and compilation instructions for LINUX/x86
> > target.
> The new patch works great but there are still a problems with it:
> unzip: error while loading shared libraries: /usr/lib/libunzip.so.0:
> cannot make segment writable for relocation: Permission denied
> /usr/lib/libunzip.so: 0x00000016 (TEXTREL) 0x0
> Groetjes Japie
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
You MUST use linux_noasm target, not linux, when compiling. If you
use linux, it'll use ASM code which causes TEXTREL to emerge.
Try again, please. I just tested my patch and it works. Make sure it
does not use ASM code when compiling.
More information about the hlfs-dev