www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/07/29/09:08:44

X-Authentication-Warning: smtp3.ihug.com.au: Host p68-tnt1.syd.ihug.com.au [203.173.128.68] claimed to be acceleron
Message-ID: <005f01c1182e$b3bd89b0$0a02a8c0@acceleron>
From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
To: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Cc: <sandmann AT clio DOT rice DOT edu>, <djgpp-workers AT delorie DOT com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1010729112653 DOT 680W-100000 AT is>
Subject: Re: Make 3.791 on Windows 2000 test
Date: Sun, 29 Jul 2001 23:01:46 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Reply-To: djgpp-workers AT delorie DOT com

> > > Note that now it's cc1 which crashes, not Make.  So maybe Charles is
> > > right, and Unixy sbrk is the solution.  Hmm...  Maybe try building GCC
> > > with Unixy sbrk and se if that helps (you will have to do that for
> > > both gcc.exe and cc1.exe).
> >
> > I seem to have missed something. I have not suceeded in building GCC
with
> > the crt0 startup flag set to use the Unixy sbrk. ...cut....
>
> > My question is where is _CRT0_FLAG_UNIX_SBRK used in the startup code?
>
> It's in crt1.c.

I modified crt1.c and re-built LIBC from today's CVS tarball (29th
July-2001) which includes all the patches needed so far. The mod to crt1.c
is
 src\libc\crt0\crt1.c:int _crt0_startup_flags = _CRT0_FLAG_UNIX_SBRK;

This did not make any difference in repect that make still crashed in the
same place with the same call stack and info.

I am still confused with the usage of UNIX Sbrk as I cannot find any
reference to it in the code. I grepped again (this stime all of the DJGPP
directory & below) and could still not see where  the CRT0_FLAG_UNIX_SBRK
flag is used. I checked out crt1.c and couldn't see any reference to it.


- Raw text -


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