GCC error: displacement must be greater than...

Michael Long mikelong@mail.his.com
Tue Oct 19 08:37:00 GMT 1999


Hello,

I'm encountering a problem when trying to use the current version of
GCC to compile a large file on AIX.  The error message reads:

  The displacement must be greater than or equal to -32768 and less than
  or equal to 32767.

The GCC version: gcc version 2.95.1 19990816 (release)
The system type: IBM AIX 4.2.1.0
All options you passed to the compiler: -c

For purposes of reproducing the problem, I tried to include the following
files in gzip/tar format as a MIME attachment, however, your mail server
rejected my message as being to large.

  bigtocbug.c  # C file which causes the problem
  err          # error messages reported to standard error

The files can be download in tar.gz format from:

  ftp://pebbles.ocsystems.com/private/gnu-bug/bug.tar.gz

The command line used to produce the error is:

  $ gcc -c bigtocbug.c > err 2>&1 &

-----------------------------------------------------------------------
Michael Long                                                 OC Systems
mbl@ocsystems.com                                         (703)359-8160




More information about the Gcc-bugs mailing list