Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 27 May 2015 16:23:26 +0300
From: Timo Teras <timo.teras@....fi>
To: Alex Dowad <alexinbeijing@...il.com>
Cc: musl@...ts.openwall.com
Subject: Re: Question re: dynamic linking in musl

On Wed, 27 May 2015 15:15:03 +0200
Alex Dowad <alexinbeijing@...il.com> wrote:

> On 27/05/15 15:09, Timo Teras wrote:
> > On Wed, 27 May 2015 16:01:50 +0300 (MSK)
> > Alexander Monakov <amonakov@...ras.ru> wrote:
> >
> >> I'm not familiar with Alpine.  Hopefully someone else can chime in
> >> whether .gnu.hash is deliberately disabled.
> > We have not touched, so we are using the gcc default. Which
> > apparently then is sysv only (bummer).
>
> Yes, that callgrind profile was from a program installed from Alpine
> repos.
> 
> Use --hash-style=both in LD_FLAGS when building the APKs, and dynamic 
> linking will become much faster!

We want that in the toolchain. It's gcc configure option:
  --with-linker-hash-style={sysv,gnu,both}

I wonder if it should be 'gnu' or 'both'. Apparently 'both' will be
larger as then everything is hashed twice.

Is there any known issues if I just specify 'gnu' ?

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.