delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/09/02/01:56:36

Date: Mon, 2 Sep 1996 08:52:52 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: DJ Delorie <dj AT delorie DOT com>
Cc: djgpp-workers AT delorie DOT com
Subject: Re: make problems
In-Reply-To: <199609020212.WAA01945@delorie.com>
Message-Id: <Pine.SUN.3.91.960902084655.23487H-100000@is>
Mime-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019