atom feed7 messages in org.freebsd.freebsd-amd64amd64/102996: powerpc cross-build fai...
FromSent OnAttachments
Peter GrehanSep 7, 2006 10:00 pm 
John BaldwinSep 8, 2006 3:22 pm 
John BaldwinSep 8, 2006 3:32 pm 
Peter GrehanSep 8, 2006 9:04 pm 
Peter GrehanSep 8, 2006 9:10 pm 
Ruslan ErmilovSep 14, 2006 12:50 am 
Ruslan ErmilovSep 14, 2006 1:07 am 
Subject:amd64/102996: powerpc cross-build fails on amd64 host, works fine on i386
From:Peter Grehan (gre@freebsd.org)
Date:Sep 8, 2006 9:10:07 pm
List:org.freebsd.freebsd-amd64

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.