This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

B20: as.exe crashes with enormous assembler file.


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.southgate@ubinetics.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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]