This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug middle-end/72076] cmath: illegal instruction (constexpr)


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72076

--- Comment #4 from Thorsten Hirsch <t.hirsch at web dot de> ---
Sorry, you lost me - does my GMP installation cause the compilation error
(illegal instruction) or does it cause the lonely constexpr without a type
in the cmath header?

In other words: is the lonely constexpr a bug at all? I've checked the
cmath header in Ubuntu 16.04 (/usr/include/c++/5/cmath) and it also
contains this constexpr without a type at more or less the same position
(line 1459 to be precise).

2016-08-06 7:37 GMT+02:00 pinskia at gcc dot gnu.org <
gcc-bugzilla@gcc.gnu.org>:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72076
>
> --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> (In reply to Thorsten Hirsch from comment #2)
> > In that case it might be a problem of Arch's multilib, which is their
> way of
> > allowing 32bit compilations on x64, see [1] and [2]. So my gcc package is
> > called gcc-multilib, which includes (depends on) the 32bit package of
> glibc,
> > thus I've installed packages for both architectures. And I have 2 gmp
> > packages:
> >
> > $ pacman -Q | grep -i gmp
> > gmp 6.1.1-1
> > lib32-gmp 6.1.0-2
> >
> > (I just checked if there's version 6.1.1 for 32bit, but it's not
> available,
> > yet.)
>
>
> No the problem is GMP is compiled say skylake but used on boardwell.
>
> --
> You are receiving this mail because:
> You reported the bug.

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