-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
triageNew bug, unverifiedNew bug, unverified
Description
Required prerequisites
- Make sure you've read the documentation. Your issue may be addressed there.
- Search the issue tracker and Discussions to verify that this hasn't already been reported. +1 or comment there if it has.
- Consider asking first in the Gitter chat room or in a Discussion.
Problem description
In the SageMath 9.5 development series we have just upgraded to pybind11
2.7.1 and have noticed that building scipy
1.6.3 now fails with the default compilers on the platforms linuxmint-17
(gcc 4.8.4-2ubuntu1~14.04.3
) and ubuntu-trusty
(gcc 4.8.4-2ubuntu1~14.04.4
). pybind11's README still claims "GCC 4.8 or newer" is supported, so this seems to be a regression.
Likely caused by #2956 . The complicated condition for __GLIBCXX__
,
#if defined(__GLIBCXX__) && (__GLIBCXX__ < 20150422 || __GLIBCXX__ == 20150623 || __GLIBCXX__ == 20150626 || __GLIBCXX__ == 20160803)
not fully explained in that PR, misses the value on the two failing platforms, which is 20150426
.
Looks like the pybind11 CI does not catch this -- you test centos-7
, which uses gcc 4.8.5 (__GLIBCXX__ = 20150623
), which works.
Tracked in https://trac.sagemath.org/ticket/32515
Reproducible example code
No response
Metadata
Metadata
Assignees
Labels
triageNew bug, unverifiedNew bug, unverified