Bug#355252: [Fwd: Bug#355252: elilo: fails to work on ia32]

2006-03-12 Thread Matthew Garrett
Right. I can build a working binary if I do two things:

1) Add -march=i386 to the gnu-efi and elilo builds
2) Use plain binutils-2.16.1, and not binutils-2.16.1cvs20060117

The first of these is easy, the second involves finding out what's 
broken in binutils. What fun.

-- 
Matthew Garrett | [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#355252: [Fwd: Bug#355252: elilo: fails to work on ia32]

2006-03-05 Thread Matthew Garrett
On Sat, Mar 04, 2006 at 09:59:39PM -0700, Brett Johnson wrote:

> Yes, I believe that to be the case also.  It's not clear from the bug
> report which toolchain Matthew is using.  In Sarge, if gcc4 is used to
> compile elilo, I know it will fail on both ia32 and ia64 due to an older
> version of gnu-efi (3.0a).  Etch and sid both have gnu-efi 3.0b, which
> should fix the problems with the gcc4 toolchain (and do, on ia64).  I
> don't have an ia32 EFI machine, so have never tested the ia32 side (but
> it apparently works ok, since the gentoo build works, and some people
> have been booting their intelmac machines with it ;)  I suspect a
> mismatch between gnu-efi versions and gcc versions...

Sarge uses gnu-efi 3.0a and gcc-3.3 (I believe), with Sid using gnu-efi 
3.0b and gcc-4.0. I've tried various combinations of Debian gcc and 
binutils, but haven't managed to produce a working binary yet. Scanning 
the Gentoo binutils and gcc patches doesn't show anything terribly 
obvious, so it sounds like tracking this down won't be terribly good 
fun.

-- 
Matthew Garrett | [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#355252: [Fwd: Bug#355252: elilo: fails to work on ia32]

2006-03-04 Thread Brett Johnson
mjg59 wrote:
> > I have a working elilo.efi that was built on a gentoo system using 3.6 
> > source, so my suspicion is that there's a toolchain bug here somewhere.

Yes, I believe that to be the case also.  It's not clear from the bug
report which toolchain Matthew is using.  In Sarge, if gcc4 is used to
compile elilo, I know it will fail on both ia32 and ia64 due to an older
version of gnu-efi (3.0a).  Etch and sid both have gnu-efi 3.0b, which
should fix the problems with the gcc4 toolchain (and do, on ia64).  I
don't have an ia32 EFI machine, so have never tested the ia32 side (but
it apparently works ok, since the gentoo build works, and some people
have been booting their intelmac machines with it ;)  I suspect a
mismatch between gnu-efi versions and gcc versions...

-- 
Brett Johnson <[EMAIL PROTECTED]>




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]