NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/53457: c++ -pg -m32 broken

>Number:         53457
>Category:       toolchain
>Synopsis:       c++ -pg -m32 broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 17 09:00:00 +0000 2018
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.22
The NetBSD Foundation, Inc.
System: NetBSD 8.99.22 NetBSD 8.99.22 (MODULAR) #100: Mon Jul 16 10:08:57 CEST 2018 sparc64
Architecture: sparc64
Machine: sparc64

Compiling any program with something like:

	c++ -m32 -pg -g -o hello test.cpp

creates a binary that crashes early in startup:
  0x000499c4 in dl_iterate_phdr ()
  0x00017d74 in __libc_static_tls_setup ()
  0x0004f11c in _libc_init ()

because auxinfo is not set and _dlauxinfo() returns a NULL pointer.



Home | Main Index | Thread Index | Old Index