This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix finite-math-only lgamma functions signgam setting (bug 19211)


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]