Re: problems with threads/destructors in -current with llvm/clang

From: Mark Atkinson <atkin901_at_gmail.com>
Date: Mon, 10 Dec 2012 12:45:23 -0800
-----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-----
Received on Mon Dec 10 2012 - 19:45:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:33 UTC