arm-linux-gcc -nostdlib -nostartfiles -shared -o /tmp/glibc-2.3.5-patched/_build/elf/ld.so \ -Wl,-z,relro -Wl,-z,defs \ /tmp/glibc-2.3.5-patched/_build/elf/librtld.os /tmp/glibc-2.3.5-patched/_build/csu/errno-loc.os /tmp/glibc-2.3.5-patched/_build/io/open.o -Wl,--version-script=/tmp/glibc-2.3.5-patched/_build/ld.map \ -Wl,-soname=ld-linux.so.2 -T /tmp/glibc-2.3.5-patched/_build/elf/ld.so.lds /tmp/glibc-2.3.5-patched/_build/io/open.o: In function `open': :(.text+0x0): multiple definition of `__libc_open' /tmp/glibc-2.3.5-patched/_build/elf/librtld.os:libgcc2.c:(.text+0xfab0): first defined here /usr/local/bin/arm-linux-ld: Warning: size of symbol `__libc_open' changed from 48 in /tmp/glibc-2.3.5-patched/_build/elf/librtld.os to 104 in /tmp/glibc-2.3.5-patched/_build/io/open.o /tmp/glibc-2.3.5-patched/_build/csu/errno-loc.os: In function `*__GI___errno_location': ../linuxthreads/sysdeps/pthread/errno-loc.c:45: undefined reference to `__libc_multiple_threads' ../linuxthreads/sysdeps/pthread/errno-loc.c:45: undefined reference to `errno' ../linuxthreads/sysdeps/pthread/errno-loc.c:45: undefined reference to `__libc_pthread_functions' /tmp/glibc-2.3.5-patched/_build/io/open.o: In function `open': :(.text+0x30): undefined reference to `__libc_enable_asynccancel' :(.text+0x50): undefined reference to `__libc_disable_asynccancel' :(.text+0x68): undefined reference to `__libc_multiple_threads' collect2: ld returned 1 exit status make[2]: *** [/tmp/glibc-2.3.5-patched/_build/elf/ld.so] Error 1 make[2]: Leaving directory `/private/tmp/glibc-2.3.5-patched/elf' make[1]: *** [elf/subdir_lib] Error 2 make[1]: Leaving directory `/private/tmp/glibc-2.3.5-patched' make: *** [all] Error 2