[MacPorts] #68239: Xcode 15 and GCC: linker complains that "duplicate LC_RPATH are deprecated"

MacPorts noreply at macports.org
Mon Sep 25 19:47:25 UTC 2023


#68239: Xcode 15 and GCC: linker complains that "duplicate LC_RPATH are deprecated"
-----------------------+--------------------
  Reporter:  szhorvat  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  gcc12     |
-----------------------+--------------------

Comment (by cjones051073):

 You are using the wrong otool option above. You need to use -l (lower
 case) and check the RPATH entries. What you will find is there are
 duplicates in that list, which is precisely what the above warning is tell
 you.

 I don’t at this time believe this is something we are doing wrong in the
 macports gcc packaging, but I could be wrong. I more suspect this is just
 something upstream GCC will have to address themselves. For now ignore the
 warnings.

 Yes, I am aware of the linker issue as well. This is also I believe either
 an Xcode, or GCC issue, so the fix will have to come from one or other of
 those parties as well.

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


More information about the macports-tickets mailing list