This bug was fixed in the package binutils - 2.21.53.20110810-0ubuntu3
---
binutils (2.21.53.20110810-0ubuntu3) oneiric; urgency=low
* Fix PR ld/13201, link error with --as-needed and -flto. LP: #778292.
LP: #690194.
-- Matthias KloseTue, 20 Sep 2011 11:34:33 +0200
** Chan
** Changed in: gcc
Status: New => Invalid
--
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
I really need this fix to continue performance/size benchmarking on LTO-
compiled libraries/binaries. Any estimates on when the released fix will
be integrated and available via the public apt repo?
Thanks!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is s
** Also affects: binutils (Ubuntu)
Importance: Undecided
Status: New
** Changed in: binutils (Ubuntu)
Importance: Undecided => Medium
** Changed in: binutils (Ubuntu)
Status: New => Confirmed
** Also affects: binutils (Ubuntu Oneiric)
Importance: Medium
Status: Conf
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://he
Launchpad has imported 3 comments from the remote bug at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50367.
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.
** Bug watch added: GCC Bugzilla #50367
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50367
** Also affects: gcc via
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50367
Importance: Unknown
Status: Unknown
** Bug watch added: Sourceware.org Bugzilla #13201
http://sourceware.org/bugz
I have a simple test case. Compiling the attached program without -flto
works:
gcc -o test-flto test-flto.c -lm
But with -flto an error is reported:
gcc -flto -o test-flto test-flto.c -lm
This is with gcc 4.6.1-7ubuntu1 - OTOH the gcc 4.5 from Natty compiles
both successfully.
** Attachment ad
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.
might be related with the problem I encounter in compiling Cube 2:
Sauerbraten with -flto[=n]:
/usr/bin/ld: /tmp/cc5LO1Ap.ltrans14.ltrans.o: undefined reference to symbol
'cosf@@GLIBC_2.2.5'
/usr/bin/ld: note: 'cosf@@GLIBC_2.2.5' is defined in DSO
/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4
only seen with the combination of -Wl,--as-needed and -flto
--
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
--
ubuntu-bugs mailing
** Changed in: gcc-4.6 (Ubuntu)
Importance: Undecided => Medium
** Changed in: gcc-4.6 (Ubuntu)
Status: New => Confirmed
--
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:
undefi
12 matches
Mail list logo