[MacPorts] #57724: py37-zmq @17.1.2: Build failure on OSX PPC: can't locate installed zmq
MacPorts
noreply at macports.org
Sun Dec 9 16:28:15 UTC 2018
#57724: py37-zmq @17.1.2: Build failure on OSX PPC: can't locate installed zmq
---------------------------+----------------------
Reporter: SerpentChris | Owner: jrjsmrtn
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: py-zmq |
---------------------------+----------------------
Comment (by kencu):
Here is the error and gdb run with the stock version, built with that
block in:
{{{
$ ./zmq_vers
Illegal instruction
$ gdb ./zmq_vers
GNU gdb 6.3.50-20050815 (Apple version gdb-967) (Tue Jul 14 02:15:14 UTC
2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "powerpc-apple-darwin"...Reading symbols for
shared libraries .... done
(gdb) run
Starting program: /Users/cunningh/zmq_vers
Reading symbols for shared libraries +++.. done
Program received signal EXC_BAD_INSTRUCTION, Illegal instruction/operand.
0x0008d034 in _mh_dylib_header ()
(gdb) bt
#0 0x0008d034 in _mh_dylib_header ()
#1 0x000b41e0 in std::_Rb_tree<std::string, std::pair<std::string const,
zmq::own_t* (zmq::session_base_t::*)(zmq::io_thread_t*, bool)>,
std::_Select1st<std::pair<std::string const, zmq::own_t*
(zmq::session_base_t::*)(zmq::io_thread_t*, bool)> >,
std::less<std::string>, std::allocator<std::pair<std::string const,
zmq::own_t* (zmq::session_base_t::*)(zmq::io_thread_t*, bool)> >
>::_M_insert_unique<std::pair<std::string const, zmq::own_t*
(zmq::session_base_t::*)(zmq::io_thread_t*, bool)>*> ()
#2 0x000edbfc in _GLOBAL__sub_I_session_base.cpp ()
#3 0x8fe13834 in
__dyld__ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE
()
#4 0x8fe0f248 in
__dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEj ()
#5 0x8fe0f198 in
__dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEj ()
#6 0x8fe0f36c in
__dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextE ()
#7 0x8fe03848 in __dyld__ZN4dyld24initializeMainExecutableEv ()
#8 0x8fe08144 in __dyld__ZN4dyld5_mainEPK11mach_headermiPPKcS5_S5_ ()
#9 0x8fe01774 in __dyld__ZN13dyldbootstrap5startEPK11mach_headeriPPKcl ()
#10 0x8fe01048 in __dyld__dyld_start ()
(gdb) quit
The program is running. Exit anyway? (y or n) y
}}}
I have no idea at this moment what is going on to cause this illegal
instruction error when zmq is build with gcc6 in -std=c++11 mode, but
whatever it is goes away when zmq is built with gcc-4.2 in non-c++11 mode.
Now we have to see why that block forcing gcc6 / c++11 for PPC is in the
Portfile in the first place...
--
Ticket URL: <https://trac.macports.org/ticket/57724#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list