[PATCH] Re: Current egcs-mainline fails to build on FreeBSD 3.1
Jeffrey A Law
Wed Jun 30 23:15:00 GMT 1999
In message < Pine.GSO.email@example.com
> On Thu, 3 Jun 1999, Marc Espie wrote:
> > I don't know much about FreeBSD, but the following patch should be able
> > to fix the trouble. The SWITCH_TAKES_ARG is a no-brainer, and I've just
> > copied the linux specs that used to be included `verbatim'.
> > Thu Jun 3 11:34:34 CEST 1999 Marc Espie <firstname.lastname@example.org>
> > * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
> > (STARTFILE_SPEC): Define, override the svr4.h version.
> > (ENDFILE_SPEC): Likewise.
> Thanks, this indeed fixes the bootstrap failure on FreeBSD 3.1.
> (What worries me, by the way, is that the original patch causing
> this bootstrap failure apparently never was tested with a compiler
> bootstrap. Unless it was misapplied, that is.)
It is certainly a concern. One of the things we rely on, particularly for
the ports that we don't work on often is that submitters actually verify
their patches work on the platform in question :-)
> In any case, thanks again Marc! Jeff, RTH,... is that patch okay?
I'm going to try to deal with this today. It's unfortunate that nobody is
sending in build/test results for freebsd. Particularly the newer 3.x
versions. At least I haven't seen any fly by.
More information about the Gcc-patches