[Clfs-support] Fwd: problems with gcc-4.2.2-cross-compiler-final compilation
b-vol
bvl at btconnect.com
Mon Jan 14 01:15:54 PST 2008
Greetings,
I am attempting an amd64-64 bit build using the latest dev clfs. I am not new
to LFS. I bumped into my first problem at section 5.10 of the book
(gcc-4-2-2-cross compiler final). The hostcompileroutput is shown below.
########## 5.10. GCC-4.2.2 - Cross Compiler Final
(X_64 (64-bit) build host runs fedora 8)
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/gthr-posix.h:107: warning: type
defaults to 'int' in declaration of '__gthrw_pthread_mutexattr_destroy'
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/gthr-posix.h:572: error:
expected ')' before '*' token
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/gthr-posix.h:581: error:
expected ')' before '*' token
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/gthr-posix.h:587: error:
expected ')' before 'key'
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/gthr-posix.h:593: error:
expected ')' before 'key'
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/gthr-posix.h:599: error:
expected ')' before 'key'
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/gthr-posix.h:605: error:
expected ')' before '*' token
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/gthr-posix.h:614: error:
expected ')' before '*' token
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/gthr-posix.h:623: error:
expected ')' before '*' token
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/gthr-posix.h:633: error:
expected ')' before '*' token
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/gthr-posix.h:654: error:
expected ')' before '*' token
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/gthr-posix.h:660: error:
expected ')' before '*' token
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/gthr-posix.h:666: error:
expected ')' before '*' token
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/unwind-dw2.c: In
function 'uw_init_context_1':
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/unwind-dw2.c:1417: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'once_regsizes'
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/unwind-dw2.c:1417:
error: 'once_regsizes' undeclared (first use in this function)
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/unwind-dw2.c:1417: error: (Each
undeclared identifier is reported only once
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/unwind-dw2.c:1417: error: for each
function it appears in.)
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/unwind-dw2.c:1417:
error: 'PTHREAD_ONCE_INIT' undeclared (first use in this function)
/mnt/clfs/sources-clfsX64Jn08/gcc-4.2.2/gcc/unwind-dw2.c:1418: warning:
implicit declaration of function '__gthread_once'
make[3]: *** [libgcc/./unwind-dw2.o] Error 1
help will be appreciated
sincerely
b-vol
-------------------------------------------------------
More information about the Clfs-support
mailing list