[MacPorts] #40478: gcc-4.8 (and likely earlier) build incorrectly +universal

MacPorts noreply at macports.org
Sat Sep 14 07:47:04 PDT 2013


#40478: gcc-4.8 (and likely earlier) build incorrectly +universal
-------------------------+-------------------------------
  Reporter:  jeremyhu@…  |      Owner:  mww@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.2.0
Resolution:              |   Keywords:  universal leopard
      Port:  gcc48       |
-------------------------+-------------------------------

Comment (by jeremyhu@…):

 It looks like this goes back to the GPL2 versions, and assuming it hasn't
 changed in the mean time, we should be able to add this verbatim:

 {{{
 #if !defined(USED_FOR_TARGET) && defined(__APPLE__)
 #undef SIZEOF_LONG
 #if __LP64__
 #define SIZEOF_LONG 8
 #else
 #define SIZEOF_LONG 4
 #endif
 }}}

 to each of:

 gcc/config.in:#undef SIZEOF_LONG
 libcpp/config.in:#undef SIZEOF_LONG
 libdecnumber/config.in:#undef SIZEOF_LONG
 libgomp/config.h.in:#undef SIZEOF_LONG

-- 
Ticket URL: <https://trac.macports.org/ticket/40478#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list