This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/65535] powerpc64-freebsd build failure
- From: "andreast at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Apr 2015 20:47:56 +0000
- Subject: [Bug target/65535] powerpc64-freebsd build failure
- Auto-submitted: auto-generated
- References: <bug-65535-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65535
--- Comment #5 from Andreas Tobler <andreast at gcc dot gnu.org> ---
Here my patch:
https://gcc.gnu.org/ml/gcc-patches/2015-04/msg00839.html
I do not like to hardcode a version number. Would mean to update when needed..
The important thing here is, if you build a cross compiler make sure that the
binutils and the gcc target match, including a major version number.
E.g: the binutils --target=amd64-unknown-freebsd10.1 must be equal to the gcc
--target=amd64-unknown-freebsd10.1.
It doesn't work if you give a target w/o version number to binutils and one
with version number to gcc configury.
The mentoned patch was tested on a CentOS -> amd64-unknown-freebsd11.0 cross
also on native FreeBSD (armv6/hf, amd64).