[dpdk-dev] [PATCH] test/ring: fix long compilation time

Aaron Conole aconole at redhat.com
Thu Apr 30 19:01:13 CEST 2020


Honnappa Nagarahalli <Honnappa.Nagarahalli at arm.com> writes:

> <snip>
>
>> Subject: Re: [PATCH] test/ring: fix long compilation time
>> 
>> Honnappa Nagarahalli <honnappa.nagarahalli at arm.com> writes:
>> 
>> > test_ring.c takes lot of time to compile with clang. It is
>> > reproducable with compiler version 8.0 on Ubuntu 18.04.
>> > Amount of testing is reduced, but attempt is made to keep the same
>> > coverage.
>> >
>> > Reported-by: Aaron Conole <aconole at redhat.com>
>> > Reported-by: Thomas Monjalon <thomas at monjalon.net>
>> > Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
>> > Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
>> > ---
>> 
>> Thanks, Honnappa!
>> 
>> One thing to note, I don't see this with just clang - it occurs with gcc as well.
>> I'm going to test this patch today.
> Which gcc version are you using? I do not see test_ring.c taking much
> time for compilation for gcc on my x86 platform.

7.4.0, but I'm also adding asan and ubsan to it.

> The clang issue is seen on x8, on Arm it does not show issues.

I didn't check arm, yet



More information about the dev mailing list