public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* B20.1 "reloc table overflow" problem
@ 1999-03-26 15:24 Patrick J. LoPresti
  1999-03-31 19:45 ` Patrick J. LoPresti
  1999-04-01  8:46 ` Patrick J. LoPresti
  0 siblings, 2 replies; 4+ messages in thread
From: Patrick J. LoPresti @ 1999-03-26 15:24 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* B20.1 "reloc table overflow" problem
  1999-03-26 15:24 B20.1 "reloc table overflow" problem Patrick J. LoPresti
@ 1999-03-31 19:45 ` Patrick J. LoPresti
  1999-04-01  8:46 ` Patrick J. LoPresti
  1 sibling, 0 replies; 4+ messages in thread
From: Patrick J. LoPresti @ 1999-03-31 19:45 UTC (permalink / raw)
  To: cygwin

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: B20.1 "reloc table overflow" problem
  1999-03-26 15:24 B20.1 "reloc table overflow" problem Patrick J. LoPresti
  1999-03-31 19:45 ` Patrick J. LoPresti
@ 1999-04-01  8:46 ` Patrick J. LoPresti
  1999-04-30 18:32   ` Patrick J. LoPresti
  1 sibling, 1 reply; 4+ messages in thread
From: Patrick J. LoPresti @ 1999-04-01  8:46 UTC (permalink / raw)
  To: cygwin

The following Perl script outputs a C program which Microsoft's tools
can compile but Cygwin cannot.  An error is generated by GNU as in all
the versions of Cygwin I have tried.

 - Pat

======================================================================

#!/usr/bin/perl

print "void *p0;\n";

foreach $i (0 .. 32767) {
    printf ("void *p%d = &p%d;", 2*$i+1, 2*$i);
    printf ("  void *p%d = &p%d;\n", 2*$i+2, 2*$i+1);
}

print "int main() {\n  return 0;\n}\n";

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: B20.1 "reloc table overflow" problem
  1999-04-01  8:46 ` Patrick J. LoPresti
@ 1999-04-30 18:32   ` Patrick J. LoPresti
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick J. LoPresti @ 1999-04-30 18:32 UTC (permalink / raw)
  To: cygwin

The following Perl script outputs a C program which Microsoft's tools
can compile but Cygwin cannot.  An error is generated by GNU as in all
the versions of Cygwin I have tried.

 - Pat

======================================================================

#!/usr/bin/perl

print "void *p0;\n";

foreach $i (0 .. 32767) {
    printf ("void *p%d = &p%d;", 2*$i+1, 2*$i);
    printf ("  void *p%d = &p%d;\n", 2*$i+2, 2*$i+1);
}

print "int main() {\n  return 0;\n}\n";

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-04-30 18:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-26 15:24 B20.1 "reloc table overflow" problem Patrick J. LoPresti
1999-03-31 19:45 ` Patrick J. LoPresti
1999-04-01  8:46 ` Patrick J. LoPresti
1999-04-30 18:32   ` Patrick J. LoPresti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).