pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/devel/gdb



On Mon, 5 Dec 2011, Joerg Sonnenberger wrote:

> On Mon, Dec 05, 2011 at 07:34:41PM +0000, Steven Drake wrote:
> > Module Name:        pkgsrc
> > Committed By:       sbd
> > Date:               Mon Dec  5 19:34:41 UTC 2011
> > 
> > Modified Files:
> >     pkgsrc/devel/gdb: distinfo
> > Added Files:
> >     pkgsrc/devel/gdb/patches: patch-gdb_gdbserver_gdbreplay.c
> > 
> > Log Message:
> > alloca(3) is not avalible with glibc on linux if -fno-builtin is used.
> 
> The correct approach is most likely to just force it to the builtin.

Because bsd.own.mk adds "-Wno-format -fno-builtin" on x86_64 systems I 
thought not using alloca would be the best/simplest solution. 

So with further investigation it it turns out not to be the '-fno-builtin'
its because the configure script for gdbserver doesn't check for <stdlib.h>.

-- 
Steven



Home | Main Index | Thread Index | Old Index