bug-hurd
[Top][All Lists]
Advanced

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

Re: Trying to rebuild glibc with -DMALLOC_DEBUG=1


From: Paul Dufresne
Subject: Re: Trying to rebuild glibc with -DMALLOC_DEBUG=1
Date: Sat, 27 Feb 2021 11:26:31 -0500
User-agent: Zoho Mail

---- Le sam., 27 févr. 2021 10:30:27 -0500 Samuel Thibault 
<samuel.thibault@gnu.org> écrit ----

 > Paul Dufresne, le sam. 27 févr. 2021 09:58:50 -0500, a ecrit: 
 > > I am trying to rebuild glibc with -DMALLOC_DEBUG=1 
 > > 
 > > $ DEB_CFLAGS_APPEND="-DMALLOC_DEBUG=1" dpkg-buildpackage -b -uc -us -nc 
 > > (-nc is because I am stopping the build sometimes to check the output) 
 >  
 > Did you pass DEB_CFLAGS_APPEND in the first build? 
Yes.

   
 > Alternatively, grep CFLAGS debian/* shows 
 >  
 > rules:BUILD_CFLAGS = -O2 -g -fdebug-prefix-map=$(CURDIR)=. 
 > rules:HOST_CFLAGS = -pipe -O2 -g -fdebug-prefix-map=$(CURDIR)=. $(call 
 > xx,extra_cflags) 
 >  
 > I guess you could put it there. 
 >  
 > Samuel 
 > 
That's the first place I had tried... but it was not showing more in the outpub.

Seems like glibc does not use dh for anything but tests, and it does explicitly 
unset CFLAGS and others to not be influenced by it.

I also just saw this on the console while building:
glibc-2.31/build-tree/hurd-i386-libc/gmon/tst-sprofil(13864) crashed, signal 
{no:8, code:1, error:0}, exception {3, code:1 subcode:0}, PCs: {0x11e4ff4, 
0x108f69c}, writing core file.

But the build seems to continue.

Also so some "no more room" like ld.so... previously... 

Well, it is long and not working much like expected... might try to directly 
mess with vim.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]