[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

NPTL 0.6 on i585



I've got a i585 host and i want to try NPTL.

I'am running latest vanilla 2.5.49 kernel, and i am trying to compile the latest ( today )  CVS-pulled glibc with nptl 0.6

And it fails ..

gcc init.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g      -I../include -I. -I/mnt/little/linux/glibc-ntpl/build/nptl -I.. -I../libio  -I/mnt/little/linux/glibc-ntpl/build -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i586 -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/i586 -I../sysdeps/i386/i486 -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  -I!
 /lib/modules/2.5.49/build/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1 -DIS_IN_libpthread=1    -o /mnt/little/linux/glibc-ntpl/build/nptl/init.o
Dans le fichier inclus à partir de init.c:27:
pthreadP.h:89: AVERTISSEMENT: « visibility » attribut de la directive ignoré
pthreadP.h:91: AVERTISSEMENT: « visibility » attribut de la directive ignoré
Dans le fichier inclus à partir de init.c:28:

atomic.h:25:25: bits/atomic.h: Aucun fichier ou répertoire de ce type
----------------^^^^^^^^^^^^^

init.c: Dans la fonction « sigcancel_handler »:
init.c:74: AVERTISSEMENT: déclaration implicite de la fonction « __arch_compare_and_exchange_8_acq »
init.c:74: AVERTISSEMENT: déclaration implicite de la fonction « __arch_compare_and_exchange_16_acq »
init.c:74: AVERTISSEMENT: déclaration implicite de la fonction « __arch_compare_and_exchange_32_acq »
init.c:74: AVERTISSEMENT: déclaration implicite de la fonction « __arch_compare_and_exchange_64_acq »
init.c:83: AVERTISSEMENT: déclaration implicite de la fonction « atomic_bit_set »
make[2]: *** [/mnt/little/linux/glibc-ntpl/build/nptl/init.o] Erreur 1
make[2]: Leaving directory `/mnt/little/linux/glibc-ntpl/glibc-2.3.1.cvs20021123/nptl'
make[1]: *** [nptl/others] Erreur 2
make[1]: Leaving directory `/mnt/little/linux/glibc-ntpl/glibc-2.3.1.cvs20021123'
make: *** [all] Erreur 2

this header can be found in nptl/sysdeps/i386/i686/ ..
I tried to cp i686 in i586 but that didn't do it.

I endend to do :
C_INCLUDE_PATH=/path/to/glibc/nptl/sysdeps/i386/i586/

but that didn't do it either .. 
make[2]: *** Pas de règle pour fabriquer la cible « /mnt/little/linux/glibc-ntpl/build/nptl/pthread_spin_trylock.o », nécessaire pour « /mnt/little/linux/glibc-ntpl/build/nptl/libpthread.a ». Arrêt.

No rules to create phtread_spin_trylock.o .


It's maybe related to : https://listman.redhat.com/pipermail/phil-list/2002-November/000276.html

below is the output of a `grep i586 config.log` that could maybe help ?
uname -m = i586
/bin/arch              = i586
configure:1688: result: i586-pc-linux-gnu
configure:1710: result: i586-pc-linux-gnu
ac_cv_build=i586-pc-linux-gnu
ac_cv_build_alias=i586-pc-linux-gnu
ac_cv_host=i586-pc-linux-gnu
ac_cv_host_alias=i586-pc-linux-gnu
build='i586-pc-linux-gnu'
build_cpu='i586'
host='i586-pc-linux-gnu'
host_cpu='i586'
sysnames=' sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i586 nptl/sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread nptl/sysdeps/unix/sysv nptl/sysdeps/unix nptl/sysdeps/i386 sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix sysdeps/i386/i586 sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic'



-- 
+----------------------------------------------+
|Jaquemet Loic                                 |
|Eleve ingenieur en informatique FIIFO, ORSAY  |
+----------------------------------------------+
http://sourceforge.net/projects/ffss/
#wirelessfr @ irc.freenode.net





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]