/usr/lib/x86_64-linux-gnu/libieee.a:(.data+0x0): multiple definition of `_LIB_VERSION'
/usr/lib/x86_64-linux-gnu/libieee.a:(.data+0x0): first defined here
/usr/bin/ld: /tmp/cc6IDeOO.ltrans12.ltrans.o: undefined reference to symbol 'tan@@GLIBC_2.2.5'
/usr/bin/ld: note: 'tan@@GLIBC_2.2.5' is defined in DSO /usr/lib/x86_64-linux-gnu/libm.so so try adding it to the linker command line
/usr/lib/x86_64-linux-gnu/libm.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
i get a similar error when compiling spring rts:
/usr/lib/ x86_64- linux-gnu/ libieee. a:(.data+ 0x0): multiple definition of `_LIB_VERSION' x86_64- linux-gnu/ libieee. a:(.data+ 0x0): first defined here ltrans12. ltrans. o: undefined reference to symbol 'tan@@GLIBC_2.2.5' x86_64- linux-gnu/ libm.so so try adding it to the linker command line x86_64- linux-gnu/ libm.so: could not read symbols: Invalid operation
/usr/lib/
/usr/bin/ld: /tmp/cc6IDeOO.
/usr/bin/ld: note: 'tan@@GLIBC_2.2.5' is defined in DSO /usr/lib/
/usr/lib/
collect2: ld returned 1 exit status
without flto it compiles fine.