Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211110154045.GB2713@voyager>
Date: Wed, 10 Nov 2021 16:40:45 +0100
From: Markus Wichmann <nullplan@....net>
To: musl@...ts.openwall.com
Subject: Re: Cross compiling with LLVM/clang

On Wed, Nov 10, 2021 at 05:28:57PM +1100, Matt Andrews wrote:
> ./configure: error: unsupported long double type

musl supports three implementations of "long double": IEEE 754 double
precision, IEEE 754 double extended precision, and IEEE 754 quad
precision (also known as Binary-64, Binary-80, and Binary-128,
respectively). The configure program attempts to figure out which of
these your compiler is using by including <float.h> and testing the
standard macros LDBL_MANT_DIG and LDBL_MAX_EXP for well known
combinations.

Thankfully, with gcc and clang these are easy to find out:

$COMPILER -E -dM -xc /dev/null | grep LDBL

Can you post the output of this (setting COMPILER to "clang
--target=whatever")? It is possible you need another switch to change
the "long double" implementation. Note that that needs to be consistent
across all compiles against musl.

Ciao,
Markus

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.