Opened 10 years ago

Last modified 7 years ago

#41687 assigned defect

gcc48 @4.8.2 fortran does not work — at Version 1

Reported by: ralph@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc:
Port: gcc48

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I have had a lot of problems trying to build arpack, atlas etc with gcc48. Here is a simple test case which shows what is up. I am not sure whether this is the same as #41555, but I can't rebuild gmp from source either, so I am stuck. Note this is with a fresh install of the prebuilt gcc48.

	program foo
	real, parameter :: bar = sin (12.34 / 2.5)
	end program foo

Try to compile it with

x86_64-apple-darwin13-gfortran-mp-4.8 foo.f

I get the result

ld: could not parse object file /opt/local/lib/gcc48/libgfortran.dylib: 'Invalid bitcode signature', using libLTO version 'LLVM version 3.4' for architecture x86_64
collect2: error: ld returned 1 exit status

Change History (1)

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

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

The same command works fine for me on Mavericks.

Note: See TracTickets for help on using tickets.