Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141007164415.GA10696@zx-spectrum.accesssoftek.com>
Date: Tue, 7 Oct 2014 19:44:15 +0300
From: Sergey Dmitrouk <sdmitrouk@...esssoftek.com>
To: <musl@...ts.openwall.com>
Subject: Why *l math functions are just skipped for some targets?

Hi,

files like __fpclassifyl.c omit implementation for corresponding
functions on platforms where sizeof(long double) == sizeof(double).
This is fine when musl is compiled at least with -O1 and compiler
omits calls to non-existing functions, but if one builds debug version
without optimizations, some executables end up having unresolved symbols
for functions like __fpclassifyl().

This causes some inconvenience.  Also, optimizing compilers are not
intended to allow such hacks, it just happens to be so.  Is there any
reason to not provide some stub functions?  I can image small size is
the reason, but not sure it justifies unexpected unresolved symbols.  At
least a comment in place of absent functions would be helpful.

Best regards,
Sergey

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.