m68k: kernel build error with binutils >= 2.18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Building m68k kernels with binutils 2.17 works fine, but with
binutils 2.18 and 2.18.50.0.5 I'm getting the following link error:

<--  snip  -->

...
  m68k-linux-ld -m m68kelf --build-id -o .tmp_vmlinux1 -T arch/m68k/kernel/vmlinux.lds arch/m68k/kernel/head.o  init/built-in.o --start-group  usr/built-in.o  arch/m68k/kernel/built-in.o  arch/m68k/mm/built-in.o  arch/m68k/amiga/built-in.o  arch/m68k/fpsp040/built-in.o  arch/m68k/ifpsp060/built-in.o  arch/m68k/math-emu/built-in.o  kernel/built-in.o  mm/built-in.o  fs/built-in.o  ipc/built-in.o  security/built-in.o  crypto/built-in.o  block/built-in.o  lib/lib.a  arch/m68k/lib/lib.a  lib/built-in.o arch/m68k/lib/built-in.o  drivers/built-in.o  sound/built-in.o  net/built-in.o --end-group 
m68k-linux-ld: .tmp_vmlinux1: Not enough room for program headers, try linking with -N
m68k-linux-ld: final link failed: Bad value
make[1]: *** [.tmp_vmlinux1] Error 1

<--  snip  -->

Does anyone have a clue what's going wrong, or even how to fix it?

TIA
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux