Apparent i386 alloca.S bug (was: adsl/pppoe no longer connecting on 5.1)

Garrett Wollman wollman at lcs.mit.edu
Thu Jun 12 09:07:00 PDT 2003


<<On Thu, 12 Jun 2003 22:22:07 +1000, Tim Robbins <tjr at freebsd.org> said:

> builtin alloca() until we figure out how to fix the one in libc.

It is fundamentally impossible to ``fix'' the alloca() implementation
in libc.  alloca() CANNOT be implemented that way.  If GCC's builtin
alloca() is disabled by requesting a strict Standard C environment
(which is not appropriate for FreeBSD anyway), then alloca() is just
an ordinary user symbol and programs expecting the implementation to
supply it should simply fail.

-GAWollman



More information about the freebsd-current mailing list