View previous topic :: View next topic |
Author |
Message |
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4810 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Sat Feb 24, 2007 3:40 pm Post subject: [glibc] compilazione fallita [risolto] |
|
|
ho un errore nella compilazione di glibc che non comprendo.
non compare su bugzilla e non dipende dal'ultima versione di glibc (accade anche ricompilando la versione 2.4-r1 attualmente esistente). Per questo non mi attacco alla discussione attuale sull'ultima glibc.
l'installazione è una 32bit chrootata da una amd64. edit: ho testato: il chroot non centra.
Ho già fatto un revdep-rebuild e ho lanciato un `emerge -e system` che si stampa poprio su glibc.
il messaggio di errore è il seguente:
Code: |
...
../include/sys/stat.h:19: warning: asm declaration ignored due to conflict with previous rename
../include/sys/stat.h:34: warning: asm declaration ignored due to conflict with previous rename
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5/work/glibc-2.5/libio'
make -j3 -s subdir=dlfcn -C dlfcn ..=../ subdir_lib
make[2]: Entering directory `/var/tmp/portage/sys-libs/glibc-2.5/work/glibc-2.5/dlfcn'
mkdir /var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i686-pc-linux-gnu-nptl/dlfcn
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5/work/glibc-2.5/dlfcn'
make -j3 -s subdir=malloc -C malloc ..=../ subdir_lib
make[2]: Entering directory `/var/tmp/portage/sys-libs/glibc-2.5/work/glibc-2.5/malloc'
mkdir /var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i686-pc-linux-gnu-nptl/malloc
In file included from malloc.c:1722:
../include/sys/mman.h:6: error: conflicting types for '__mmap'
../misc/sys/mman.h:62: error: previous declaration of '__mmap' was here
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i686-pc-linux-gnu-nptl/malloc/malloc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ../io/fcntl.h:38,
from ../include/fcntl.h:2,
from malloc.c:1720:
../include/sys/stat.h:15: warning: asm declaration ignored due to conflict with previous rename
../include/sys/stat.h:17: warning: asm declaration ignored due to conflict with previous rename
../include/sys/stat.h:19: warning: asm declaration ignored due to conflict with previous rename
../include/sys/stat.h:34: warning: asm declaration ignored due to conflict with previous rename
In file included from malloc.c:1720:
../include/fcntl.h:17: warning: asm declaration ignored due to conflict with previous rename
In file included from malloc.c:1722:
../include/sys/mman.h:6: error: conflicting types for '__mmap'
../misc/sys/mman.h:62: error: previous declaration of '__mmap' was here
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i686-pc-linux-gnu-nptl/malloc/malloc.os] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5/work/glibc-2.5/malloc'
make[1]: *** [malloc/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5/work/glibc-2.5'
make: *** [all] Error 2
...
|
_________________ vu vu vu
gentù
mi piaci tu
Last edited by cloc3 on Tue Feb 27, 2007 4:37 am; edited 2 times in total |
|
Back to top |
|
|
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4810 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Sat Feb 24, 2007 7:59 pm Post subject: |
|
|
ho provato a creare un bug .
temo che sia sbagliato, ma spero che mi dicano qualcosa. _________________ vu vu vu
gentù
mi piaci tu |
|
Back to top |
|
|
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4810 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Mon Feb 26, 2007 12:23 pm Post subject: |
|
|
come sospettavo, l'errore era mio. stavo usando la CFLAG -D_FILE_OFFSET_BITS=64 .
il fatto è che fino a ieri, il problema non esisteva, tant'è che le attuali glibc sono compilate proprio con quella flag.
probabilmente l'incompatibilità è emersa con il nuovo gcc.
adesso mi chiedo se, togliendola, troverò di nuovo qualche programmino (come era ad esempio wget) che si torna a stampare sui file grossi. _________________ vu vu vu
gentù
mi piaci tu |
|
Back to top |
|
|
|