Description of problem: makeinfo dies when building certain files. This is
evident for me when building a patched (for use with bdm) copy of gdb.6.1.
Whatever additions are made into the gdb.texinfo file, seem to expose this bug.
Version-Release number of selected component (if applicable): 4.7-5
Build patched version of gdb with stock Fedora 3 version of texinfo on board.
You get the cryptic error:
gdb.info: Bad address
and the build aborts. Now patch and rebuild texinfo with the patch from the URL
referenced above. Use this patch INSTEAD of the patch file: texinfo-fix.patch
which is part of the current source rpm. The patch I suggest modifies the same
line (in a different way) along with a bunch of other changes.
The patched makeinfo will now work without crashing on the same gdb.texinfo file.
Steps to Reproduce:
1. download ftp://ftp.gnu.org/pub/gnu/gdb-6.1.tar.gz
2. download attached bdm patch for gdb (used to expose bug)
3. tar xzvf gdb-6.1.tar.gz
4. cd gdb-6.1
5. patch -p1 <gdb-6.1-bdm-m68k.patch
6. cd ..
7. mkdir gdb-build
8. cd gdb-build
10. make info
Somewhere in the build, makeinfo gives error: Bad address and exits prematuresly
Build should complete successfully
Created attachment 111311 [details]
Not a patch for texinfo -- just to demonstrate bug
Created attachment 111312 [details]
The texinfo patch formatted and ready to use in place of texinfo-fix.patch
Here is the referenced patch (which I applied by hand in order to undo
texinfo-fix.patch) and then re-diffed in a format ready to drop into the source
rpm if wanted.
Does this happen with the texinfo in rawhide (4.8)?
FC 3 now contains texinfo-4.8-2.2, which includes changes similar to your patch.
Thanks for your report.