[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: texinfo-4.7: makeinfo: "bad address"
From: |
Thomas Klausner |
Subject: |
Re: texinfo-4.7: makeinfo: "bad address" |
Date: |
Wed, 14 Jul 2004 00:31:54 +0200 |
On Tue, Jul 13, 2004 at 05:15:39PM +0200, Thomas Klausner wrote:
> Hi!
>
> I have the following setup:
> binutils-2.14 are extracted somewhere.
> I want to rebuild the info files with makeinfo-4.7
> in no-split format. So I do for example:
>
> makeinfo -I/usr/src/gnu/dist/binutils/ld
> -I/usr/src/gnu/dist/binutils/bfd/doc --no-split -o ld.info
> /usr/src/gnu/dist/binutils/ld/ld.texinfo
>
> This worked with 4.6.
>
> It dies with 4.7 with:
> ld.info: Bad address
> ld.info: Bad address
> makeinfo: Removing output file `ld.info' due to errors; use --force to
> preserve.
>
> I tried replacing makeinfo source files with the ones from cvs,
> but that didn't help, so I think the bug is still there in the
> latest version.
>
> It seems to me that makeinfo reads the bfd.info file that comes
> with the binutils-2.14 distribution (and was created with makeinfo-4.3)
> and dies somewhere in the indices it finds there.
>
> When I remove ld.info in the binutils distribution, it works too.
> It also works when I remove "--no-split".
>
> However, I'd prefer a solution where I have to do neither of these
> due to other constraints.
enami tsugutomo pointed out:
IMHO find_and_load() called from handle_delayed_writes() should not
use include path at all.
And the attached patch seems to fix the problem.
Comments still welcome :)
Cheers,
Thomas
--
Thomas Klausner - address@hidden
What is wanted is not the will to believe, but the will to find
out, which is the exact opposite. -- Bertrand Russell
find_file_in_path.diff
Description: Text document