[MacPorts] #68756: gildas @202311b: duplicate LC_RPATH '/opt/local/lib/libgcc'

MacPorts noreply at macports.org
Tue Nov 28 08:56:22 UTC 2023


#68756: gildas @202311b: duplicate LC_RPATH '/opt/local/lib/libgcc'
---------------------------+----------------------
  Reporter:  pabloriviere  |      Owner:  bardeau
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  gildas        |
---------------------------+----------------------

Comment (by bardeau):

 Replying to [comment:19 kencu]:
 > the compilers PortGroup adds another rpath
 >
 > https://github.com/macports/macports-
 ports/blob/a542e2c29dda072a275c7b6a1dc2df9c98279321/_resources/port1.0/group/compilers-1.0.tcl#L844
 >
 > It will have to be changed to not do that any more, as gcc/gfortran adds
 one itself… but then certain builds could break (some builds that use
 gfortran link with clang)

 Ok, thanks for the information. I have removed the use of
 ${configure.ldflags} on my side. It seems to work with the tests I did. I
 have pushed a pull request. We'll see if the builds are successful on all
 platforms.

-- 
Ticket URL: <https://trac.macports.org/ticket/68756#comment:22>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list