This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


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

Re: strange compile problem


   From: John Barry <jbarry@eso.org>
   Date: Mon, 13 Sep 1999 15:53:00 +0200 (MET DST)

   I'm getting this error when I try to build binutils-2.9.5.0.12 with gcc-2.95.1
   (compiled for/on a native utrasparc running Solaris 2.6)

   SunOS xxx 5.6 Generic_105181-05 sun4u sparc

   gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.9.5.0.12/gprof -I. -D_GNU_SOURCE -DDEBUG -I../bfd -I../../binutils-2.9.5.0.12/gprof/../include -I../../binutils-2.9.5.0.12/gprof/../bfd -I../../binutils-2.9.5.0.12/gprof/../intl -I../intl -DLOCALEDIR="\"/apps/gnu2/share/locale\""  -I/usr/openwin/include -I/usr/dt/include -I/apps/include -I/apps/gnu/include -I/apps/X11R6/include -I/apps/gnome/include -I/apps/kde/include -I/apps/ImageMagick/include  -O3 -funroll-loops -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -c ../../binutils-2.9.5.0.12/gprof/hist.c
   /var/tmp/ccUupNBD.s: Assembler messages:
   /var/tmp/ccUupNBD.s:1963: Error: Illegal operands
   /var/tmp/ccUupNBD.s:1986: Error: Illegal operands
   /var/tmp/ccUupNBD.s:2008: Error: Illegal operands
   /var/tmp/ccUupNBD.s:2100: Error: Illegal operands
   *** Error code 1
   make: Fatal error: Command failed for target `hist.o'
   Current working directory /apps/jbarry/gnu/gcc/bin-build/gprof

This sounds more like a compiler problem than a binutils problem.  On
the other hand, since you are using an UltraSPARC, it is quite
possible that you need some UltraSPARC support added since the 2.9.1
release.

To check that, run the above command with the --save-temps option, and
take a look at the resulting assembler file.  Send it in here if you
want to, or better yet just send the lines that the assembler is
complaining about.

Even though you are compiling the binutils code itself, it's much
easier for you to send a test case than it is for us to try to
duplicate your compiler.

Ian

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