bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem faced in building binutil


From: Meena
Subject: Re: Problem faced in building binutil
Date: Fri, 24 Apr 2009 14:15:09 +0530

Hi Nick,

Thanks for your response.

> Makefino is only needed if the info files that are built from the
texi 
> files are out of date.  The problem here is that both the info files and 
> the texi files have come from the same tarball, so they have the same 
> (approximate anyway) timestamp.  One simple solution would be to touch 
> all the info files in your source tree so that the make system believes 
> that that are up to date.  eg:
> 
>    % cd <top-of-binutils-sources>
>    % find . -name "*.info" -exec touch {} \;
> 
> Alternatively you could install the texinfo package on your system which 
> will give you a working makeinfo executable.
> 

Before receiving your response, I had also tried building binutils 2.19.
Downloaded binutils 2.19 from 

ftp://ftp.gnu.org/gnu/binutils/binutils-2.19.tar.bz2

Configured binutils 2.19 with following options:

../binutils-2.19/configure --target=mipstx39
--prefix=/home/meena/install

Following errors encountered while building 2.19:

make[3]: Leaving directory `/home/meena/binutils-2.19/build/bfd/po'
make[3]: Entering directory `/home/meena/binutils-2.19/build/bfd/po'
make[3]: Nothing to be done for `info'.
make[3]: Leaving directory `/home/meena/binutils-2.19/build/bfd/po'
make[3]: Entering directory `/home/meena/binutils-2.19/build/bfd'
make[3]: Nothing to be done for `info-am'.
make[3]: Leaving directory `/home/meena/binutils-2.19/build/bfd'
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory `/home/meena/binutils-2.19/build/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/home/meena/binutils-2.19/build'
make: *** [all] Error 2

Then, I installed texinfo (4.11.dfsg.1-4) package.

Further make stops with following messages:

WARNING: `makeinfo' is missing on your system.  You should only need it
if
         you modified a `.texi' or `.texinfo' file, or any other file
         indirectly affecting the aspect of the manual.  The spurious
         call might also be the consequence of using a buggy
`make' (AIX,
         DU, IRIX).  You might want to install the `Texinfo' package or
         the `GNU make' package.  Grab either from any GNU archive site.
make[3]: *** [bfd.info] Error 
make[3]: Leaving directory `/home/meena/binutils-2.19/build/bfd/doc'
Making info in po
make[3]: Entering directory `/home/meena/binutils-2.19/build/bfd/po'
make[3]: Nothing to be done for `info'.
make[3]: Leaving directory `/home/meena/binutils-2.19/build/bfd/po'
make[3]: Entering directory `/home/meena/binutils-2.19/build/bfd'
make[3]: Nothing to be done for `info-am'.
make[3]: Leaving directory `/home/meena/binutils-2.19/build/bfd'
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory `/home/meena/binutils-2.19/build/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/home/meena/binutils-2.19/build'
make: *** [all] Error 2


In order to re-check, I have freshly build the binutils which again
results into following errors:

../../binutils-2.19/gas/config/tc-mips.c: In function ‘macro_end’:
../../binutils-2.19/gas/config/tc-mips.c:3460: error: format not a
string literal and no format arguments
../../binutils-2.19/gas/config/tc-mips.c: In function ‘md_convert_frag’:
../../binutils-2.19/gas/config/tc-mips.c:14453: error: format not a
string literal and no format arguments

Modified the tc-mips.c file as mentioned in my earlier mail.

Further "make" ends with following messages:

make[4]: Leaving directory `/home/meena/Binutils/binutils-2.19/build/ld'
make[3]: Leaving directory `/home/meena/Binutils/binutils-2.19/build/ld'
make[2]: Leaving directory `/home/meena/Binutils/binutils-2.19/build/ld'
make[1]: Nothing to be done for `all-target'.
make[1]: Leaving directory `/home/meena/Binutils/binutils-2.19/build'

"make install" results into 

make[3]: Entering directory
`/home/meena/Binutils/binutils-2.19/build/libiberty/testsuite'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory
`/home/meena/Binutils/binutils-2.19/build/libiberty/testsuite'
make[2]: Leaving directory
`/home/meena/Binutils/binutils-2.19/build/libiberty'
make[1]: Nothing to be done for `install-target'.
make[1]: Leaving directory `/home/meena/Binutils/binutils-2.19/build'

The above command results into generation of "/home/meena/install"
folder and following sub-folders generated in this directory.

address@hidden:~/install$ ls 
bin  info  lib  man  mipstx39  share

Please confirm whether the messages, started with "Nothing to be done
for ....", generated with make and make install are expected and whether
my build is successful or not


> Thanks for mentioning this.  We have already fixed the problem in the 
> mainline sources, so you may want to start using them.
> 

>From where, I can get the modified sources.

Thanks in advance.

- Meena





On Fri, 2009-04-24 at 08:32 +0100, Nick Clifton wrote:
> Hi Meena,
> 
> > ../../binutils-2.19.1/gas/config/tc-mips.c:3459: error: format not a
> > string literal and no format arguments

> Thanks for mentioning this.  We have already fixed the problem in the 
> mainline sources, so you may want to start using them.
> 
> > After doing above modifications, the above errors are not coming but
> > make stops with another warning/error messages as shown below:
> > 
> > WARNING: `makeinfo' is missing on your system.  You should only need it
> > if
> >          you modified a `.texi' or `.texinfo' file, or any other file
> >          indirectly affecting the aspect of the manual.
> 
> Makefino is only needed if the info files that are built from the texi 
> files are out of date.  The problem here is that both the info files and 
> the texi files have come from the same tarball, so they have the same 
> (approximate anyway) timestamp.  One simple solution would be to touch 
> all the info files in your source tree so that the make system believes 
> that that are up to date.  eg:
> 
>    % cd <top-of-binutils-sources>
>    % find . -name "*.info" -exec touch {} \;
> 
> Alternatively you could install the texinfo package on your system which 
> will give you a working makeinfo executable.
> 
> Cheers
>    Nick
> 
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]