Bug 970865 - Testsuite failure: tst-aiod2.c and tst-aiod3.c build failure
Summary: Testsuite failure: tst-aiod2.c and tst-aiod3.c build failure
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Siddhesh Poyarekar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-05 06:39 UTC by Siddhesh Poyarekar
Modified: 2016-11-24 12:11 UTC (History)
8 users (show)

Fixed In Version: glibc-2.17-14.fc19
Clone Of:
Environment:
Last Closed: 2013-08-23 09:51:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Siddhesh Poyarekar 2013-06-05 06:39:33 UTC
Description of problem:
The test cases tst-aiod2.c and tst-aiod3.c fail to build:

tst-aiod3.c: In function 'thrfct':
tst-aiod3.c:35:3: warning: implicit declaration of function 'pthread_barrier_wait' [-Wimplicit-function-declaration]
   int e = pthread_barrier_wait (&b);
   ^
tst-aiod3.c:36:22: error: 'PTHREAD_BARRIER_SERIAL_THREAD' undeclared (first use in this function)
   if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD)
                      ^
tst-aiod3.c:36:22: note: each undeclared identifier is reported only once for each function it appears in
tst-aiod3.c: In function 'do_test':
tst-aiod3.c:62:3: warning: implicit declaration of function 'pthread_barrier_init' [-Wimplicit-function-declaration]
   if (pthread_barrier_init (&b, NULL, 2) != 0)
   ^
tst-aiod3.c:120:22: error: 'PTHREAD_BARRIER_SERIAL_THREAD' undeclared (first use in this function)
   if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD)
                      ^

tst-aiod2.c: In function 'thrfct':
tst-aiod2.c:36:3: warning: implicit declaration of function 'pthread_barrier_wait' [-Wimplicit-function-declaration]
   int e = pthread_barrier_wait (&b);
   ^
tst-aiod2.c:37:22: error: 'PTHREAD_BARRIER_SERIAL_THREAD' undeclared (first use in this function)
   if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD)
                      ^
tst-aiod2.c:37:22: note: each undeclared identifier is reported only once for each function it appears in
tst-aiod2.c: In function 'do_test':
tst-aiod2.c:63:3: warning: implicit declaration of function 'pthread_barrier_init' [-Wimplicit-function-declaration]
   if (pthread_barrier_init (&b, NULL, 2) != 0)
   ^
tst-aiod2.c:117:22: error: 'PTHREAD_BARRIER_SERIAL_THREAD' undeclared (first use in this function)
   if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD)
                      ^

Version-Release number of selected component (if applicable):
glibc-2.17.90-1.fc20

How reproducible:
Always.

Steps to Reproduce:
See Build log.

Additional info:
The tests fail to include pthread.h.

Comment 1 Fedora Update System 2013-08-26 12:34:13 UTC
glibc-2.17-14.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/glibc-2.17-14.fc19

Comment 2 Fedora Update System 2013-08-27 23:29:37 UTC
glibc-2.17-14.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.