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 19:13:03 +0200 (MET DST)

   I was trying to compile binutils-2.9.5.0.12, which I found on va-research's 
   ftp site, it gives me the same kind of problems with the latest snap from
   cygnus too. Though while I'm on the subject I get a problem building 
   bfd/libbfd.c it always fails with this error:

   ../../binutils-2.9.5.0.12/bfd/libbfd.c: In function `bfd_stat':
   ../../binutils-2.9.5.0.12/bfd/libbfd.c:638: argument `statbuf' doesn't match prototype
   ../../binutils-2.9.5.0.12/bfd/bfd.h:482: prototype declaration

   extern int bfd_stat PARAMS ((bfd *abfd, struct stat *));

I don't see that with the current development sources.  Do you see it
with the snapshot from the Cygnus site, or just with 2.9.5.0.12 (which
is a GNU/Linux specific release)?

   Which I figure is because 2.9.1, et all aren't fully 64bit file system 
   compliant, (or Solaris 2.6 isn't :) I get around it by removing 
   -D_FILE_OFFSET_BITS=64 from the compile flags, and leaving -D_LARGEFILE64_SOURCE=1
   in, seems to work, though a patch would be very welcome :)

I don't know what has to change in the binutils for them to become
64bit file compliant.  I don't really know why anything has to
change.

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

   Here you go :)

   -c --save-temps ../../binutils-2.9.5.0.12/gprof/hist.c

   hist.s:1963: Error: Illegal operands [fbule,a,pn %fcc3, .LL310]
   hist.s:1986: Error: Illegal operands [fbule,a,pn %fcc3, .LL256]
   hist.s:2008: Error: Illegal operands [fbule,a,pn %fcc3, .LL311]
   hist.s:2100: Error: Illegal operands [fbule,a,pn %fcc3, .LL316]

Thanks.  The current development sources do assemble these
instructions correctly when using the -Av9 option.

Ian

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