[MacPorts] #45483: gcc49: bug in libstdc++ when using std::complex

MacPorts noreply at macports.org
Mon Oct 20 09:00:50 PDT 2014


#45483: gcc49: bug in libstdc++ when using std::complex
------------------------+-------------------
  Reporter:  vsoftco@…  |      Owner:  mww@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.3.2
Resolution:             |   Keywords:
      Port:  gcc49      |
------------------------+-------------------

Comment (by larryv@…):

 I know what’s going on. The crash log looks uncomfortably familiar…
 {{{
 Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
 Exception Codes:       EXC_I386_GPFLT

 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
 0   libdyld.dylib                       0x00007fff82b01432
 stack_not_16_byte_aligned_error + 0
 }}}
 …because this is my old friend, the [[comment:35:ticket:44596|Libtool
 MACOSX_DEPLOYMENT_TARGET bug]].

 I’ve attached a [[attachment:yosemite-symbol-lookup.patch|preliminary
 patch]]. Could you try it?
 {{{
 % sudo port uninstall libgcc gcc49 && sudo port clean libgcc gcc49
 % sudo port patch libgcc
 % curl https://trac.macports.org/raw-attachment/ticket/45483/yosemite-
 symbol-lookup.patch | sudo patch -p1 -d $(port dir libgcc)/gcc-4.9.1
 % sudo port install libgcc
 % sudo port patch gcc49
 % curl https://trac.macports.org/raw-attachment/ticket/45483/yosemite-
 symbol-lookup.patch | sudo patch -p1 -d $(port dir libgcc)/gcc-4.9.1
 % sudo port install gcc49
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/45483#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list