Opened 5 years ago
Last modified 11 months ago
#59911 assigned defect
py37-scipy @1.4.1: Build failure on Tiger PPC
Reported by: | SerpentChris (Chris Calderon) | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | tiger powerpc | Cc: | cooljeanius (Eric Gallager) |
Port: | py-scipy |
Description
OS version is 10.4.11. Not really sure what causes the build issue, though I noticed some of the errors mention //usr/include/c++/4.0.0/cxxabi.h
Attachments (2)
Change History (9)
Changed 5 years ago by SerpentChris (Chris Calderon)
comment:1 Changed 5 years ago by kencu (Ken)
comment:2 Changed 5 years ago by kencu (Ken)
Setting compiler.cxx_standard 2011
in the Portfile seems to work to configure it to use gcc7 for the c++ compiler. It still uses gcc6 for the fortran compiler as I guess that is in the compilers-1.0
PortGroup. Building now. Will report back success or failure once done.
comment:3 Changed 5 years ago by kencu (Ken)
Fails. Lots of ugly-looking errors. At one point throws in a -mmacosx-version-min=10.9
during a build on 10.4, so seriously hosed build.
The final linker error that kills it is:
ld: symbol dyld_stub_binding_helper not defined
so it's a real mess. Log attached.
Changed 5 years ago by kencu (Ken)
Attachment: | py37-scipy-fail-gcc7.log added |
---|
comment:4 Changed 5 years ago by michaelld (Michael Dickens)
This might be fixed in [d07e7d5de26d0a16ddd5f9b5b2b30f767ed74f89/macports-ports] ... forcing C++11, C11, and thread_local storage ... please update and see if this works for you.
comment:5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
I would guess that that would not help, since python does not support modules written in C++, so any specifications MacPorts may make about what C++ compiler or CXXFLAGS should be used will be ignored. See https://github.com/pypa/setuptools/issues/1732, https://github.com/pypa/setuptools/issues/1192, https://bugs.python.org/issue1222585.
comment:6 Changed 4 years ago by mf2k (Frank Schima)
Cc: | michaelld@… removed |
---|---|
Keywords: | tiger powerpc added |
Owner: | set to michaelld |
Port: | py-scipy added; py37-scipy removed |
Status: | new → assigned |
comment:7 Changed 11 months ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
The c++ bits are building with gcc-4.2, but this software requires a c++11 compiler. Will see how to fix this.