From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9371 Path: news.gmane.org!not-for-mail From: Dima Krasner Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH] fix unresolved symbol issues on ARMv7 due to raise/divmod dependency Date: Tue, 23 Feb 2016 22:21:20 +0200 Message-ID: <20160223222120.253fa62ba0205776c235c22a@dimakrasner.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1456258920 8153 80.91.229.3 (23 Feb 2016 20:22:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Feb 2016 20:22:00 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9384-gllmg-musl=m.gmane.org@lists.openwall.com Tue Feb 23 21:21:53 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1aYJSv-0003KK-Ia for gllmg-musl@m.gmane.org; Tue, 23 Feb 2016 21:21:49 +0100 Original-Received: (qmail 12160 invoked by uid 550); 23 Feb 2016 20:21:46 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 12079 invoked from network); 23 Feb 2016 20:21:37 -0000 X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; arm-unknown-linux-gnueabihf) X-Zoho-Virus-Status: 1 Xref: news.gmane.org gmane.linux.lib.musl.general:9371 Archived-At: Similar to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31798 Signed-off-by: Dima Krasner --- 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