pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/51266: Seg Faults building devel/gobject-inspection with latest 8.0_BETA
The following reply was made to PR pkg/51266; it has been noted by GNATS.
From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/51266: Seg Faults building devel/gobject-inspection with
latest 8.0_BETA
Date: Mon, 3 Jul 2017 15:49:55 -0500 (CDT)
When using the patch from toolchain/52326, it is imporant to do a non-
update build of the system, then remove all packages and build them
from scratch.
Packages built with the unmodified compiler will likely segfault in
their +INSTALL and +DEINSTALL scripts, typically when running
"gio-querymodules", when installed on a system built with the modified
compiler.
The following example backtrace comes from installing "glib2-2.50.3"
built without the patch on a i386 base system built with the patch:
$ sudo gdb gio-querymodules /var/db/pkg/glib2-2.50.3/gio-querymodules.core
[...]
Core was generated by `gio-querymodules'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0xba814cf7 in ?? ()
(gdb) bt
#0 0xba814cf7 in ?? ()
#1 0xba518c95 in ?? () from /usr/lib/libgcc_s.so.1
#2 0xbb784433 in _rtld_exit () from /usr/libexec/ld.elf_so
#3 0xba90aedd in __cxa_finalize () from /usr/lib/libc.so.12
#4 0xba90ab72 in exit () from /usr/lib/libc.so.12
#5 0x08048c1c in ___start ()
#6 0x08048b08 in _start ()
(gdb) quit
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index