delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/03/26/18:25:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Sender: patl AT egghead DOT curl DOT com
From: patl AT cag DOT lcs DOT mit DOT edu (Patrick J. LoPresti)
To: cygwin AT sourceware DOT cygnus DOT com
Subject: B20.1 "reloc table overflow" problem
Date: 26 Mar 1999 18:23:54 -0500
Message-ID: <s5gr9qb4yyd.fsf@egghead.curl.com>
Lines: 27

I am getting the following error from as.exe as shipped with Cygwin
B20.1:

  gcc -c -pipe -O2 -o gen/stdlib/debug-info.obj gen/stdlib/debug-info.c 
  /Cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin32/bin/as.exe: gen/stdlib/debug-info.obj: reloc overflow: 0x100fa > 0xffff
  gen/stdlib/debug-info.obj: File truncated
  {standard input}: Assembler messages:
  {standard input}:93068: FATAL: Can't close gen/stdlib/debug-info.obj
  : File truncated
  make: *** [gen/stdlib/debug-info.obj] Error 1

I gather this has something to do with my C file defining too many
symbols.  Unfortunately, the file is machine-generated, so it is not
easy for me to change.

Even without optimization, Microsoft's compiler and assembler have no
trouble processing this file, so this is not a limitation of the
binary format (unless Cygwin uses a different format, of course).

I would be glad to make the C file available to anyone who wants to
take a crack at debugging this problem (it is much too large to
include here).  Any workarounds or other suggestions would be
appreciated.

Thanks!

 - Pat

--
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