[MacPorts] #41687: gcc48 @4.8.2 fortran does not work

MacPorts noreply at macports.org
Wed Dec 4 17:33:20 PST 2013


#41687: gcc48 @4.8.2 fortran does not work
----------------------+-----------------------
  Reporter:  ralph@…  |      Owner:  mww@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.2.1
Resolution:           |   Keywords:  mavericks
      Port:  gcc48    |
----------------------+-----------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => mww@…
 * port:   => gcc48


Old description:

> 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
> }}}

New description:

 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
 }}}

--

Comment:

 The same command works fine for me on Mavericks.

-- 
Ticket URL: <https://trac.macports.org/ticket/41687#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list