[MacPorts] #36092: PDFTK broken after GCC47 upgrade
#36092: PDFTK broken after GCC47 upgrade -------------------------------------------+-------------------------------- Reporter: angelo.graziosi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: -------------------------------------------+-------------------------------- On Lion 10.4.7 and Xcode 4.4.1 I did $ sudo port selfupdate[[BR]] [...] $ sudo port outdated[[BR]] [...] $ sudo port upgrade outdated[[BR]] [...] and as consequence of the upgrade of GCC47, PDFTK was rebuilt... But it failed. Attached are the full output of the above commands and the main log. -- Ticket URL: <https://trac.macports.org/ticket/36092> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36092: PDFTK broken after GCC47 upgrade -------------------------------------------+-------------------------------- Reporter: angelo.graziosi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: -------------------------------------------+-------------------------------- Comment(by angelo.graziosi@…): It seems I forgot an attachment... :-) -- Ticket URL: <https://trac.macports.org/ticket/36092#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36092: PDFTK broken after GCC47 upgrade --------------------------------+-------------------------------- Reporter: angelo.graziosi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | --------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: jeremyhu@… (added) Comment: Do I need to do something to fix this in pdftk or is this a bug in the gcc ports? -- Ticket URL: <https://trac.macports.org/ticket/36092#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36092: PDFTK broken after GCC47 upgrade --------------------------------+-------------------------------- Reporter: angelo.graziosi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | --------------------------------+-------------------------------- Comment (by howarth@…): Are you sure this isn't http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41991? There are still unwinder issues with [[BR]] gcj on darwin9 but not on darwin10/11/12 (because those use the compatibiity unwinder in libSystem). -- Ticket URL: <https://trac.macports.org/ticket/36092#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36092: PDFTK broken after GCC47 upgrade --------------------------------+-------------------------------- Reporter: angelo.graziosi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | --------------------------------+-------------------------------- Comment (by jeremyhu@…): {{{ /opt/local/bin/g++-mp-4.7 -Wall -Wextra -Weffc++ -O2 attachments.o report.o pdftk.o ../java/java_lib.o /opt/local/lib/gcc47/gcc/x86_64 -apple-darwin11/4.7.1/../../../libgcj.dylib /usr/lib/libstdc++.dylib /opt/local/lib/gcc47/gcc/x86_64-apple- darwin11/4.7.1/../../../libgcc_s.1.dylib -liconv -lz -o pdftk }}} The problem is that it's trying to use the host's /usr/lib/libstdc++.dylib when it should be using the one from MacPorts (which would happen automatically...) -- Ticket URL: <https://trac.macports.org/ticket/36092#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36092: PDFTK broken after GCC47 upgrade --------------------------------+-------------------------------- Reporter: angelo.graziosi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | --------------------------------+-------------------------------- Comment (by jeremyhu@…): I bet if you replaced '/opt/local/lib/gcc47/gcc/x86_64-apple- darwin11/4.7.1/../../../libgcj.dylib /usr/lib/libstdc++.dylib /opt/local/lib/gcc47/gcc/x86_64-apple- darwin11/4.7.1/../../../libgcc_s.1.dylib' with '-lgcj' it would work fine. -- Ticket URL: <https://trac.macports.org/ticket/36092#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36092: PDFTK broken after GCC47 upgrade --------------------------------+-------------------------------- Reporter: angelo.graziosi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | --------------------------------+-------------------------------- Comment (by howarth@…): The origin of the gcj problems with darwin9 and earlier is that the unwinder derived from libgcc doesn't grok[[BR]] the epilogue notes in the eh_frames emitted starting with FSF gcc 4.3...[[BR]] [[BR]] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41991 [[BR]] [[BR]] A patch to suppress these eh_frame epilogue notes on darwin9 and earlier was proposed in this thread...[[BR]] [[BR]] http://gcc.gnu.org/ml/gcc-patches/2010-08/msg01037.html [[BR]] [[BR]] but never completed. Note these epilogue notes fortunately aren't problematic on darwin10 and later because they[[BR]] are running the compatibility unwinder from libSystem instead.[[BR]] -- Ticket URL: <https://trac.macports.org/ticket/36092#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36092: PDFTK broken after GCC47 upgrade --------------------------------+-------------------------- Reporter: angelo.graziosi@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: pdftk | --------------------------------+-------------------------- Changes (by jmr@…): * owner: macports-tickets@… => ryandesign@… * cc: ryandesign@… (removed) * port: => pdftk -- Ticket URL: <https://trac.macports.org/ticket/36092#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts