Re: Floating point usage

2008-06-05 Thread Jan Kleinsorge
Pavel Roskin wrote: Hello! I tried to compile the current grub on Fedora 9 for PowerPC, but it failed due to floating point usage in ls. Sorry, I don't have the exact message handy. Anyway, there are several references to float and double in the code, and I think it's wrong. GRUB

Re: Floating point usage

2008-06-05 Thread Colin D Bennett
On Thu, 05 Jun 2008 17:23:00 +0200 Stefan Reinauer [EMAIL PROTECTED] wrote: Jan Kleinsorge wrote: Pavel Roskin wrote: Hello! I tried to compile the current grub on Fedora 9 for PowerPC, but it failed due to floating point usage in ls. Sorry, I don't have the exact message handy

Re: Floating point usage

2008-06-05 Thread Vincent Pelletier
Le Thursday 05 June 2008 17:12:26 Jan Kleinsorge, vous avez écrit : Given that GRUB is linked against it. Which is likely as it is a necessity when compiling with gcc. ...except if -nostdlib is given to gcc, which is the case in grub2. For the bootloader part at least, grub-emu is another

Re: Floating point usage

2008-06-05 Thread Vesa Jääskeläinen
Pavel Roskin wrote: Hello! I tried to compile the current grub on Fedora 9 for PowerPC, but it failed due to floating point usage in ls. Sorry, I don't have the exact message handy. Anyway, there are several references to float and double in the code, and I think it's wrong. GRUB should

Re: Floating point usage

2008-06-05 Thread Robert Millan
On Thu, Jun 05, 2008 at 10:01:38PM +0200, Vincent Pelletier wrote: And there is an except to this except: If -lgcc is specified it will be used, and it is for the following archs, as far as I can see: - powerpc-ieee1275 - i386-linuxbios - i386-ieee1275 Why would i386-linuxbios and

Re: Floating point usage

2008-06-05 Thread Stefan Reinauer
Robert Millan wrote: Why would i386-linuxbios and i386-ieee1275 need libgcc but i386-pc don't? IIRC the tendency is that CISC platforms tend not to need libgcc for floating point but RISC ones do. Did I make a mistake on these two ports? Those platforms require libgcc even for double

Floating point usage

2008-06-04 Thread Pavel Roskin
Hello! I tried to compile the current grub on Fedora 9 for PowerPC, but it failed due to floating point usage in ls. Sorry, I don't have the exact message handy. Anyway, there are several references to float and double in the code, and I think it's wrong. GRUB should be able to work on systems