I manage to do a successfully cross-build of glibc 2.2.4 some few days ago, using binutils-2.11.2 and gcc-2.95.3, but i had some few troubles that i manage to solve. Remember to configure your kernel src for the right ARM-target before start building glibc, or you will have strange errors building glibc (that was my mistake ....)
/Benny -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 18, 2001 3:01 PM To: [EMAIL PROTECTED] Subject: Problems compiling glibc Hello, I am trying to compile the glibc 2.2.4 for an arm-linux configuration for 2.2.4 Kernel on a Linux host (2.2.14-5.0smp). The configuration phasis seems to be OK (with the following parameters) configure \ arm-linux \ --build=i686-linux \ --prefix=$PREFIX/arm-linux \ --program-prefix=$PROGRAMDIR \ --enable-add-ons \ --enable-kernel=2.4.2 \ --with-headers=$KERNELINCLUDES \ --without-fp \ -v 2>&1 | tee configure.out Then the make fails and I get a quite strange message while building the library : rtld.s: Assembler messages: rtld.s:5408: Error: invalid constant (ffffca60) after fixup The output is hereafter ... ... arm-linux-gcc -c rtld.s -o /project/software/tools/gnu/src/build_arm_linux_glibc_Linux2.2.14-5.0smp/elf/rtld.os rtld.s: Assembler messages: rtld.s:5408: Error: invalid constant (ffffca60) after fixup make[2]: *** [/project/software/tools/gnu/src/build_arm_linux_glibc_Linux2.2.14-5.0smp/elf/rtld.os] Error 1 make[2]: Leaving directory `/project/software/tools/gnu/src/glibc-2.2.4/elf' make[1]: *** [elf/subdir_lib] Error 2 make[1]: Leaving directory `/project/software/tools/gnu/src/glibc-2.2.4' make: *** [all] Error 2 Does anyone have an idea ? To be sure, I restarted the generation of binutils, arm-linux-gcc from scratch, but I get the same errors. Thanks and regards, Cyril Germond PHILIPS Semiconductors Sophia 505, route des Lucioles Sophia Antipolis - 06560 Valbonne - France Tel +33 (0)4 92 96 83 63 Fax +33 (0)4 92 96 12 66 E-mail : [EMAIL PROTECTED] _______________________________________________ http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm Please visit the above address for information on this list. _______________________________________________ http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm Please visit the above address for information on this list.
