Am Dienstag, 5. Juli 2016 um 15:31:30, schrieb Jean-Marc Lasgouttes <[email protected]> > commit be1c3f5fe382f10fb59d7e98da3fb00f254b5acc > Author: Jean-Marc Lasgouttes <[email protected]> > Date: Tue Jul 5 15:29:28 2016 +0200 > > Poor man's profiler: add support for cache hit/miss > > This is still very basic profiling, but it seems to get the work done. > --- > src/support/pmprof.h | 79 > +++++++++++++++++++++++++++++++++++++++----------- > 1 files changed, 62 insertions(+), 17 deletions(-) > > diff --git a/src/support/pmprof.h b/src/support/pmprof.h > index fe5ab7a..8aa269a 100644
I suppose this change makes my gcc5.3 unusable.
This are the errors I get when linking lyx
....
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 0 has invalid symbol index 11
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 1 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 2 has invalid symbol index 2
and more.
The problem is that my self compiled gcc5.3 does not contain the file crt1.o
(nor has any /debug/ directory),
so that the linker tries to use the file from package libc6-dbg
I created the gcc5.3 as
# cd objdir
# <soureToGcc5.3>/configure --prefix=/usr/local/gcc5.3
--disable-multilib
# make
# sudo make install-strip
Apparently I have to compile libc6 too and install a (debug?) version. This
looks rather tedious.
So, what can I do to still use gcc5.3 without the profiling? Or are the error
unrelated?
Kornel
signature.asc
Description: This is a digitally signed message part.
