[MacPorts] #66457: libgcc12 build fails during configure test for MPC dep.

MacPorts noreply at macports.org
Tue Dec 13 10:59:30 UTC 2022


#66457: libgcc12 build fails during configure test for MPC dep.
------------------------------+------------------------------
  Reporter:  ragnese          |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:  ventura monterey
      Port:  libgcc12 libmpc  |
------------------------------+------------------------------

Comment (by cjones051073):

 OK, my mistake. stdio.h needs to be included *before* mpc.h

 {{{
 Oberon ~/Downloads > cat conftest.c
 #include <stdio.h>
 #include <mpc.h>
 int main () {
      #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
      choke me
      #endif
      return 0;
 }
 Oberon ~/Downloads > clang -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
 -I/opt/local/include conftest.c
 Oberon ~/Downloads >
 }}}

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


More information about the macports-tickets mailing list