amd64/102996: powerpc cross-build fails on amd64 host, works fine on i386

Peter Grehan grehan at freebsd.org
Fri Sep 8 14:10:28 PDT 2006


The following reply was made to PR amd64/102996; it has been noted by GNATS.

From: Peter Grehan <grehan at freebsd.org>
To: John Baldwin <jhb at freebsd.org>
Cc: freebsd-amd64 at freebsd.org, freebsd-gnats-submit at 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.
 


More information about the freebsd-amd64 mailing list