From: Omar Polo <op@omarpolo.com>
Date: Thu, 03 Aug 2023 23:36:06 +0200
>> > other than this, while the changes are a bit over my head, I've
>> > quickly tested it and it seems to be working. So, fwiw, OK op@.
>> >
>> > I still get some ??? entries, for example with grep:
>> >
>> > $ make clean obj
>> > [...]
>> > $ make DEBUG='-O0 -g3'
>> > [...]
>> > $ valgrind obj/grep foo Makefile
>> > [...]
>> > ==31128== Use of uninitialised value of size 8
>> > ==31128== at 0x49D935D: ??? (in obj/grep)
>> > ==31128== by 0x10F385: grep_reallocarray (util.c:615)
>> > ==31128== by 0x10D626: add_pattern (grep.c:186)
>> > ==31128== by 0x10D426: add_patterns (grep.c:224)
>> > ==31128== by 0x10D03C: main (grep.c:473)
>> > [...]
>>
>> I also tried DEBUG="-O0 -g3", but ??? was not displayed. Is your
>> libc.so stripped?
>
> nope. while i've rebuilt and installed it, it's not stripped. I can
> set a breakpoint in, for e.g., reallocarray in egdb and step into libc
> just fine.
>
> Not a blocker for your diff IMHO since it improves the situation.
> Given the tricky port I guess it's better to have this in.
I will investigate into it again.
Thank you.
--
ASOU Masato
No comments:
Post a Comment