Compilation fails with following: gcc -nostdlib -nostartfiles -r -o /usr/src/glibc-build/libc_pic.os \ -Wl,-d -Wl,--whole-archive /usr/src/glibc-build/libc_pic.a /usr/src/glibc-build/libc_pic.a(idn-stub.os): In function `__idna_to_ascii_lz': idn-stub.c:(.text+0x0): multiple definition of `__idna_to_ascii_lz' /usr/src/glibc-build/libc_pic.a(idn-stub.os):idn-stub.c:(.text+0x0): first defined here /usr/src/glibc-build/libc_pic.a(idn-stub.os): In function `__idna_to_unicode_lzlz': idn-stub.c:(.text+0x140): multiple definition of `__idna_to_unicode_lzlz' /usr/src/glibc-build/libc_pic.a(idn-stub.os):idn-stub.c:(.text+0x140): first defined here collect2: ld returned 1 exit status make[1]: *** [/usr/src/glibc-build/libc_pic.os] Error 1 make[1]: Leaving directory `/usr/src/glibc-2.4' make: *** [all] Error 2 GCC 4.1.1 (attempted also with gcc 4.1.0) CFLAGS = -march=athlon64 -mcpu=athlon64 -mmmx -msse -msse2 -m3dnow -mfpmath=sse,387 -O3 -fno-inline-functions Linux 2.6.19.2
*** This bug has been marked as a duplicate of 333 ***