Re: Bug#945133: gcc-9: __has_attribute(ifunc) false positive on hurd and kfreebsd

2020-01-24 Thread Fabian Klötzl
Hi Samuel, I forwarded the bug to the GCC tracker and they said that your interpretation of the docs is correct. I doubt whether they are willing to change the behaviour, but we'll see. Best, Fabian

Re: Bug#945133: gcc-9: __has_attribute(ifunc) false positive on hurd and kfreebsd

2020-01-23 Thread Samuel Thibault
Hello, On 20.11.19 11:43, Fabian Kloetzl wrote: > Recently, the build of one of my packages failed on hurd-i386 and > kfreebsd-* due to unsupported ifuncs [1]. However, I had that code guarded > by __has_attribute(ifunc) which, unfortunately, evaluates to 1 on said > platforms. A minimal testcase

Re: Bug#945133: gcc-9: __has_attribute(ifunc) false positive on hurd and kfreebsd

2020-01-23 Thread Matthias Klose
Forwarded ... On 20.11.19 11:43, Fabian Kloetzl wrote: > Package: gcc-9 > Version: 9.2.1-17 > Severity: normal > > Dear Maintainer, > > Recently, the build of one of my packages failed on hurd-i386 and > kfreebsd-* due to unsupported ifuncs [1]. However, I had that code guarded > by