Re: [PATCH] Compilation PowerPC64

2008-12-03 Thread Pavel Roskin
Quoting Manoel Rebelo Abranches <[EMAIL PROTECTED]>: Hi Pavel. The patch which changes the link address from 0x1 to 0x20 was sent by me. there was a overlapping of the load-base used in CHRP/PAPR machines 0x4000 and the link address of the ELF segments. The address used is the same that

Re: [PATCH] Compilation PowerPC64

2008-12-03 Thread Manoel Rebelo Abranches
Hi Pavel. The patch which changes the link address from 0x1 to 0x20 was sent by me. there was a overlapping of the load-base used in CHRP/PAPR machines 0x4000 and the link address of the ELF segments. The address used is the same that Yaboot uses but theoretically any address that don't cau

Re: [PATCH] Compilation PowerPC64

2008-12-03 Thread Pavel Roskin
On Wed, 2008-12-03 at 11:20 -0500, Pavel Roskin wrote: > r1923 has no "out of memory" problem. r1924 doesn't compile. I think I understand something now. "out of memory" is caused by heap_init() inside grub_claim_heap() failing due to memory overlap (by the way, I hate functions inside function

Re: [PATCH] Compilation PowerPC64

2008-12-03 Thread Pavel Roskin
On Fri, 2008-11-28 at 20:40 +0100, Robert Millan wrote: > On Mon, Nov 24, 2008 at 04:30:45PM -0500, Pavel Roskin wrote: > > On Mon, 2008-11-24 at 17:58 -0200, Manoel wrote: > > > This patch corrects compilation in PowerPC64 due to some recent changes. > > > > The compilation problems exist even wh

Re: [PATCH] Compilation PowerPC64

2008-11-28 Thread Robert Millan
On Mon, Nov 24, 2008 at 05:58:23PM -0200, Manoel wrote: > This patch corrects compilation in PowerPC64 due to some recent changes. Thanks. Committed with some adjustments. Btw, please include a ChangeLog entry next time! -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We

Re: [PATCH] Compilation PowerPC64

2008-11-28 Thread Robert Millan
On Mon, Nov 24, 2008 at 04:30:45PM -0500, Pavel Roskin wrote: > On Mon, 2008-11-24 at 17:58 -0200, Manoel wrote: > > This patch corrects compilation in PowerPC64 due to some recent changes. > > The compilation problems exist even when compiling for 32-bit PowerPC. > However, I'm getting errors in

Re: [PATCH] Compilation PowerPC64

2008-11-28 Thread Manoel Rebelo Abranches
My patch only corrects the compilation error introduced by revision 1924. I have tested it in both P5 and P6 machines and all worked right. On Mon, 2008-11-24 at 16:30 -0500, Pavel Roskin wrote: > On Mon, 2008-11-24 at 17:58 -0200, Manoel wrote: > > This patch corrects compilation in PowerPC64 due

Re: [PATCH] Compilation PowerPC64

2008-11-24 Thread peter cros
Also here on powerpc64 G5, after the recent change from grub_available_iterate() to grub_machine_mmap_iterate(). ... kernel_elf-kern_ieee1275_init.o: In function `grub_claim_heap': /home/pxw/src/grub2/build/../kern/ieee1275/init.c:182: undefined reference to `grub_machine_mmap_iterate' kernel_elf-

Re: [PATCH] Compilation PowerPC64

2008-11-24 Thread Pavel Roskin
On Mon, 2008-11-24 at 17:58 -0200, Manoel wrote: > This patch corrects compilation in PowerPC64 due to some recent changes. The compilation problems exist even when compiling for 32-bit PowerPC. However, I'm getting errors in qemu with your patch: stack: 5bfff80 malloc_base: 0 0x0580 0x06000

[PATCH] Compilation PowerPC64

2008-11-24 Thread Manoel
This patch corrects compilation in PowerPC64 due to some recent changes. -- Best Regards, Manoel Abranches <[EMAIL PROTECTED]> IBM Linux Technology Center Brazil Index: conf/powerpc-ieee1275.rmk === --- conf/powerpc-ieee1275.rmk (rev