[LTP] [PATCH v2 2/2] pec: Improve reliability

Petr Vorel
2021-08-24T10:47:31Z

Hi Joerg,

> > FYI, this patch breaks build:

> > make[1]: Leaving directory 'ltp.git/lib'
> > /usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: ../../../../lib/libltp.a(tst_checkpoint.o):ltp.git/lib/tst_checkpoint.c:36: multiple definition of `tst_futexes'; /tmp/ccITQEiq.o:ltp.git/testcases/kernel/connectors/pec/event_generator.c:168: first defined here
> > collect2: error: ld returned 1 exit status
> > make: *** [../../../../include/mk/rules.mk:37: event_generator] Error 1
> Strange that it builds on my system... The symbol is indeed duplicated and a
> leftover from experimenting.
> The declaration in event_generator.c can be removed.
> Should I post a v3?
Yes please.

Kind regards,
Petr