SUGGEST: Patch for compiling unzip using hardened CFLAGS

Aki Tuomi cmouse at
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/
> cannot make segment writable for relocation: Permission denied
> /usr/lib/  0x00000016 (TEXTREL)                    0x0
> -- 
> Groetjes Japie
> -- 
> 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. 

Aki Tuomi

More information about the hlfs-dev mailing list