Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] glibc

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] glibc
  • Date: Mon, 14 Mar 2005 08:56:33 -0800

On Mon, Mar 14, 2005 at 10:27:12AM +0100, Benoit PAPILLAULT wrote:
> David Kowis a ?crit :
> >Same here, but a different problem something with nptl:
> >gcc ../nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c -c -std=gnu99 -O
> >-Wall -Winline -Wstrict-prototypes -Wwrite-strings -march=i386 -pipe
> >-mpreferred-stack-boundary=2 -I../include -I.
> >-I/usr/src/glibc-2.3.4.bld/nptl -I.. -I../libio
> >-I/usr/src/glibc-2.3.4.bld -I../sysdeps/i386/elf
> >-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux
> >-I../nptl/sysdeps/pthread -I../sysdeps/pthread
> >-I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix
> >-I../nptl/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386
> >-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
> >-I../sysdeps/unix/mman -I../sysdeps/unix/inet
> >-I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv
> >-I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix
> >-I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32
> >-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64
> >-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
> >-I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/li
> >b/gcc/i386-pc-linux-gnu/3.4.3/include -isystem
> >/usr/src/glibc-2.3.4/linux-libc-headers-2.6.10.0/include
> >-D_LIBC_REENTRANT -D_LIBC_REENTRANT -include
> >../include/libc-symbols.h -o
> >/usr/src/glibc-2.3.4.bld/nptl/libc-lowlevellock.o -MD -MP -MF
> >/usr/src/glibc-2.3.4.bld/nptl/libc-lowlevellock.o.dt -MT
> >/usr/src/glibc-2.3.4.bld/nptl/libc-lowlevellock.o
> >In file included from
> >../nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c:21:
> >../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:29: error: conflicting
> >types for '__lll_lock_wait'
> >../nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:227: error: previous
> >declaration of '__lll_lock_wait' was here
> >../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:29: error: conflicting
> >types for '__lll_lock_wait'
> >../nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:227: error: previous
> >declaration of '__lll_lock_wait' was here
> >../nptl/sysdeps/unix/sysv/linux/lowlevellock.c: In function
> >`__lll_lock_wait':
> >../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:32: warning: implicit
> >declaration of function `atomic_compare_and_exchange_val_acq'
> >../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:36: warning: implicit
> >declaration of function `atomic_compare_and_exchange_bool_acq'
> >../nptl/sysdeps/unix/sysv/linux/lowlevellock.c: In function
> >`__lll_timedlock_wait':
> >../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:71: warning: implicit
> >declaration of function `lll_futex_timed_wait'
> >
> >I've cleanse --fixed and this is the only spell that's broke. I suppose
> >turning off nptl support will make it happy, but I like threading ;)
>
> My conclusion was that NPTL is not supported on i386 :-(. What
> architecture did you select in sorcery?
>

I agree, I had almost exactly the same problem the other day, I switched
to pentium and it worked fine. The arch appears to be i386:
> >gcc ../nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c -c -std=gnu99 -O
> >-Wall -Winline -Wstrict-prototypes -Wwrite-strings -march=i386 -pipe

I filed a bug against glibc such that it should refuse to build nptl if
the arch is i386.

-Andrew




Archive powered by MHonArc 2.6.24.

Top of Page