Skip to contentSkip to conversation

2.6.19-rc2 has ld error for ppc64

PATCH Yi CDL Yang 2 participants 3 messages Oct 17, 2006 – Oct 18, 2006

lore
Share & tools
lore
#0 lore raw

On building 2.6.19-rc2 on ppc64, ld always reports such an error:

".text exceeds stub group size"

...

this patch can make ld happy without any complain.

bfd/elf64-ppc.c 2006-10-16 18:43:57.000000000 -0400 renamed from bfd/elf64-ppc.c.orig 2006-10-16 23:58:53.000000000 -0400 +0 -0
@@ -4538,6 +4538,7 @@ ppc64_elf_check_relocs (bfd *abfd, struc

case R_PPC64_REL14_BRTAKEN:
case R_PPC64_REL14_BRNTAKEN:
{
+ htab->has_14bit_branch = 0;
asection *dest = NULL;

/* Heuristic: If jumping outside our section, chances are

#1 lore raw
Quoted 3 lines · Yi CDL Yang

On building 2.6.19-rc2 on ppc64, ld always reports such an error:

".text exceeds stub group size"

This is not an error. It is just a warning that might help explain a later error. If the linker doesn't give any errors then the warning may safely be ignored.

Signature · 2 lines
Alan Modra
IBM OzLabs - Linux Technology Centre
#2 lore raw
Quoted 9 lines · Alan Modra
Quoted 3 lines · Yi CDL Yang

On building 2.6.19-rc2 on ppc64, ld always reports such an error:

".text exceeds stub group size"

This is not an error. It is just a warning that might help explain a later error. If the linker doesn't give any errors then the warning may safely be ignored.

Many warnings aren't a good thing, we should have a clean build, this patch should be good.