On Wed, 2022-06-15 at 15:11 +0300, Matti Picus wrote: > > On 14/6/22 18:14, Jesse Peet wrote: > > I am trying to build numpy 1.22.3 in container using a rhel8 host > > and > > the container being rhel7. > > My version of gcc is 4.8.5-44. Here is the error I get > > > > RuntimeError: Broken toolchain: cannot link a simple C++ program. > > note: A compiler with support for C++11 language features is > > required. > > > > > > > > Jesse S. Peet > > Configuration Manager Specialist/Engineer > > Email: jesse.p...@raytheon.com > > Cell: 719-322-4257 > > > We require support for c++11. Please use a newer compiler or an older > version of NumPy. >
Not sure whether 4.8 is not new enough in principle. If that is the case, using `CFLAGS=-std=c++11` might be enough here? There was: https://github.com/numpy/numpy/pull/21306 which sounds like it may have just fixed this. In that case even updating to NumPy 1.22.4 should just be good enough. (Which doesn't mean that a newer compiler may not make sense) - Sebastian > Matti > > _______________________________________________ > NumPy-Discussion mailing list -- numpy-discussion@python.org > To unsubscribe send an email to numpy-discussion-le...@python.org > https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ > Member address: sebast...@sipsolutions.net
signature.asc
Description: This is a digitally signed message part
_______________________________________________ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com