[MacPorts] #32041: apple-gcc42: build fails when libunwind-headers is installed

MacPorts noreply at macports.org
Mon Nov 28 15:25:08 PST 2011


#32041: apple-gcc42: build fails when libunwind-headers is installed
-------------------------------+--------------------------------------------
 Reporter:  dave@…             |       Owner:  jeremyhu@…           
     Type:  defect             |      Status:  new                  
 Priority:  Normal             |   Milestone:                       
Component:  ports              |     Version:  2.0.3                
 Keywords:                     |        Port:  apple-gcc42          
-------------------------------+--------------------------------------------
Changes (by mfeiri@…):

 * cc: jeremyhu@… (removed)
 * cc: mfeiri@… (added)
  * owner:  mfeiri@… => jeremyhu@…
  * port:  libunwind-headers => apple-gcc42


Comment:

 I managed to reproduce the bug on a snow leopard system. What happens is
 that unwind.h from libunwind(-headers) shadows the internal unwind.h in
 gcc. I consider this a bug in gcc though. The gcc build scripts should
 properly arrange the order of the include dirs. Indeed this seems fixed in
 gcc43 and all newer versions of gcc. But I don't see myself spending time
 and effort backporting these fixes from gcc43 to apple-gcc42 (which would
 also trigger gplv3 concerns). My recommendation is to simply mark apple-
 gcc42 as "conflicts libunwind-headers" (or maybe even as "replaced_by
 clang").

-- 
Ticket URL: <https://trac.macports.org/ticket/32041#comment:11>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list