Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110807220025.GL132@brightrain.aerifal.cx>
Date: Sun, 7 Aug 2011 18:00:25 -0400
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: Compilation error

On Mon, Aug 08, 2011 at 12:09:40AM +0200, Szabolcs Nagy wrote:
> * Rich Felker <dalias@...ifal.cx> [2011-08-07 15:50:06 -0400]:
> > It should be working with latest commit. If not, please tell me what
> > goes wrong.
> > 
> 
> it seems to work but i'm not sure what the code does
> 
> isn't it enough to
> weakalias(sc_clock_gettime, __vdso_clock_gettime);
> and then just use __vdso_clock_gettime ?
> 
> (so no __cgt etc)

No, because -Bsymbolic-functions binds it at link-time, or in other
words, libc.so is intentionally built with no PLT because that makes
it faster to start, faster to run, and lighter in memory.

Otherwise, without -Bsymbolic-functions, you would be right.

> (for some reason dynamic linking with musl fails now if i
> compile musl with pcc imho it used to work..)

Can you find where it fails?

Rich

Powered by blists - more mailing lists

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