[MacPorts] #69480: llvm-17 fails to build agains port:legacy-support=1.1.1 when the latter is build with -flto

MacPorts noreply at macports.org
Wed May 29 20:17:26 UTC 2024


#69480: llvm-17 fails to build agains port:legacy-support=1.1.1 when the latter is
build with -flto
-----------------------------+--------------------
  Reporter:  RJVB            |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  legacy-support  |
-----------------------------+--------------------

Comment (by RJVB):

 Replying to [comment:11 fhgwright]:
 >So the question is, if you do exactly the same thing as you were doing
 before, but with the current `legacy-support`, do you still see the
 problem?  If not, then this ticket should be closed.

 OK, so the only problem is that the "it's not^H^H^H `llvm`". I hope I've
 kept my build directory...

 > BTW, was my comment about `ccache` relevant?

 No, I doubt that. Ccache is quite clever and usually errs on the side of
 caution but above all I saw the problem from the start, i.e. when ccache's
 only action is to create a cached version of the compilation result. We're
 not talking about replacement headers like the ones compiler like to
 include or headers specified on the commandline. Last time I checked the
 PG also used a simple `-I` rather than `-isystem` so ccache has no reason
 to treat the legacy-support headers like system ones.

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


More information about the macports-tickets mailing list