This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/14147] Cross-Compilation fails


------- Additional Comments From joachim dot eibl at gmx dot de  2004-02-15 12:13 -------
Hi, 
Now I've installed binutils for alpha, mips and ia64. The compilation now 
fails at other places. Any other hints? 
 
 
Errors for ia64: 
 
make[2]: Entering directory 
`/home/joachim/Documents/gcc-3.4-20040211/build_ia64/gcc' 
for d in libgcc; do \ 
  if [ -d $d ]; then true; else /bin/sh ../../gcc/mkinstalldirs $d; fi; \ 
done 
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi 
/home/joachim/Documents/gcc-3.4-20040211/build_ia64/gcc/xgcc 
-B/home/joachim/Documents/gcc-3.4-20040211/build_ia64/gcc/ 
-B/usr/local/ia64-pc-linux-gnu/bin/ -B/usr/local/ia64-pc-linux-gnu/lib/ 
-isystem /usr/local/ia64-pc-linux-gnu/include 
-isystem /usr/local/ia64-pc-linux-gnu/sys-include -O2  -DIN_GCC 
-DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g 
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. 
-I. -I../../gcc -I../../gcc/. -I../../gcc/../include  -fexceptions 
-c ../../gcc/config/ia64/unwind-ia64.c -o libgcc/./unwind-ia64.o 
In file included from ../../gcc/config/ia64/unwind-ia64.c:38: 
../../gcc/unwind.h:201:20: stdlib.h: Datei oder Verzeichnis nicht gefunden 
../../gcc/config/ia64/unwind-ia64.c: In function `push': 
../../gcc/config/ia64/unwind-ia64.c:370: warning: implicit declaration of 
function `memcpy' 
../../gcc/config/ia64/unwind-ia64.c: In function `uw_frame_state_for': 
../../gcc/config/ia64/unwind-ia64.c:1766: warning: implicit declaration of 
function `memset' 
../../gcc/config/ia64/unwind-ia64.c: At top level: 
../../gcc/config/ia64/unwind-ia64.c:1505: warning: 'ia64_copy_rbs' defined but 
not used 
make[2]: *** [libgcc/./unwind-ia64.o] Fehler 1 
 
 
 
Error for alpha: 
 
make[1]: Entering directory 
`/home/joachim/Documents/gcc-3.4-20040211/build_alpha/zlib' 
: make ; exec true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" 
"CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -O2 -mieee" 
"INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" 
"INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" 
"LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2 -mieee" 
"MAKE=make" "MAKEINFO=/home/joachim/Documents/gcc-3.4-20040211/missing 
makeinfo --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" 
"SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" 
"exec_prefix=/usr/local" "infodir=/usr/local/info" "libdir=/usr/local/lib" 
"prefix=/usr/local" "tooldir=/usr/local/alpha-pc-linux-gnu" "AR=ar" "AS=as" 
"CC=gcc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" 
"RANLIB=ranlib" "DESTDIR=" DO=all multi-do 
make[1]: Leaving directory 
`/home/joachim/Documents/gcc-3.4-20040211/build_alpha/zlib' 
make[1]: Entering directory 
`/home/joachim/Documents/gcc-3.4-20040211/build_alpha/gcc' 
make \ 
  CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long  " \ 
  CONFIG_H="tconfig.h ../../gcc/../include/ansidecl.h" 
TM_H="tm.h      ../../gcc/config/alpha/alpha.h ../../gcc/config/alpha/elf.h ../../gcc/config/alpha/linux.h ../../gcc/config/alpha/linux-elf.h ../../gcc/defaults.h 
insn-constants.h insn-flags.h" \ 
  MAKEOVERRIDES= \ 
  -f libgcc.mk all 
