Mail Archives: djgpp-workers/1996/09/02/01:56:36
On Sun, 1 Sep 1996, DJ Delorie wrote:
> I've been having problems building gcc-2.7.2.1 - make is acting up on
> me. I'm building stage 2, so I'm invoking make like this:
>
> make CFLAGS="-O2 -Bstage1/" CC="stage1/xgcc" LDFLAGS="-d"
>
> After it runs one command (doesn't matter which) (or just before it
> starts the next), it segfaults - in _exit() ! It's at 0x12f4, which
> is one of the places where it reads a stubinfo field, but edx (the
> register in question) is valid, as are the selectors.
Did you build Make with the new dosexec, or build the gcc (the one you
use to compile the new version of gcc) with the new startup code? If so,
there might be some bug in passing arguments, or inconsistency between
the new spawn and the old crt1.
> If I use make to build itself, it works.
AFAIK, Make building itself doesn't use quoted arguments on GCC command
lines. This is one of the areas which were changed in the new dosexec
(and crt1).
- Raw text -