NetBSD-Bugs archive

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

Re: toolchain/48730: shared libraries built with -g do not contain debugging symbols



The following reply was made to PR toolchain/48730; it has been noted by GNATS.

From: Antti Kantee <pooka%iki.fi@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>, 
gnats-bugs%NetBSD.org@localhost, 
 toolchain-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
 netbsd-bugs%netbsd.org@localhost
Cc: 
Subject: Re: toolchain/48730: shared libraries built with -g do not contain
 debugging symbols
Date: Wed, 09 Apr 2014 19:14:33 +0000

 On 09/04/14 19:10, Christos Zoulas wrote:
 > On Apr 9,  6:31pm, pooka%iki.fi@localhost (Antti Kantee) wrote:
 > -- Subject: Re: toolchain/48730: shared libraries built with -g do not contai
 >
 > | a) MKDEBUG=yes doesn't work for me either
 > | b) reading bsd.lib.mk, lib.so.full will get stripped by objcopy before
 > | ld.so.debug is created
 >
 > Is this part of gimpy's arm changes?
 
 Revision 1.349: download - view: text, markup, annotated - select for diffs
 Fri Apr 4 07:10:15 2014 (5 days, 14 hours ago)
 
 Using -Wl,-x breaks build ARM BE8 shared libraries by striping the $a/$d/$t
 symbols before the linker can use them.  Instead do ${OBJCOPY} -x ${.TARGET}
 afterwards.
 
 > | Are you sure you built the library under debug with the affected version
 > | of bsd.lib.mk?
 >
 > I don't know; my build was April 1st (no joke).
 
 That was 3 days before the revision quoted in the PR was committed, so 
 it doesn't make a very good test case ;)
 


Home | Main Index | Thread Index | Old Index