delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/18/11:07:38

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <79316771D370D311B08900508B5A627601711DF2@CAMMBX02>
From: Andy Southgate <Andy DOT Southgate AT UBINETICS DOT COM>
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: B20: as.exe crashes with enormous assembler file.
Date: Tue, 18 Jul 2000 16:04:55 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

Hi,

After discovering automated code generation I've been churning out some
large C files - about 4MB.  When cramming this through gcc the assembler
file runs to about 14MB, and this is enough to choke as.exe.  It builds up
it's memory usage to (coincidentally enough) about 14 MB and then gives up
with:

/cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin32/bin/as.exe:
C:/TEMP\ccXGv7t6.o: reloc overflow: 0x1022d > 0xffff
C:/TEMP\ccXGv7t6.o: File truncated
C:/TEMP\ccFE8U68.s: Assembler messages:
C:/TEMP\ccFE8U68.s:604540: FATAL: Can't close C:/TEMP\ccXGv7t6.o
: File truncated

I'll admit that the answer to this problem is 'Don't generate 14MB assembler
files' but is this a bug, a limitation in cygwin or is it time to blame
Microsoft?

Cheers,

Andy Southgate.
andy DOT southgate AT ubinetics DOT com

Running B20 on Windows NT 4.0.  64MB RAM, it's not hitting the limit there.
Still crashes if you give it plenty of space.  as.exe --version gives
GNU assembler 2.9.4.  Tempted as I was to attach the file, I resisted...


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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