Open GoogleCodeExporter opened 9 years ago
any one help?
Original comment by WangN...@gmail.com
on 28 Feb 2012 at 1:56
I suspect you are going to need --enable-frame-pointers and possibly libunwind.
Also, try without any optimizations and full debugging symbols:
-g -O0
Original comment by chapp...@gmail.com
on 2 Mar 2012 at 4:25
Any update here. If not I am going to close this one off.
Original comment by chapp...@gmail.com
on 11 Mar 2013 at 2:09
mips doesn't have standard way to grab backtraces. On mailing list I've seen
people reporting that -fexceptions and libunwind seem to work (with yet to be
merged patches).
Original comment by alkondratenko
on 14 Sep 2013 at 8:20
Hi,
I'm observing the same issue on on cavium octeon mips64
Here are the steps which i tried,
1. Compiled libunwind for mips64-octeon-linux-gnu with the following options,
./configure --host=mips64-octeon-linux-gnu CC=mips64-octeon-linux-gnu-gcc
make
2. Compiled libtcmalloc for mips64-octeon-linux-gnu with the following options,
./configure --host=mips64-octeon-linux-gnu --enable-libunwind=yes
--enable-frame-pointers CC=mips64-octeon-linux-gnu-gcc
LDFLAGS=-L../libunwind-1.1/src/.libs LIBS=-lunwind
CPPFLAGS=-I../libunwind-1.1/include
make
3. Compiled a sample program which does a malloc(100) and new int[200] as
follows,
mips64-octeon-linux-gnu-g++ temp.c -L ./.libs -L ../libunwind-1.1/src/.libs/
-ltcmalloc -lunwind
4. The program compiled successfully and on execution with HEAPCHECK=normal, i
see the following output,
heap profile: 2: 900 [ 2: 900] @ heapprofile
1: 100 [ 1: 100] @
1: 800 [ 1: 800] @
MAPPED_LIBRARIES:
...
Output from the HEAP checker displays that 100 and 800 bytes have been leaked
but does not print any address where the allocation is done.
On using pprof it says "No nodes to print"
Kindly suggest.
Regards
Original comment by lokna...@gmail.com
on 25 Feb 2015 at 9:39
Please find the source and compiler version details,
gperftools-2.4.tar.gz
libunwind-1.1.tar.gz
mips64-octeon-linux-gnu-g++ (Cavium Inc. Version: 2_3_0 build 116) 4.3.3
Original comment by lokna...@gmail.com
on 25 Feb 2015 at 9:47
Please suggest..
Original comment by lokna...@gmail.com
on 26 Feb 2015 at 3:47
Any help??
Original comment by lokna...@gmail.com
on 4 Mar 2015 at 5:40
Is anybody willing to help here?
Original comment by lokna...@gmail.com
on 12 Mar 2015 at 12:51
Original issue reported on code.google.com by
xuxin2...@gmail.com
on 16 Feb 2012 at 3:46Attachments: