[MacPorts] #47927: libgcc @5.1 +universal

MacPorts noreply at macports.org
Thu Jun 4 03:20:13 PDT 2015


#47927: libgcc @5.1 +universal
-------------------------+-------------------
  Reporter:  macports@…  |      Owner:  mww@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.3
Resolution:              |   Keywords:
      Port:  libgcc      |
-------------------------+-------------------

Comment (by macports@…):

 I've now tried to install a NON universal version of gcc 4.9 on my OS X
 10.5.
 To do so I first uninstalled alls port with: "port -v uninstall
 installed", followed by disabling the +universal flag in variants.conf.

 The result was, libgcc-5.1 compiled fine, but the gcc 4.9 port fails with
 following error:

 ld: illegal text-relocoation (direct reference) to (global,weak)
 hash_table<loc_list_hasher,
 xcallocator>::find_slot_with_hash(dw_loc_list_struct const*, unsigned int,
 insert_option) in libbackend.a(dwarf2out.o) from anon in
 libbackend.a(dwarf2out.o) for architecture i386
 collect2: error: ld returned 1 exit status
 make[3]: *** [f951] Error 1
 rm gfortran.pod gcc.pod

 I'll also attach the corresponding logfile (main-gcc49.log).
 If you look at the error, there seems to be a problem with fortran. It is
 possible to disable the fortran language with some flag?

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


More information about the macports-tickets mailing list