2005-02-26 10:37:37

by Elimar Riesebieter

[permalink] [raw]
Subject: 2.6.11-rc5: Doesn't compile with gcc-3.4 on ppc

Hi all,

tried to build 2.6.11-rc5 on my powerbook, stops as follows:

CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
CHK usr/initramfs_list
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
mm/built-in.o(.rodata.cst4+0x0): relocation truncated to fit: R_PPC_ADDR32 empty_zero_page+40000000
make[1]: *** [.tmp_vmlinux1] Error 1

gcc (GCC) 3.4.4 20050203 (prerelease) (Debian 3.4.3-9)
GNU ld version 2.15

Using gcc-3.3 (GCC) 3.3.5 (Debian 1:3.3.5-8) compiles well.

Any hints?
Elimar

--
Do you smell something burning or ist it me?


Attachments:
(No filename) (726.00 B)
signature.asc (189.00 B)
Digital signature
Download all attachments

2005-02-26 10:44:21

by Olaf Hering

[permalink] [raw]
Subject: Re: 2.6.11-rc5: Doesn't compile with gcc-3.4 on ppc

On Sat, Feb 26, Elimar Riesebieter wrote:

> mm/built-in.o(.rodata.cst4+0x0): relocation truncated to fit: R_PPC_ADDR32 empty_zero_page+40000000
> make[1]: *** [.tmp_vmlinux1] Error 1
>
> gcc (GCC) 3.4.4 20050203 (prerelease) (Debian 3.4.3-9)
> GNU ld version 2.15
>
> Using gcc-3.3 (GCC) 3.3.5 (Debian 1:3.3.5-8) compiles well.

And so does ld 2.15 and cvs gcc 3.4.4 20050220. Bug your toolchain people.