This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/21601] New: glibc-2.25: unknown type name 'lll_futex_timed'
- From: "andrej.valek at siemens dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 15 Jun 2017 10:14:21 +0000
- Subject: [Bug build/21601] New: glibc-2.25: unknown type name 'lll_futex_timed'
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21601
Bug ID: 21601
Summary: glibc-2.25: unknown type name 'lll_futex_timed'
Product: glibc
Version: 2.25
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: andrej.valek at siemens dot com
CC: carlos at redhat dot com
Target Milestone: ---
Created attachment 10147
--> https://sourceware.org/bugzilla/attachment.cgi?id=10147&action=edit
proposal patch to fix "unknown type name 'lll_futex_timed'"
Hello,
I was trying to compile the glibc-2.25 with disabled FUTEX_CLOCK_REALTIME
feature.
| In file included from
../sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c:22:0:
| ../nptl/pthread_mutex_timedlock.c: In function 'pthread_mutex_timedlock':
| ../nptl/pthread_mutex_timedlock.c:287:4: error: unknown type name
'lll_futex_timed'
| lll_futex_timed wait (&mutex->__data.__lock, oldval,
| ^
| ../nptl/pthread_mutex_timedlock.c:287:26: error: expected declaration
specifiers or '...' before '&' token
| lll_futex_timed wait (&mutex->__data.__lock, oldval,
| ^
| ../nptl/pthread_mutex_timedlock.c:287:49: error: expected declaration
specifiers or '...' before 'oldval'
| lll_futex_timed wait (&mutex->__data.__lock, oldval,
| ^
| ../nptl/pthread_mutex_timedlock.c:288:5: error: expected declaration
specifiers or '...' before '&' token
| &rt, PTHREAD_ROBUST_MUTEX_PSHARED (mutex));
| ^
| In file included from ../sysdeps/nptl/lowlevellock.h:23:0,
| from ../sysdeps/unix/sysv/linux/powerpc/lowlevellock.h:22,
| from ../nptl/descr.h:30,
| from ../sysdeps/powerpc/nptl/tls.h:50,
| from ../include/errno.h:27,
| from ../nptl/pthread_mutex_timedlock.c:20,
| from
../sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c:22:
| ../sysdeps/unix/sysv/linux/lowlevellock-futex.h:41:28: error: expected
declaration specifiers or '...' before numeric constant
| #define FUTEX_PRIVATE_FLAG 128
| ^
| ../sysdeps/unix/sysv/linux/lowlevellock-futex.h:50:20: note: in expansion of
macro 'FUTEX_PRIVATE_FLAG'
| #define LLL_SHARED FUTEX_PRIVATE_FLAG
| ^
| ../nptl/pthreadP.h:130:41: note: in expansion of macro 'LLL_SHARED'
| #define PTHREAD_ROBUST_MUTEX_PSHARED(m) LLL_SHARED
| ^
| ../nptl/pthread_mutex_timedlock.c:288:10: note: in expansion of macro
'PTHREAD_ROBUST_MUTEX_PSHARED'
| &rt, PTHREAD_ROBUST_MUTEX_PSHARED (mutex));
I have found, that was missing '_' between 'lll_futex_timed' and 'wait'.
Proposal patch is included in attachment.
--
You are receiving this mail because:
You are on the CC list for the bug.