Date: Mon, 10 Dec 2012 12:45:23 -0800 From: Mark Atkinson <atkin901@gmail.com> To: freebsd-current@freebsd.org Cc: kde-freebsd@freebsd.kde.org Subject: Re: problems with threads/destructors in -current with llvm/clang Message-ID: <ka5hl1$919$1@ger.gmane.org> In-Reply-To: <20121210203331.GV3013@kib.kiev.ua> References: <k9qjml$ri7$1@ger.gmane.org> <50C1E81A.1040107@FreeBSD.org> <50C1F862.2010501@FreeBSD.org> <k9t6bq$bhs$1@ger.gmane.org> <50C22789.3030303@FreeBSD.org> <ka56gv$t60$1@ger.gmane.org> <20121210182525.GR3013@kib.kiev.ua> <ka5gmu$129$1@ger.gmane.org> <20121210203331.GV3013@kib.kiev.ua>
index | next in thread | previous in thread | raw e-mail
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/10/2012 12:33, Konstantin Belousov wrote:
> Hmm. Since I took out -O2 and added -g in rebuilding
> libthr/libc/rtld, I figured I needed to reproduce a new segfault,
> but the rtld side of things seems broken:
>> Use e.g. cd src/libexec/rtld-elf && make DEBUG_FLAGS=-g clean all
>> install This is really FAQ.
It _is_ strange, because I did almost exactly that (dumped a temporary
DEBUG_FLAGS/CFLAGS in /etc/make.conf)
The one I had problems with was libc since It needs a make depend in
there.
$ readelf -w /libexec/ld-elf.so.1 |head
The section .debug_aranges contains:
Length: 28
Version: 2
Offset into .debug_info: 0
Pointer Size: 4
Segment Size: 0
Address Length
0x00000e80 0x49
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iEUEARECAAYFAlDGSeMACgkQrDN5kXnx8yYb6QCfQFO6o/At+srdpuRfI8jGCnqu
ZJMAlir1UvA4mgE0k2ewP43ayPiepCM=
=YVai
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ka5hl1$919$1>
