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



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