[MacPorts] #35429: boehmgc: clang omtimization produces broken executables on 10.8
#35429: boehmgc: clang omtimization produces broken executables on 10.8 ---------------------------------+------------------------------------------ Reporter: crazymykl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: boehmgc ---------------------------------+------------------------------------------ The port installs successfully, but what it installs is broken. Disabling optimization with {{{ port clean port install boehmgc configure.optflags=-O0 }}} allows the test apps to run, and ports like w3m to build against it successfully (solving #35378). -- Ticket URL: <https://trac.macports.org/ticket/35429> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35429: boehmgc: clang omtimization produces broken executables on 10.8 ---------------------------------+------------------------------------------ Reporter: crazymykl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: boehmgc ---------------------------------+------------------------------------------ Comment(by crazymykl@…): I suppose that should say "broken binaries". -- Ticket URL: <https://trac.macports.org/ticket/35429#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35429: boehmgc: clang omtimization produces broken executables on 10.8 ---------------------------------+------------------------------------------ Reporter: crazymykl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: boehmgc ---------------------------------+------------------------------------------ Comment(by kimuraw@…): I wrote a patch to solve port:boehmgc crash on Mountain Lion. I confirmed boehmgc with this patch works on Mountain Lion by "port test boemgc". applied this patch: {{{ % uname -r 12.0.0 % sudo port test boehmgc ---> Fetching distfiles for boehmgc ---> Verifying checksum(s) for boehmgc ---> Extracting boehmgc ---> Applying patches to boehmgc ---> Configuring boehmgc ---> Building boehmgc ---> Testing boehmgc % }}} before this patch: {{{ % sudo port test boehmgc ---> Fetching distfiles for boehmgc ---> Verifying checksum(s) for boehmgc ---> Extracting boehmgc ---> Configuring boehmgc ---> Building boehmgc ---> Testing boehmgc Error: org.macports.test for port boehmgc returned: command execution failed Please see the log file for port boehmgc for details: /opt/local/var/macports/logs/_Volumes_CHome_kimuraw_proj_macports_ports_devel_boehmgc/boehmgc/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/35429#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35429: boehmgc: clang omtimization produces broken executables on 10.8 ---------------------------------+------------------------------------------ Reporter: crazymykl@… | Owner: waqar@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: boehmgc ---------------------------------+------------------------------------------ Changes (by cal@…): * owner: macports-tickets@… => waqar@… Comment: Thanks; please remember to Cc the maintainer, if any. I've done that for you. -- Ticket URL: <https://trac.macports.org/ticket/35429#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35429: boehmgc: clang omtimization produces broken executables on 10.8 ---------------------------------+------------------------------------------ Reporter: crazymykl@… | Owner: waqar@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: boehmgc ---------------------------------+------------------------------------------ Comment(by cal@…): Since this effectively breaks boehmgc on 10.8 and the port is marked openmaintainer, I suggest you commit this right away. -- Ticket URL: <https://trac.macports.org/ticket/35429#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35429: boehmgc: clang omtimization produces broken executables on 10.8 ----------------------------------+----------------------------------------- Reporter: crazymykl@… | Owner: waqar@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: mountainlion Port: boehmgc | ----------------------------------+----------------------------------------- Changes (by kimuraw@…): * status: new => closed * resolution: => fixed Comment: fixed r96088. -- Ticket URL: <https://trac.macports.org/ticket/35429#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35429: boehmgc: clang omtimization produces broken executables on 10.8 ----------------------------------+----------------------------------------- Reporter: crazymykl@… | Owner: waqar@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: mountainlion Port: boehmgc | ----------------------------------+----------------------------------------- Comment(by kimuraw@…): boehmgc-devel has same problem. fixed r96091. -- Ticket URL: <https://trac.macports.org/ticket/35429#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35429: boehmgc: clang omtimization produces broken executables on 10.8 ----------------------------------+----------------------------------------- Reporter: crazymykl@… | Owner: waqar@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: boehmgc | ----------------------------------+----------------------------------------- Changes (by whcordis@…): * status: closed => reopened * resolution: fixed => Comment: I'm not sure what the reason is, but this change fix didn't force a rebuild of this package for me. It was only after I did some digging and noticed this ticket that I used --force and was able to take advantage of the fix. There are probably quite a few other people in the same position wondering why w3m and other similar packages won't compile. -- Ticket URL: <https://trac.macports.org/ticket/35429#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35429: boehmgc: clang omtimization produces broken executables on 10.8 --------------------------+-------------------------- Reporter: crazymykl@… | Owner: waqar@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: mountainlion Port: boehmgc | --------------------------+-------------------------- Changes (by ryandesign@…): * status: reopened => closed * resolution: => fixed Comment: The above MacPorts revisions included increasing the revision of the ports, thus a rebuild would have occurred. Also I've now updated boehmgc to 7.2d (see #36253) which will again cause a rebuild. The tests pass for me. -- Ticket URL: <https://trac.macports.org/ticket/35429#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35429: boehmgc: clang omtimization produces broken executables on 10.8 --------------------------+-------------------------- Reporter: crazymykl@… | Owner: waqar@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: mountainlion Port: boehmgc | --------------------------+-------------------------- Comment (by kuba@…): Tests also pass on a universal build on Snow Leopard. -- Ticket URL: <https://trac.macports.org/ticket/35429#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts