Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 24 May 2015 04:36:52 +0000
From: Arjen Roodselaar <>
To: "" <>
Subject: Trouble compiling musl for MIPS softfloat

I am trying to compile musl for use on devices powered by a MIPS 24kc, a SoC without hardware floating point support. The supported target architectures list specifically mentions this, but so far I have been unable to get this working. In short, using mips-sf-linux-gnu as the target in the configure step seems to enable soft float support as per this output: When linking however ld warns about a small number of files being compiled with -mhard–float, resulting in to use -mhard–float: This then trickles down in anything I try to link against libc. Ignoring all this and simply compiling hard-float binaries is causing problems when executing malloc.

Tools used here:


(I tried musl 1.0.5 and gcc 4.9.2 but neither seem to make a difference here).

Am I missing something here or is soft float support for MIPS currently broken? Any help is appreciated.

Arjen Roodselaar

Content of type "text/html" skipped

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.