|
Message-Id: <20160223222120.253fa62ba0205776c235c22a@dimakrasner.com> Date: Tue, 23 Feb 2016 22:21:20 +0200 From: Dima Krasner <dima@...akrasner.com> To: musl@...ts.openwall.com Subject: [PATCH] fix unresolved symbol issues on ARMv7 due to raise/divmod dependency Similar to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31798 Signed-off-by: Dima Krasner <dima@...akrasner.com> --- tools/ld.musl-clang.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/ld.musl-clang.in b/tools/ld.musl-clang.in index 93763d6..bb6cbaf 100644 --- a/tools/ld.musl-clang.in +++ b/tools/ld.musl-clang.in @@ -48,4 +48,5 @@ for x ; do esac done -exec $($cc -print-prog-name=ld) -nostdlib "$@" -lc -dynamic-linker "$ldso" +lgcc=$($cc -print-file-name=libgcc.a) +exec $($cc -print-prog-name=ld) -nostdlib "$@" --as-needed $lgcc --no-as-needed -lc --as-needed $lgcc --no-as-needed -dynamic-linker "$ldso" -- 2.1.4 -- Dima Krasner <dima@...akrasner.com>
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.