Opened 13 years ago
Closed 13 years ago
#31664 closed defect (fixed)
g95 configure build failure with OSX Lion and Xcode 4.2
Reported by: | bv_sunshine@… | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ||
Port: | g95 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Building g95 on OSX Lion and Xcode 4.2 fails with the following error messages:
../../gcc/toplev.c:539:1: error: redefinition of a 'extern inline' function 'floor_log2' is not supported in C99 mode ../../gcc/toplev.c:574:1: error: redefinition of a 'extern inline' function 'exact_log2' is not supported in C99 mode
main.log attached
Attachments (1)
Change History (4)
Changed 13 years ago by bv_sunshine@…
comment:1 follow-up: 2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to takeshi@… |
Port: | g95 added |
comment:2 Changed 13 years ago by bv_sunshine@…
Replying to ryandesign@…:
You could try building g95 with llvm-gcc-4.2 instead of the default clang:
sudo port clean g95 sudo port install g95 configure.compiler=llvm-gcc-4.2
I confirm that using the above workaround the build completes successfully.
comment:3 Changed 13 years ago by tenomoto (Takeshi Enomoto)
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixed in r86208. Thanks.
Note: See
TracTickets for help on using
tickets.
You could try building g95 with llvm-gcc-4.2 instead of the default clang: