The following reply was made to PR amd64/102996; it has been noted by GNATS.
From: Peter Grehan <gre...@freebsd.org>
To: John Baldwin <jh...@freebsd.org>
Cc: free...@freebsd.org, free...@freebsd.org
Subject: Re: amd64/102996: powerpc cross-build fails on amd64 host, works
fine on i386
Date: Fri, 08 Sep 2006 14:04:38 -0700
This doesn't match alpha (though that only matters if you MFC this). Seems
that a more general purpose solution would be to test TARGET_ARCH and use
that to set TARGET properties
Yes - setting TARGET_64BIT in the appropriate libbfd/Makefile.{arch}
would be another way. But it's Ruslan's/David's area so I'll leave it up
to them for the fix.
(i.e. the bug seems to be that it's setting
TARGET properties based on the host arch, which is wrong).
Agreed !!
later,
Peter.