NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/56179: build.sh fails on OpenBSD 6.9 #1 - nbmakeinfo seg faults
>Number: 56179
>Category: toolchain
>Synopsis: build.sh fails on OpenBSD 6.9 #1 - nbmakeinfo seg faults
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 16 12:45:00 +0000 2021
>Originator: Chris Pinnock
>Release: NetBSD-current, recent sources as of 16/5/2021
>Organization:
>Environment:
OpenBSD blowfish.home 6.9 GENERIC.MP#473 amd64
OpenBSD clang version 10.0.1
Target: amd64-unknown-openbsd6.9
Thread model: posix
>Description:
The nbmakeinfo tool produced by build.sh seg faults when building gccint.texi
during the ./build.sh tools phase.
(Output stops around here:
12.2 Class hierarchy of GIMPLE statements
=========================================
)
/home/cjep/src/NetBSD/obj/sparc64/home/cjep/NetBSD-current/src/tooldir.OpenBSD-6.9-amd64/bin/nbmakeinfo --no-split -I . -I /home/cjep/NetBSD-current/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/doc -I /home/cjep/NetBSD-current/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/doc/include -o doc/gccint.info /home/cjep/NetBSD-current/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/doc/gccint.texi
cjep@blowfish% gdb --core=nbmakeinfo.core "/home/cjep/src/NetBSD/obj/sparc64/home/cjep/NetBSD-current/src/tooldir.OpenBSD-6.9-amd64/bin/nbmakeinfo"
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd6.9"...
(no debugging symbols found)
Core was generated by `nbmakeinfo'.
Program terminated with signal 11, Segmentation fault.
(no debugging symbols found)
Loaded symbols for /home/cjep/src/NetBSD/obj/sparc64/home/cjep/NetBSD-current/src/tooldir.OpenBSD-6.9-amd64/bin/nbmakeinfo
Reading symbols from /usr/lib/libc.so.96.0...done.
Loaded symbols for /usr/lib/libc.so.96.0
Reading symbols from /usr/libexec/ld.so...Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
#0 0x0000016615fed6c6 in output_multitable_row ()
from /home/cjep/src/NetBSD/obj/sparc64/home/cjep/NetBSD-current/src/tooldir.OpenBSD-6.9-amd64/bin/nbmakeinfo
.gdbinit:12: Error in sourced command file:
/home/cjep/NetBSD-current/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gdbinit.in:311: Error in sourced command file:
Undefined command: "alias". Try "help".
(gdb) bt
#0 0x0000016615fed6c6 in output_multitable_row ()
from /home/cjep/src/NetBSD/obj/sparc64/home/cjep/NetBSD-current/src/tooldir.OpenBSD-6.9-amd64/bin/nbmakeinfo
#1 0x0000016615fed436 in multitable_item ()
from /home/cjep/src/NetBSD/obj/sparc64/home/cjep/NetBSD-current/src/tooldir.OpenBSD-6.9-amd64/bin/nbmakeinfo
#2 0x0000016615fe0833 in cm_item ()
from /home/cjep/src/NetBSD/obj/sparc64/home/cjep/NetBSD-current/src/tooldir.OpenBSD-6.9-amd64/bin/nbmakeinfo
#3 0x0000016615fe8142 in reader_loop ()
from /home/cjep/src/NetBSD/obj/sparc64/home/cjep/NetBSD-current/src/tooldir.OpenBSD-6.9-amd64/bin/nbmakeinfo
#4 0x0000016615fd5e47 in handle_include ()
from /home/cjep/src/NetBSD/obj/sparc64/home/cjep/NetBSD-current/src/tooldir.OpenBSD-6.9-amd64/bin/nbmakeinfo
#5 0x0000016615fe8142 in reader_loop ()
from /home/cjep/src/NetBSD/obj/sparc64/home/cjep/NetBSD-current/src/tooldir.OpenBSD-6.9-amd64/bin/nbmakeinfo
#6 0x0000016615fec3b2 in convert_from_loaded_file ()
from /home/cjep/src/NetBSD/obj/sparc64/home/cjep/NetBSD-current/src/tooldir.OpenBSD-6.9-amd64/bin/nbmakeinfo
#7 0x0000016615fe576f in main ()
from /home/cjep/src/NetBSD/obj/sparc64/home/cjep/NetBSD-current/src/tooldir.OpenBSD-6.9-amd64/bin/nbmakeinfo
>How-To-Repeat:
Install OpenBSD 6.9
Grab src
./build.sh -U -m amd64 tools
>Fix:
Home |
Main Index |
Thread Index |
Old Index