[MacPorts] #58677: legacy support "error: conflicting asm label" when building some ports

MacPorts noreply at macports.org
Fri Nov 6 07:45:28 UTC 2020


#58677: legacy support  "error: conflicting asm label" when building some ports
-------------------------------------------------+-------------------------
  Reporter:  rmottola                            |      Owner:  (none)
      Type:  defect                              |     Status:  new
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:  leopard
      Port:  legacy-support legacy-support-      |  i386 legacy-os
  devel                                          |
-------------------------------------------------+-------------------------

Comment (by kencu):

 So stumbled across a few more ports where this occurs. So far the common
 thread is c++ code that includes <assert.h> I think.

 No clang compiler worked when I tried it tonight on libde265, which showed
 the error. But building with gcc7 worked (i386).

 So I guess that's why not on PPC (we don't use clang on PPC).

 Running the legacy-support test suite on Leopard i386 with clang-7.0 works
 fine, including realpath replacement.

 It only seems to be c++ code that includes <assert.h> where things get
 sticky.

 <assert.h> is a bit weird -- it can be included multiple times. Whether
 that should matter I do not know, at present.

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


More information about the macports-tickets mailing list