make[2]: Entering directory 
`/home/joachim/Documents/gcc-3.4-20040211/build_alpha/gcc' 
for d in libgcc; do \ 
  if [ -d $d ]; then true; else /bin/sh ../../gcc/mkinstalldirs $d; fi; \ 
done 
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi 
/home/joachim/Documents/gcc-3.4-20040211/build_alpha/gcc/xgcc 
-B/home/joachim/Documents/gcc-3.4-20040211/build_alpha/gcc/ 
-B/usr/local/alpha-pc-linux-gnu/bin/ -B/usr/local/alpha-pc-linux-gnu/lib/ 
-isystem /usr/local/alpha-pc-linux-gnu/include 
-isystem /usr/local/alpha-pc-linux-gnu/sys-include -O2  -DIN_GCC 
-DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -mieee 
-g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc 
-I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include   -DL_muldi3 
-c ../../gcc/libgcc2.c -o libgcc/./_muldi3.o 
In file included from ./tm.h:7, 
                 from ../../gcc/libgcc2.c:43: 
../../gcc/config/alpha/linux.h:77:20: signal.h: Datei oder Verzeichnis nicht 
gefunden 
../../gcc/config/alpha/linux.h:78:26: sys/ucontext.h: Datei oder Verzeichnis 
nicht gefunden 
make[2]: *** [libgcc/./_muldi3.o] Fehler 1 
 
 
 
Error for mips: 
 
make[1]: Entering directory 
`/home/joachim/Documents/gcc-3.4-20040211/build_mips/gcc' 
make \ 
  CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long  " \ 
  CONFIG_H="tconfig.h ../../gcc/../include/ansidecl.h" 
TM_H="tm.h      ../../gcc/config/dbxelf.h ../../gcc/config/elfos.h ../../gcc/config/svr4.h ../../gcc/config/linux.h ../../gcc/config/mips/mips.h ../../gcc/config/mips/linux.h ../../gcc/defaults.h 
insn-constants.h insn-flags.h" \ 
  MAKEOVERRIDES= \ 
  -f libgcc.mk all 
