[MacPorts] #67307: glib2 compilation issues with clang

MacPorts noreply at macports.org
Tue May 2 14:34:14 UTC 2023


#67307: glib2 compilation issues with clang
-----------------------+----------------------
  Reporter:  rmottola  |      Owner:  mascguy
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  leopard
      Port:  glib2     |
-----------------------+----------------------

Comment (by rmottola):

 Ok, let's continue here. This comment is for glib2-upstream on 32bit
 intel.


 Might be, most people stick to 32bit even if he CPU is 64bit capable or
 upgraded to 10.6.
 I have two twin machines.
 Does this mean that the 64bit libs are "poor" ? where should these symbols
 be (which library?)

 I tried on the other 32bit and I get to the standard error:


 {{{
 In file included from ../glib-2.76.2/glib/tests/cxx.cpp:20:
 In file included from ../glib-2.76.2/glib/glib.h:34:
 In file included from ../glib-2.76.2/glib/gasyncqueue.h:34:
 In file included from ../glib-2.76.2/glib/gthread.h:34:
 In file included from ../glib-2.76.2/glib/gatomic.h:30:
 ../glib-2.76.2/glib/glib-typeof.h:43:10: fatal error: 'type_traits' file
 not found
 #include <type_traits>
          ^~~~~~~~~~~~~
 1 error generated.
 }}}

 I added


 {{{
 configure.cxxflags-append -std=c++11
 }}}

 but it still doesn't work.

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


More information about the macports-tickets mailing list