Skip to contentSkip to conversation

aiocp: modify segfault in dev_block_size_by_path

PATCH Cyril Hrubis 1 participant 2 messages Apr 29, 2015 – Apr 30, 2015 2 messages not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi!
Thanks for catching this. I've pushed a bit different patch that fixes also the -w option.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#3 lore raw
In reply to a message not in the archive

Hi!

Quoted 7 lines

Thanks. And I have another little question about debug ltp. When I hit this segfault I got a core file, but that core without debug information. So I tried to add "-g" for gcc and remove "-O2" option. I did that job manually(deleted -O2 from every files contain it).

Is there some good configure or make options can be used to build a
debug version ltp? Can you give me some steps to do that?

Hm, passing CFLAGS to configure should work as:

CFLAGS="-W -Wextra -O0 -ggdb" ./configure

But looking at what we have in LTP there are OPT_CFLAGS and WCFLAGS which adds the -O2 and more. So at the moment you have to modify CFLAGS manually in the include/mk/config.mk.

Does anybody have an idea why the CFLAGS are split among three variables to optimizations and warnings? It does no make much sense to me. There is only one place in the source tree where these are redefined, I will check if that is really needed and possibly get rid of this mess. Is anybody opposed?

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list