Launchpad has imported 2 comments from the remote bug at http://sourceware.org/bugzilla/show_bug.cgi?id=13201.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2011-09-19T21:21:24+00:00 Matthias Klose wrote: $ cat test-flto.c #include <math.h> #include <stdio.h> int main() { printf("%le\n", gamma(42)); return 0; } $ gcc -Wl,--as-needed -flto test-flto.c -lm /tmp/ccXjDUDX.ltrans0.ltrans.o: In function `main': ccXjDUDX.ltrans0.o:(.text+0xd): undefined reference to `gamma' collect2: ld returned 1 exit status $ gcc -B/usr/lib/gold-ld/ -Wl,--as-needed -flto -o test-flto test-flto.c -lm does work see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50367 Reply at: https://bugs.launchpad.net/binutils/+bug/778292/comments/7 ------------------------------------------------------------------------ On 2011-09-20T05:02:47+00:00 Alan Modra wrote: http://sourceware.org/ml/binutils-cvs/2011-09/msg00071.html Reply at: https://bugs.launchpad.net/binutils/+bug/778292/comments/9 ** Changed in: binutils Status: Unknown => Fix Released ** Changed in: binutils Importance: Unknown => Medium -- 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/binutils/+bug/778292/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
