Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: "'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) Content-Type: text/plain; charset="iso-8859-1" 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