Date: Mon, 2 Sep 1996 08:52:52 +0200 (IST) From: Eli Zaretskii To: DJ Delorie Cc: djgpp-workers AT delorie DOT com Subject: Re: make problems In-Reply-To: <199609020212.WAA01945@delorie.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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).