make[2]: Entering directory 
`/home/joachim/Documents/gcc-3.4-20040211/build_mips/gcc' 
for d in libgcc; do \ 
  if [ -d $d ]; then true; else /bin/sh ../../gcc/mkinstalldirs $d; fi; \ 
done 
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi 
/home/joachim/Documents/gcc-3.4-20040211/build_mips/gcc/xgcc 
-B/home/joachim/Documents/gcc-3.4-20040211/build_mips/gcc/ 
-B/usr/local/mips-pc-linux-gnu/bin/ -B/usr/local/mips-pc-linux-gnu/lib/ 
-isystem /usr/local/mips-pc-linux-gnu/include 
-isystem /usr/local/mips-pc-linux-gnu/sys-include -O2  -DIN_GCC 
-DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g 
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. 
-I. -I../../gcc -I../../gcc/. -I../../gcc/../include  -fexceptions 
-c ../../gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o 
In file included from ./gthr-default.h:1, 
                 from ../../gcc/gthr.h:96, 
                 from ../../gcc/unwind-dw2.c:42: 
../../gcc/gthr-posix.h:43:21: pthread.h: Datei oder Verzeichnis nicht gefunden 
../../gcc/gthr-posix.h:44:20: unistd.h: Datei oder Verzeichnis nicht gefunden 
In file included from ./gthr-default.h:1, 
                 from ../../gcc/gthr.h:96, 
                 from ../../gcc/unwind-dw2.c:42: 
../../gcc/gthr-posix.h:46: error: parse error before "__gthread_key_t" 
../../gcc/gthr-posix.h:46: warning: type defaults to `int' in declaration of 
`__gthread_key_t' 
../../gcc/gthr-posix.h:46: warning: data definition has no type or storage 
class 
../../gcc/gthr-posix.h:47: error: parse error before "__gthread_once_t" 
../../gcc/gthr-posix.h:47: warning: type defaults to `int' in declaration of 
`__gthread_once_t' 
../../gcc/gthr-posix.h:47: warning: data definition has no type or storage 
class 
../../gcc/gthr-posix.h:48: error: parse error before "__gthread_mutex_t" 
../../gcc/gthr-posix.h:48: warning: type defaults to `int' in declaration of 
`__gthread_mutex_t' 
../../gcc/gthr-posix.h:48: warning: data definition has no type or storage 
class 
../../gcc/gthr-posix.h: In function `__gthread_active_p': 
../../gcc/gthr-posix.h:96: error: `pthread_create' undeclared (first use in 
this function) 
../../gcc/gthr-posix.h:96: error: (Each undeclared identifier is reported only 
once 
../../gcc/gthr-posix.h:96: error: for each function it appears in.) 
../../gcc/gthr-posix.h: At top level: 
../../gcc/gthr-posix.h:456: error: parse error before '*' token 
../../gcc/gthr-posix.h:456: error: parse error before ')' token 
../../gcc/gthr-posix.h:465: error: parse error before '*' token 
../../gcc/gthr-posix.h:465: error: parse error before ')' token 
../../gcc/gthr-posix.h:471: error: parse error before "key" 
../../gcc/gthr-posix.h:472: warning: function declaration isn't a prototype 
../../gcc/gthr-posix.h: In function `__gthread_key_delete': 
../../gcc/gthr-posix.h:472: warning: old-style parameter declaration 
../../gcc/gthr-posix.h:473: warning: implicit declaration of function 
`pthread_key_delete' 
../../gcc/gthr-posix.h:473: error: `key' undeclared (first use in this 
function) 
../../gcc/gthr-posix.h: At top level: 
../../gcc/gthr-posix.h:477: error: parse error before "key" 
../../gcc/gthr-posix.h:478: warning: function declaration isn't a prototype 
../../gcc/gthr-posix.h: In function `__gthread_getspecific': 
../../gcc/gthr-posix.h:478: warning: old-style parameter declaration 
../../gcc/gthr-posix.h:479: warning: implicit declaration of function 
`pthread_getspecific' 
../../gcc/gthr-posix.h:479: error: `key' undeclared (first use in this 
function) 
../../gcc/gthr-posix.h:479: warning: return makes pointer from integer without 
a cast 
../../gcc/gthr-posix.h: At top level: 
../../gcc/gthr-posix.h:483: error: parse error before "key" 
../../gcc/gthr-posix.h:484: warning: function declaration isn't a prototype 
../../gcc/gthr-posix.h: In function `__gthread_setspecific': 
../../gcc/gthr-posix.h:484: warning: old-style parameter declaration 
../../gcc/gthr-posix.h:485: warning: implicit declaration of function 
`pthread_setspecific' 
../../gcc/gthr-posix.h:485: error: `key' undeclared (first use in this 
function) 
../../gcc/gthr-posix.h:485: error: `ptr' undeclared (first use in this 
function) 
../../gcc/gthr-posix.h: At top level: 
../../gcc/gthr-posix.h:489: error: parse error before '*' token 
../../gcc/gthr-posix.h:490: warning: function declaration isn't a prototype 
../../gcc/gthr-posix.h: In function `__gthread_mutex_lock': 
../../gcc/gthr-posix.h:490: warning: old-style parameter declaration 
../../gcc/gthr-posix.h:492: warning: implicit declaration of function 
`pthread_mutex_lock' 
../../gcc/gthr-posix.h:492: error: `mutex' undeclared (first use in this 
function) 
../../gcc/gthr-posix.h: At top level: 
../../gcc/gthr-posix.h:498: error: parse error before '*' token 
../../gcc/gthr-posix.h:499: warning: function declaration isn't a prototype 
../../gcc/gthr-posix.h: In function `__gthread_mutex_trylock': 
../../gcc/gthr-posix.h:499: warning: old-style parameter declaration 
../../gcc/gthr-posix.h:501: warning: implicit declaration of function 
`pthread_mutex_trylock' 
../../gcc/gthr-posix.h:501: error: `mutex' undeclared (first use in this 
function) 
../../gcc/gthr-posix.h: At top level: 
../../gcc/gthr-posix.h:507: error: parse error before '*' token 
../../gcc/gthr-posix.h:508: warning: function declaration isn't a prototype 
../../gcc/gthr-posix.h: In function `__gthread_mutex_unlock': 
../../gcc/gthr-posix.h:508: warning: old-style parameter declaration 
../../gcc/gthr-posix.h:510: warning: implicit declaration of function 
`pthread_mutex_unlock' 
../../gcc/gthr-posix.h:510: error: `mutex' undeclared (first use in this 
function) 
../../gcc/unwind-dw2.c: In function `uw_frame_state_for': 
../../gcc/unwind-dw2.c:1008: warning: implicit declaration of function 
`memset' 
../../gcc/unwind-dw2.c: In function `uw_init_context_1': 
../../gcc/unwind-dw2.c:1286: error: syntax error before "once_regsizes" 
../../gcc/unwind-dw2.c:1287: warning: implicit declaration of function 
`__gthread_once' 
../../gcc/unwind-dw2.c:1287: error: `once_regsizes' undeclared (first use in 
this function) 
../../gcc/unwind-dw2.c: In function `uw_install_context_1': 
../../gcc/unwind-dw2.c:1336: warning: implicit declaration of function 
`memcpy' 
make[2]: *** [libgcc/./unwind-dw2.o] Fehler 1 
 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14147


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]