#35429 closed defect (fixed)
boehmgc: clang omtimization produces broken executables on 10.8
Reported by: | crazymykl@… | Owned by: | waqar@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | mountainlion | Cc: | |
Port: | boehmgc |
Description
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).
Attachments (1)
Change History (10)
comment:1 Changed 12 years ago by crazymykl@…
Changed 12 years ago by kimuraw (kimura wataru)
Attachment: | patch-boehmgc-MoutainLion.diff added |
---|
fix crash on 10.8 Mountain Lion
comment:2 Changed 12 years ago by kimuraw (kimura wataru)
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
comment:3 Changed 12 years ago by neverpanic (Clemens Lang)
Owner: | changed from macports-tickets@… to waqar@… |
---|
Thanks; please remember to Cc the maintainer, if any. I've done that for you.
comment:4 Changed 12 years ago by neverpanic (Clemens Lang)
Since this effectively breaks boehmgc on 10.8 and the port is marked openmaintainer, I suggest you commit this right away.
comment:5 Changed 12 years ago by kimuraw (kimura wataru)
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixed r96088.
comment:6 Changed 12 years ago by kimuraw (kimura wataru)
boehmgc-devel has same problem. fixed r96091.
comment:7 Changed 12 years ago by whcordis@…
Resolution: | fixed |
---|---|
Status: | closed → reopened |
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.
comment:8 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
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.
comment:9 Changed 12 years ago by KubaO (Kuba Ober)
Tests also pass on a universal build on Snow Leopard.
I suppose that should say "broken binaries".