Opened 13 years ago

Last modified 13 years ago

#31664 closed defect

g95 configure build failure with OSX Lion and Xcode 4.2 — at Version 1

Reported by: bv_sunshine@… Owned by: takeshi@…
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

Change History (2)

Changed 13 years ago by bv_sunshine@…

Attachment: main.log added

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to takeshi@…
Port: g95 added

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
Note: See TracTickets for help on using tickets.