This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix finite-math-only lgamma functions signgam setting (bug 19211)
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Mon, 14 Mar 2016 23:50:18 +0100
- Subject: Re: Fix finite-math-only lgamma functions signgam setting (bug 19211)
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1511051858550 dot 26133 at digraph dot polyomino dot org dot uk> <87egbcog42 dot fsf at linux-m68k dot org> <alpine dot DEB dot 2 dot 10 dot 1603142226000 dot 30856 at digraph dot polyomino dot org dot uk>
Joseph Myers <joseph@codesourcery.com> writes:
> On Mon, 14 Mar 2016, Andreas Schwab wrote:
>
>> > +#undef _LIBC
>> > +#undef _GNU_SOURCE
>> > +#define _ISOMAC
>>
>> That doesn't compile:
>>
>> In file included from ../math/math.h:472:0,
>> from ../include/math.h:3,
>> from test-signgam-finite-c99.c:24:
>> ../sysdeps/m68k/m680x0/fpu/bits/mathinline.h:153:1: error: â__leaf__â attribute has no effect on unit local functions [-Werror=attributes]
>> __inline_mathop(__atan, atan)
>
> Presumably some architecture-specific fix is required for whatever the
> issue is with building with that combination of macros
No, you cannot just #undef _LIBC.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."