[perl #58670] Parrot_print_backtrace() depends on __USE_GNU

Christoph Otto via RT parrotbug-followup at parrotcode.org
Thu Mar 26 07:41:39 UTC 2009


On Sat Mar 21 16:03:15 2009, cotto wrote:
> On Fri Dec 05 17:30:25 2008, jkeen at verizon.net wrote:
> > chromatic via RT wrote:
> > > [snip]
> > 
> >    This may not work right
> > > on Mac OS X, in which case we'll need to get more clever.  
> > 
> > Had no negative impact on Darwin/PPC in this smolder test run:
> > http://smolder.plusthree.com/app/public_projects/report_details/8453
> 
> chromatic's patch didn't fix make cover for me.  The problem appears to
> be that dlfcn.h was included in a couple other places without __USE_GNU
> #define'd.  It also appears that defining __USE_GNU breaks stdio.h for
> our purposes.
> 
> The attached patch solves this problem by removing the extra includes of
> dlfcn.h and defining __USE_GNU only for dlfcn.h, unless it's already
> defined.  This allows make cover to work on Ubuntu (Hardy) x86 and
> doesn't appear to break anything new on Darwin (Coke++ for testing that).
> 
> Barring feedback, I'll apply this patch after 5 days (3/26).  Testing on
> win32 would be appreciated.


This patch was applied in r37741, fixing make cover for Linux on x86. 
This ticket is resolved.


More information about the parrot-dev mailing list