Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20130203150830.GA12237@brightrain.aerifal.cx>
Date: Sun, 3 Feb 2013 10:08:30 -0500
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: ARM regression in 0.9.9, patch available

Thanks to testing by sabotage users (failed Perl build), I've
identified and fixed a regression in shared library support on ARM.
The ctor/dtor support code's references to init_array and fini_array
were not properly marked hidden and thus were not being resolved at
link-time, leaving (ignored) textrels in the library.

Anyone using musl 0.9.9 on ARM should apply this patch before
attempting to build shared libraries:

http://git.musl-libc.org/cgit/musl/commit/?id=d432b2c057fc64256645422382c2f7e32c45b3cc

The broken code is part of crt[in].o, not part of libc.so, so if you
do experience breakage from this issue, the remedy is to relink your
shared library files that were linked using the bad crt[in].o files,
not to replace musl's libc.so. Since musl itself does not link with
any startfiles, libc.so is unaffected by the issue.

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.