Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 21 Oct 2019 20:09:56 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: another armv7-m exception handling problem

* Patrick Oppenlander <patrick.oppenlander@...il.com> [2019-10-21 15:43:40 +1100]:
> Not sure if this is a musl, gcc or ld bug.
> 
> Running gcc-8.3.0 musl 1.1.24 static pie.

providing binutils version number is useful if there is
a chance that it's an ld bug.

this seems to be
https://sourceware.org/bugzilla/show_bug.cgi?id=22269

which was supposed to be fixed by
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=95b03e4ad68e7a90f5096b47df595636344b783a

but apperently there are still missing cases.
(it does not help that the ld test for this bug
greps for R_*_NONE dynrelocs but not R_*_RELATIVE
which i is just as bad for undef weak syms in pie)
i added a note to the bug.

if you add __attribute__((visibility("hidden")))
to the example given by Rich then it works, the
bug only affects static pie linking.

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.