Subject: toolchain/26791: nbmakeinfo cores if MKCROSSGDB=yes is set
To: None <gnats-bugs@gnats.NetBSD.org>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 08/28/2004 19:27:09
>Number: 26791
>Category: toolchain
>Synopsis: nbmakeinfo cores if MKCROSSGDB=yes is set
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Aug 28 17:28:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Martin Husemann
>Release: NetBSD 2.0G
>Organization:
>Environment:
System: NetBSD night-porter.duskware.de 2.0G NetBSD 2.0G (PORTER) #5: Sun Jul 4 18:09:04 CEST 2004 martin@night-porter.duskware.de:/usr/src/sys/arch/i386/compile/PORTER i386
Architecture: i386
Machine: i386
>Description:
When building gdb as a cross tool nbmakeinfo confuses filesize (determined by
stat(2)) and loaded file size (via path) - and dies from a SIGSEGV.
>How-To-Repeat:
Set MKCROSSGDB and run build.sh -O ...
>Fix:
Index: node.c
===================================================================
RCS file: /cvsroot/src/gnu/dist/texinfo/makeinfo/node.c,v
retrieving revision 1.2
diff -c -u -r1.2 node.c
--- node.c 14 Jul 2004 00:12:28 -0000 1.2
+++ node.c 28 Aug 2004 17:21:31 -0000
@@ -1717,7 +1717,7 @@
return;
file_size = (long) fileinfo.st_size;
- the_file = find_and_load (filename, 1);
+ the_file = find_and_load (filename, 0);
if (!the_file)
return;
>Release-Note:
>Audit-Trail:
>Unformatted: