#25042: g++-mp-4.3 aborts instead of catching exceptions --------------------------------------+------------------------------------- Reporter: jsanchez@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: gcc43 --------------------------------------+------------------------------------- Comment(by jsanchez@…): Here is the relevant part of the specs file from XCODE: {{{ *libgcc: %{static:-lgcc_static; static-libgcc: -lgcc_eh -lgcc; miphoneos-version-min=*: %(darwin_iphoneos_libgcc); shared-libgcc|fexceptions|fgnu-runtime: %:version-compare(!> 10.5 mmacosx-version-min= -lgcc_s.10.4) %:version-compare(>< 10.5 10.6 mmacosx-version-min= -lgcc_s.10.5) -lgcc; :%:version-compare(>< 10.3.9 10.5 mmacosx-version-min= -lgcc_s.10.4) %:version-compare(>< 10.5 10.6 mmacosx-version-min= -lgcc_s.10.5) -lgcc} }}} and here is the one from g++-mp-4.3: {{{ *libgcc: %{static-libgcc|static: -lgcc_eh -lgcc; shared-libgcc|fexceptions|fgnu-runtime: %:version-compare(!> 10.5 mmacosx-version-min= -lgcc_s.10.4) %:version-compare(>= 10.5 mmacosx-version-min= -lgcc_s.10.5) -lgcc; :%:version-compare(>< 10.3.9 10.5 mmacosx- version-min= -lgcc_s.10.4) %:version-compare(>= 10.5 mmacosx- version-min= -lgcc_s.10.5) -lgcc} }}} Putting the xcode version in the spec file and using the "-spec=myspecfile" results in a regression which passes for my software. -- Ticket URL: <http://trac.macports.org/ticket/25042#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS