[MacPorts] #63645: building libqalculate @3.21.0 makes clang-10 @10.0.1_5 hit an assertion failure

MacPorts noreply at macports.org
Sat Nov 13 17:27:24 UTC 2021


#63645: building libqalculate @3.21.0 makes clang-10 @10.0.1_5 hit an assertion
failure
----------------------------------------------+--------------------
  Reporter:  cooljeanius                      |      Owner:  (none)
      Type:  defect                           |     Status:  new
  Priority:  Normal                           |  Milestone:
 Component:  ports                            |    Version:  2.7.1
Resolution:                                   |   Keywords:
      Port:  libqalculate, clang-10, llvm-10  |
----------------------------------------------+--------------------

Comment (by kencu):

 if you use your hand-rolled gcc but force it to use MacPorts' clang as the
 assemebler (and the clang that is being used as the assembler has
 assertions turned on) you will undoubtedly get the exact same error.

 It has absolutely nothing to do with gcc, or with the way MacPorts builds
 gcc.

 It has everything to do with any version of gcc using "gcc -g" putting out
 assembly that clang with assertions turned on will not assemble.

 As outlined in the accepted upstream ticket.

 Also nothing to do with qalculate or libqalculate -- those are just
 building wrong, using g++ that on your system happens to point to a gcc,
 and they have "-g" added, and you are using a MacPorts clang as your
 assembler, and that MacPorts clang happens to have assertions turned on.

 :>

 Which is why we see this particular issue relatively rarely.

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


More information about the macports-tickets mailing list