[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#796076: gcc-5: undefined reference errors with extern __inline__ (regression)



On 2015-08-20 13:19:23 +0200, Matthias Klose wrote:
> see https://gcc.gnu.org/gcc-5/porting_to.html
> 
> __attribute__ ((gnu_inline)) should be your fix.

Yes, this has been fixed in GMP 4.2, but the (very old) GMP 4.1 branch
will never be fixed. This is a bit annoying, as for MPFR up to 3.1.x,
we claim that we still support GMP 4.1.x, which is true, but this bug
makes the MPFR build fail with a misleading error message in configure
(we also suggest in the error message to look at config.log, where one
can find a bit more about the real reason of the failure, but this
doesn't give an idea of what is wrong exactly). I have improved the
gmp.h testing in the MPFR configure so that one gets a more meaningful
error if gmp.h isn't usable at all (+ mentioning this incompatibility
between GMP 4.1.x and GCC 5, in the MPFR 3.1 branch).

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: