public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2 1/7] fzsync: Add self tests
Date: Thu, 18 Mar 2021 22:16:53 +0100	[thread overview]
Message-ID: <YFPDRciWeJrwDuVf@pevik> (raw)
In-Reply-To: <20210318130935.28528-2-rpalethorpe@suse.com>

Hi Richie,

FYI this commit fails due
/usr/bin/ld: /tmp/ccBD0Mxi.o: in function `tst_fzsync_pair_cleanup':
/home/pevik/install/src/ltp.git/lib/newlib_tests/../../include/tst_fuzzy_sync.h:226: undefined reference to `pthread_cancel'
/usr/bin/ld: /home/pevik/install/src/ltp.git/lib/newlib_tests/../../include/tst_fuzzy_sync.h:226: undefined reference to `pthread_cancel'
/usr/bin/ld: ../../lib/libltp.a(safe_pthread.o): in function `safe_pthread_create':
/home/pevik/install/src/ltp.git/lib/safe_pthread.c:18: undefined reference to `pthread_create'
/usr/bin/ld: ../../lib/libltp.a(safe_pthread.o): in function `safe_pthread_join':
/home/pevik/install/src/ltp.git/lib/safe_pthread.c:34: undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
make[1]: *** [../../include/mk/rules.mk:37: tst_fuzzy_sync01] Error 1
make: *** [../include/mk/generic_trunk_target.inc:105: all] Error 2

lib/newlib_tests/Makefile needs to add:
tst_fuzzy_sync01: CFLAGS+=-pthread
tst_fuzzy_sync02: CFLAGS+=-pthread

Kind regards,
Petr

  reply	other threads:[~2021-03-18 21:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-18 13:09 [LTP] [PATCH v2 0/7] Fuzzy Sync single core support and tests Richard Palethorpe
2021-03-18 13:09 ` [LTP] [PATCH v2 1/7] fzsync: Add self tests Richard Palethorpe
2021-03-18 21:16   ` Petr Vorel [this message]
2021-03-19  7:57     ` Richard Palethorpe
2021-03-18 13:09 ` [LTP] [PATCH v2 2/7] fzsync: Reset delay bias Richard Palethorpe
2021-04-07 15:37   ` Cyril Hrubis
2021-03-18 13:09 ` [LTP] [PATCH v2 3/7] fzsync: Correctly print positive lower delay range bound Richard Palethorpe
2021-03-18 13:09 ` [LTP] [PATCH v2 4/7] fzsync: Add sched_yield for single core machine Richard Palethorpe
2021-03-18 13:09 ` [LTP] [PATCH v2 5/7] fzsync: Move yield check out of loop and add yield to delay Richard Palethorpe
2021-03-18 13:09 ` [LTP] [PATCH v2 6/7] API: Add tst_ncpus_available Richard Palethorpe
2021-04-07 15:36   ` Cyril Hrubis
2021-04-07 15:38     ` Cyril Hrubis
2021-03-18 13:09 ` [LTP] [PATCH v2 7/7] fzsync: Check processor affinity Richard Palethorpe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YFPDRciWeJrwDuVf@pevik \
    --to=pvorel@suse.cz \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox