public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <ian@zembu.com>
To: John.Barry@eso.org
Cc: binutils@sourceware.cygnus.com
Subject: Re: strange compile problem
Date: Mon, 13 Sep 1999 09:12:00 -0000	[thread overview]
Message-ID: <19990913161208.29851.qmail@daffy.airs.com> (raw)
In-Reply-To: <199909131353.PAA11573@osc1.hq.eso.org>

   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

  reply	other threads:[~1999-09-13  9:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-13  6:54 John Barry
1999-09-13  9:12 ` Ian Lance Taylor [this message]
1999-09-13 10:14 John Barry
1999-09-13 11:23 ` Ian Lance Taylor
1999-09-13 11:50 John Barry
1999-09-13 11:58 ` Ian Lance Taylor
1999-09-13 12:39   ` Roland McGrath
1999-09-13 12:53     ` Roland McGrath
1999-09-13 13:13     ` John Barry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19990913161208.29851.qmail@daffy.airs.com \
    --to=ian@zembu.com \
    --cc=John.Barry@eso.org \
    --cc=binutils@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).