This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello everybody, first of all I want to thank Dan Kegel for his script and patches at http://kegel.com/xgcc3. With his help I was able to build a crossgcc toolchain for ppc860 with the following additional patch from Peter Barada: --- sysdeps/unix/sysv/linux/errlist.c.orig 2003-01-16 17:04:34.000000000 +0100 +++ sysdeps/unix/sysv/linux/errlist.c 2003-01-16 17:06:52.000000000 +0100 @@ -37,8 +37,8 @@ const int __old_sys_nerr = OLD_ERRLIST_SIZE; -strong_alias (__old_sys_nerr, _old_sys_nerr); weak_alias (__old_sys_nerr, _old_sys_nerr) +strong_alias (__old_sys_nerr, _old_sys_nerr); compat_symbol (libc, __old_sys_nerr, _sys_nerr, GLIBC_2_0); compat_symbol (libc, _old_sys_nerr, sys_nerr, GLIBC_2_0); weak_alias (__old_sys_errlist, _old_sys_errlist); I can completely build and install glibc-2.2.5 configured with: ../$SRCDIR/configure \ --target=powerpc-linux --with-cpu=860 --nfp --without-fp --host=powerpc-linux \ --prefix=/opt/xgcc3/ppc860 \ --program-prefix=powerpc-linux- \ --enable-languages=c,c++ \ --enable-shared \ --enable-threads=posix \ --enable-add-ons=linuxthreads The only thing which I don't understand is, that I must not run Dan's glibc patch #2. Otherwise configure exits with the following error: creating cache ./config.cache checking host system type... powerpc-unknown-linux-gnu checking sysdep dirs... sysdeps/powerpc/elf linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread sysdeps/pthread linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix linuxthreads/sysdeps/powerpc sysdeps/unix/sysv/linux/powerpc sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/powerpc sysdeps/unix sysdeps/posix sysdeps/powerpc sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/powerpc/soft-fp sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for pwd... /bin/pwd checking build system type... powerpc-unknown-linux-gnu checking for gcc... /opt/xgcc3/ppc860/bin/powerpc-linux-gcc checking version of /opt/xgcc3/ppc860/bin/powerpc-linux-gcc... 3.2, ok checking for gnumake... no checking for gmake... gmake checking version of gmake... 3.79.1, ok checking for gnumsgfmt... no checking for gmsgfmt... no checking for msgfmt... no checking for makeinfo... makeinfo checking version of makeinfo... 4.2, ok checking for gsed... no checking for sed... sed checking version of sed... 3.02.80, ok checking whether the C compiler (/opt/xgcc3/ppc860/bin/powerpc-linux-gcc -mcpu=860 -O2 ) works... no checking whether the C compiler (/opt/xgcc3/ppc860/bin/powerpc-linux-gcc -mcpu=860 -O2 ) is a cross-compiler... (cached) yes checking whether we are using GNU C... yes checking build system type... powerpc-unknown-linux-gnu checking how to run the C preprocessor... /opt/xgcc3/ppc860/bin/powerpc-linux-gcc -E checking whether /opt/xgcc3/ppc860/lib/gcc-lib/powerpc-linux/3.2/../../../../powerpc-linux/bin/as is GNU as... yes checking whether /opt/xgcc3/ppc860/lib/gcc-lib/powerpc-linux/3.2/../../../../powerpc-linux/bin/ld is GNU ld... yes checking for mig... mig configure: warning: *** These auxiliary programs are missing or too old: msgfmt *** some features will be disabled. *** Check the INSTALL file for required versions. checking whether ranlib is necessary... no checking LD_LIBRARY_PATH variable... ok checking whether GCC supports -static-libgcc... -static-libgcc checking for bash... /bin/sh checking for mawk... no checking for gawk... gawk checking for perl... /usr/bin/perl checking for install-info... /usr/bin/install-info checking for old Debian install-info... no checking for bison... /usr/bin/bison checking for signed size_t type... no checking for libc-friendly stddef.h... yes checking whether we need to use -P to assemble .S files... no checking whether .text pseudo-op must be used... yes checking for assembler global-symbol directive... .globl checking for .set assembler directive... no checking for .symver assembler directive... yes checking for ld --version-script... yes checking for .previous assembler directive... yes checking for .protected and .hidden assembler directive... yes checking for -z nodelete option... yes checking for -z nodlopen option... yes checking for -z initfirst option... yes checking for -Bgroup option... yes checking for -z combreloc... yes checking whether cc puts quotes around section names... no checking for assembler .weak directive... yes checking for ld --no-whole-archive... yes checking for gcc -fexceptions... yes checking whether clobbering cr0 causes problems... no checking for DWARF2 unwind info support... static checking for __builtin_expect... yes checking for local label subtraction... yes checking for libgd... no checking size of long double... 0 running configure fragment for ../glibc-2.2.5/linuxthreads/sysdeps/unix/sysv/linux running configure fragment for ../glibc-2.2.5/sysdeps/unix/sysv/linux checking installed Linux kernel header files... 2.0.10 or later checking for symlinks in /opt/xgcc3/ppc860/include... ok running configure fragment for ../glibc-2.2.5/sysdeps/unix/common running configure fragment for ../glibc-2.2.5/sysdeps/unix running configure fragment for ../glibc-2.2.5/sysdeps/generic checking stdio selection... libio checking for old glibc 2.0.x headers... no checking whether -fPIC is default... no updating cache ./config.cache creating ./config.status creating config.make creating glibcbug creating Makefile creating config.h configuring in linuxthreads running /bin/sh ../../glibc-2.2.5/linuxthreads/configure --target=powerpc-linux --with-cpu=860 --nfp --without-fp --with-headers=/opt/elinos/cdk/ppc/8xx/libc6/powerpc-linux/include --host=powerpc-linux --prefix=/opt/xgcc3/ppc860 --program-prefix=powerpc-linux- --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-add-ons=linuxthreads -v --cache-file=.././config.cache --srcdir=../../glibc-2.2.5/linuxthreads ./build-xgcc3-ppc.sh: compile glibc make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.2.5 objdir=`pwd` all make[1]: Wechsel in das Verzeichnis »/home/wschmied/gcc/glibc-2.2.5« configure.in:151: warning: AC_CONFIG_SUBDIRS: you should use literals configure.in:584: error: AC_REQUIRE: cannot be used outside of an m4_defun'd macro configure.in:584: AC_CHECK_TOOL_PREFIX is required by... configure.in:584: the top level make[1]: *** [configure] Fehler 1 make[1]: Verlassen des Verzeichnisses »/home/wschmied/gcc/glibc-2.2.5« make: *** [all] Fehler 2 I guess that some applications which will be linked against my glibc will run into trouble at runtime if I don't apply Dan's glibc patch #2. Can anybody tell me whats going wrong here. Thanks in advance Wolfgang ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |