This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/6020] New: build error in macro lll_futex_wake_unlock in file pthread_cond_signal.c
- From: "devel dot sjanki at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 1 Apr 2008 18:24:58 -0000
- Subject: [Bug nptl/6020] New: build error in macro lll_futex_wake_unlock in file pthread_cond_signal.c
- Reply-to: sourceware-bugzilla at sourceware dot org
I've tried building Glibc 2.7 release and latest 2.7 snapshots on a SPARC V8
(32-bit) GNU/Linux user land with gcc 4.2.3 and binutils 2.17.50.0.17 against
both 2.6.23.17 and 2.6.24.4 kernel headers but keep getting the following
error:
sparc-unknown-linux-gcc
pthread_cond_signal.c -c -std=gnu99 -fgnu89-inline -O3 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -mcpu=v8 -mtune=ultrasparc -Wstrict-prototypes -mlong-double-128 -pg -I../include -I/glibc-tmp-bad23f4945fa7fe0a0c1ab75f2a62b61/glibc-2.7-20080331/build-glibc-2.7/nptl -I/glibc-tmp-bad23f4945fa7fe0a0c1ab75f2a62b61/glibc-2.7-20080331/build-glibc-2.7 -I../sysdeps/sparc/sparc32/elf -I../sysdeps/unix/sysv/linux/sparc/sparc32/fpu -I../sysdeps/sparc/sparc32/fpu -I../nptl/sysdeps/unix/sysv/linux/sparc/sparc32 -I../sysdeps/unix/sysv/linux/sparc/sparc32 -I../sysdeps/ieee754/ldbl-64-128 -I../sysdeps/ieee754/ldbl-opt -I../nptl/sysdeps/unix/sysv/linux/sparc -I../sysdeps/unix/sysv/linux/sparc -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/sparc -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../nptl/sysdeps/sparc/sparc32 -I../sysdeps/sparc/sparc32 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-128 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/sparc/sparc32/soft-fp -I../sysdeps/sparc/fpu -I../nptl/sysdeps/sparc -I../sysdeps/sparc -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/sparc-unknown-linux/4.2.3/include -isystem /usr/src/linux-2.6.23.17/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPROF -DNOT_IN_libc=1 -DIS_IN_libpthread=1 -o /glibc-tmp-bad23f4945fa7fe0a0c1ab75f2a62b61/glibc-2.7-20080331/build-glibc-2.7/nptl/pthread_cond_signal.op -MD -MP -MF /glibc-tmp-bad23f4945fa7fe0a0c1ab75f2a62b61/glibc-2.7-20080331/build-glibc-2.7/nptl/pthread_cond_signal.op.dt -MT /glibc-tmp-bad23f4945fa7fe0a0c1ab75f2a62b61/glibc-2.7-20080331/build-glibc-2.7/nptl/pthread_cond_signal.op
pthread_cond_signal.c:51:19: error: macro "lll_futex_wake_unlock" passed 5
arguments, but takes just 4
pthread_cond_signal.c: In function '__pthread_cond_signal':
pthread_cond_signal.c:49: error: 'lll_futex_wake_unlock' undeclared (first use
in this function)
pthread_cond_signal.c:49: error: (Each undeclared identifier is reported only
once
pthread_cond_signal.c:49: error: for each function it appears in.)
make[2]: ***
[/glibc-tmp-bad23f4945fa7fe0a0c1ab75f2a62b61/glibc-2.7-20080331/build-glibc-2.7/nptl/pthread_cond_signal.op]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/glibc-tmp-bad23f4945fa7fe0a0c1ab75f2a62b61/glibc-2.7-20080331/nptl'
make[1]: *** [nptl/subdir_lib] Error 2
make[1]: Leaving directory
`/glibc-tmp-bad23f4945fa7fe0a0c1ab75f2a62b61/glibc-2.7-20080331'
make: *** [all] Error 2
I will also try the latest glibc 2.8 snapshots to see if the problem is solved
there but I'd rather have a working 2.7 build. I'm working on upgrading my
unofficial 32-bit SPARC port of Slackware 12.0 to 12.1.
--
Summary: build error in macro lll_futex_wake_unlock in file
pthread_cond_signal.c
Product: glibc
Version: unspecified
Status: NEW
Severity: critical
Priority: P1
Component: nptl
AssignedTo: drepper at redhat dot com
ReportedBy: devel dot sjanki at gmail dot com
CC: devel dot sjanki at gmail dot com,glibc-bugs at sources
dot redhat dot com
GCC build triplet: sparc-unknown-linux
GCC host triplet: sparc-unknown-linux
GCC target triplet: sparc-unknown-linux
http://sourceware.org/bugzilla/show_bug.cgi?id=6020
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.