Opened 12 years ago
Closed 12 years ago
#35465 closed defect (fixed)
gauche 0.9.3.3 build fails on mountain lion 10.8
Reported by: | IwataAkinori@… | Owned by: | akitada@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | mountainlion haspatch | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | gauche |
Description
Gauche 0.9.3.3 seems to fail build with clang, a default cc of OS X 10.8.
I added configure.compiler gcc to Portfile, then I succeeded in installing.
Attachments (2)
Change History (4)
Changed 12 years ago by IwataAkinori@…
Attachment: | gauche_on_10.8.patch added |
---|
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Keywords: | mountainlion haspatch added; mountain lion removed |
Owner: | changed from macports-tickets@… to akitada@… |
Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | gauche.diff added |
---|
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Thanks, but we can't just set the compiler to "gcc". "gcc" is not a specific compiler; it's a symlink to a compiler, and which compiler it's a symlink to varies by Xcode version. We want to be more specific than that.
For example, we might want to use
to tell MacPorts that, if it were to normally choose clang (i.e. on Xcode 4.2 and up), to select the next-best compiler instead (which is llvm-gcc).
I'm attaching a main.log from the build failure on my system on Mountain Lion. It seems that every time it wants to run
gosh
, it crashes like this:I'm also attaching the patch I suggest using, if fixing gauche to compile correctly with clang is not possible.