[Bug 673893] Re: 10.04: binutils-gold is out of date
Matthias Klose
doko at ubuntu.com
Fri Sep 7 13:27:40 UTC 2012
closing this as won't fix. the 12.04 LTS has a working gold, and for
10.04 (lucid), please use the package from the PPA
** Changed in: binutils (Ubuntu)
Status: New => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/673893
Title:
10.04: binutils-gold is out of date
Status in “binutils” package in Ubuntu:
Won't Fix
Bug description:
Binary package hint: binutils
binutils-gold (2.20.1-3ubuntu7) seems to be too old in 10.04.
The version of gold available with apt-get fails to correctly link a static binary (the fresh gold works fine).
% cat st.cc
#include <stdio.h>
int main() {
int c = 1;
int res = sscanf("123", "%d", &c);
fprintf(stderr, "XXX: %d %d\n", res, c);
}
% g++ st.cc -static && ./a.out
XXX: 1 123
% sudo apt-get install binutils-gold
...
% g++ st.cc -static && ./a.out
XXX: -1 1
% sudo apt-get remove binutils-gold
...
% g++ st.cc -static && ./a.out
XXX: 1 123
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/673893/+subscriptions
More information about the foundations-bugs
mailing list