delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2012/07/29/08:39:18

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Message-ID: <50152C66.9040202@iki.fi>
Date: Sun, 29 Jul 2012 15:28:22 +0300
From: Andris Pavenis <andris DOT pavenis AT iki DOT fi>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: gcc-4.8 snapshots and DJGPP
Reply-To: djgpp-workers AT delorie DOT com

Tried to build the recent gcc-4.8 snapshots for DJGPP. Needed
to update patch-set for source patching to work of course.

As earlier started with building Linux to DJGPP cross-compiler RPMs
(with DJGPP source archive as side product).
- all seems to be OK under Fedora 17 x86_64 (cross-compiler RPMs
   gets built without problems)
- tried to do the same under CentOS 5.8 i386 (really chroot under
   the same Fedora installation). This time no success. Perhaps
   gcc version 4.1.2 20080704 (Red Hat 4.1.2-52) present there is
   too old. That could perhaps be fixed by taking some intermediate
   version.
- perhaps I should create CentOS 6.3 i386 chroot and retry

After that built native compiler for DJGPP (tried only DJGPP v2.04pre).
It built practically "out of box" except of random compiler errors
time at time similarly as with some earlier stable version.

I think that one of suspects is nmalloc used instead of DJGPP own memory
allocation (as DJGPP free() is too slow). I had some stability problems
earlier running my own test program (linked with nmalloc) which allocates
large numbers of random memory blocks and after that frees them in random
order. That memory allocation test program caused random NTVDM crashes
on Windows Vista.

Not much testing done with built GCC snapshot though. Built GMP-5.0.5, but one of
test-suite programs (mpz/t-io_raw.exe) failed. I did not have time
to study why it fails yet.

I could make archives available somewhere if somebody is interested
to do more testing.

Andris

PS. I used gcc-4.8-20120722 downloaded from ftp://gcc.gnu.org


- Raw text -


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