Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20141109202522.03911db3@free-electrons.com>
Date: Sun, 9 Nov 2014 20:25:22 +0100
From: Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>
To: musl@...ts.openwall.com
Subject: Incorrect dynamic linker patch in gcc patch for MIPS

Hello,

I've already filled a report for this at
https://bitbucket.org/GregorR/musl-cross/issue/4/invalid-mips-soft-float-linker-path,
but I thought it would be good to mention that on the mailing list as
well.

The issue is that the musl build system, for MIPS soft float, installs a
dynamic linker symbolic link that contains a -sf suffix, but the gcc
patches for musl do not take into account this additional suffix.

For sure it's
https://bitbucket.org/GregorR/musl-gcc-patches/src/840cc2b165144383e061001b87e7f5b853d54c1a/mips.diff?at=default
that needs fixing, but I'm not sure on which gcc option should the
condition be added. Is it something like:

-#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-mips" MUSL_DYNAMIC_LINKER_E ".so.1"
+#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-mips" MUSL_DYNAMIC_LINKER_E "%{msoft-float:-sf}.so.1"

 ?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.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.