i get a similar error when compiling spring rts:

/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

without flto it compiles fine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/778292

Title:
  undefined reference to `pow' when building with -flto

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/778292/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to