Re: linking fails for large debug builds

Jörg Sonnenberger <[email protected]>
Newsgroups gmane.os.netbsd.current
Message-ID <[email protected]>

On 1/30/26 7:52 PM, Thomas Klausner wrote:
> On Fri, Jan 30, 2026 at 04:52:12PM +0100, Joerg Sonnenberger wrote:
>> On 1/30/26 1:32 PM, Thomas Klausner wrote:
>>> I'm trying to debug webkit-gtk, but I run into the problem that '-g'
>>> builds don't link.
>>
>> Try using -gdwarf64.
> 
> Thank you, that works!
> 
> What are the advantages/disadvantages of this compared to the -g
> default? Is this something I should use in general (instead of -g), or
> just in cases like this webkit-gtk?

It should create larger output as offsets are 64bit instead of 32bit 
size, but otherwise both should work for small programs.

Joerg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.