Re: adsl/pppoe no longer connecting on 5.1

From: Tim Robbins <tjr_at_FreeBSD.ORG>
Date: Thu, 12 Jun 2003 15:38:49 +1000
On Thu, Jun 12, 2003 at 07:18:12AM +0200, Wiktor Niesiobedzki wrote:

> On Wed, Jun 11, 2003 at 09:50:22PM -0700, Kris Kennaway wrote:
> > On Wed, Jun 11, 2003 at 10:48:32PM -0600, Andrew Lankford wrote:
> > > >Can you try backing out bsd.sys.mk to r1.26 and rebuild your world and
> > > >kernel?  Later versions of this file are causing strange problems >with
> > > >package builds.
> > > 
> > > I was a little lazy and just backed out bsd.sys.mk to 1.26 as you
> > > suggested, rebuilt /usr/lib/ , /usr/include/, and ppp.  My kernel is the
> > > same as last time.  As a result, ppp's now up and running again.
> > 
> > Thanks, that's actually more useful because it isolates the problem.
> > It's probably something in ppp that is misbehaving with CSTD=c99.
> > 
> alloca(3) function is misbehaving in ppp (namely ether.c). Is this a compiler
> bug?

Misbehaving in what way? CSTD=c99 causes gcc to use alloca() from libc instead
of its builtin version. Perhaps alloca() in libc is broken -- any bugs in it
would have been covered up by gcc until now.


Tim
Received on Wed Jun 11 2003 - 20:47:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:11 UTC