I still having this problem. I am trying to build an app on Ubuntu 16.04
using a separated gcc-toolchain (gcc-4.7.4-linux_x86_64). This toolchain
comes from Mentor Questa which I have to use to build my SystemC
applications. A simple hello world using this toolchain reproduces the
problem.
#include <stdio.h>
int main() {
fprintf(stdout, "Hello, world.\n");
return(0);
}
I managed to solve that removing the ld which comes with the external
toolchain by the ld from the system. A simple symbolic link had solved
the problem.
However, I am looking for a more elegant way to change ld like a gcc
flag or an environment variable.
I would like to ask if someone has some idea on how to do that.
By the way, my system is currently configured with:
Package: binutils - Version: 2.26.1-1ubuntu1~16.04.3
Package: libgcc1 - Version: 6.0.1-0ubuntu1
Package: libc6 - Version: 2.23-0ubuntu3
Package: gcc - Version: 5.3.1-1ubuntu1
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1545653
Title:
Unrecognized relocation when compiling
To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/1545653/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs