Re: [PATCH 1/3] Remove '-mno-explicit-relocs' option when CONFIG_BUILD_ELF64

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

 



Daniel Jacobowitz wrote:
> Yes, I rebased them on top of linux-mips HEAD as of Thursday.
> 

Ok, I rebased them too, and compare them to your diff and got almost
the same result except that you seem to not use the last patch 3/3
version. But it shouldn't hurt.

> My kernel crashed, so I gave your patchset a try, and it got a lot
> further and crashed somewhere different.
> 

It just means that before applying the patchset your kernel was
wrongly configured: you probably set "CONFIG_BUILD_ELF64=y" whereas
your kernel load address is in CKSEG0, is that correct ?

If so, your current issue may be related to a completely different
area and maybe a git-bisect session could help but don't forget to set
"CONFIG_BUILD_ELF64=n" before.

Oh, maybe before doing the git-bisect session, there's one thing you
could try: when building the kernel with the patchset applied do:

		$ make KBUILD_SYM32=no

It's equivalent to "CONFIG_BUILD_ELF64=y" _but_ the kernel will use
the correct definitions for kernel address translations.

In any cases, your dmesg could help.

		Franck


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux