problems with threads/destructors in -current with llvm/clang
Mark Atkinson
atkin901 at gmail.com
Mon Dec 10 20:45:37 UTC 2012
-----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-----
More information about the freebsd-current
mailing list