On Fri, Sep 14, 2012 at 5:18 AM, José Luis García Pallero <jgpallero@xxxxxxxxx> wrote: > > /usr/lib/gcc/i486-linux-gnu/4.7/../../../i386-linux-gnu/libieee.a:(.data+0x0): > multiple definition of `_LIB_VERSION' > /usr/lib/gcc/i486-linux-gnu/4.7/../../../i386-linux-gnu/libm.a(s_lib_version.o):(.data+0x0): > first defined here collect2: error: ld returned 1 exit status This looks like a glibc bug to me. When GCC sees -mieee-fp on a GNU/Linux system, it adds -lieee to the link line. This is intended to include a symbol that tells glibc to use IEEE mode for math functions. For some reason that is causing the multiple definition error. I frankly don't know why, but it looks like a problem in glibc, not GCC. > Some time ago I posted a similar question > (http://gcc.gnu.org/ml/gcc-help/2009-12/msg00152.html) and the answer > was that the error was in libc from Debian. But the tests in RedHat > show that the error is not due to Debian, and depends on -mieee-fp > flag from gcc The earlier answer was perhaps too specific in stressing Debian. The bug seems to be in the C library. Both Debian and Red Hat use the same library, albeit with their own local patches. Ian