Bug#935086: insighttoolkit4: FTBFS with GCC-9: use of undeclared identifier '__builtin_is_constant_evaluated'

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#935086: insighttoolkit4: FTBFS with GCC-9: use of undeclared identifier '__builtin_is_constant_evaluated'

Gilles Filippini-2
Source: insighttoolkit4
Version: 4.12.2-dfsg1-4
Severity: serious
Justification: FTBFS

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

Insighttoolkit4 FTBFS with:
In file included from /<<PKGBUILDDIR>>/BUILD/Wrapping/itkFixedArray.cxx:1:
In file included from /<<PKGBUILDDIR>>/Modules/Core/Common/include/itkCommand.h:21:
In file included from /<<PKGBUILDDIR>>/Modules/Core/Common/include/itkObject.h:31:
In file included from /<<PKGBUILDDIR>>/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /<<PKGBUILDDIR>>/Modules/Core/Common/include/itkMacro.h:47:
In file included from /usr/include/c++/9/string:48:
/usr/include/c++/9/bits/stl_function.h:418:6: error: use of undeclared identifier '__builtin_is_constant_evaluated'
        if (__builtin_is_constant_evaluated())
            ^
- -- Found object: "/<<PKGBUILDDIR>>/data/.ExternalData/MD5/7665397f59eaeb65c578e8712be70e79"
/usr/include/c++/9/bits/stl_function.h:437:6: error: use of undeclared identifier '__builtin_is_constant_evaluated'
        if (__builtin_is_constant_evaluated())
            ^
/usr/include/c++/9/bits/stl_function.h:456:6: error: use of undeclared identifier '__builtin_is_constant_evaluated'
        if (__builtin_is_constant_evaluated())
            ^
/usr/include/c++/9/bits/stl_function.h:475:6: error: use of undeclared identifier '__builtin_is_constant_evaluated'
        if (__builtin_is_constant_evaluated())
            ^
This seems related to GCC-9.
Full buildlog available on demand.

Thanks,

_g.

- -- System Information:
Debian Release: buster/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEoJObzArDE05WtIyR7+hsbH/+z4MFAl1ahPMACgkQ7+hsbH/+
z4NlqAf/YXeuCAqgyr66wanyke1aJJOn8YQr/eV/jPVc9LU0lhqwJyuH0KqGbfPG
3e/S7cwLRPtGfGDdiHHNIjLTxtbScWGEEQ8BYfOqosQ0tteP8H2BLzXp79gnNnUR
J4Boq3W+6BRKuUoa53YEoxCJIrz3fwlZR5oJWowfVhQ/XSWIFmoS/ZdQEuoAR5c/
CjidFWwk5DUAOT2x9NHpEeJCPkX1aYibYigQsMySfGB4zznoRbBe9Y/ttH1zyYPE
nwajwmd8dK7t1YGpkRucwCr6t5+nlKPKxlchwz4jY/isWfi2UpTP16tv8jAmPPCJ
VuUsplljecyl97yZu8hUKHe2fIMI8g==
=uac6
-----END PGP SIGNATURE-----