[Bug 970239] [openQA][20160308] Kernel 4.4.4 fails to boot in all i586 tests
http://bugzilla.suse.com/show_bug.cgi?id=970239
http://bugzilla.suse.com/show_bug.cgi?id=970239#c35
--- Comment #35 from Fabian Vogt
(In reply to Fabian Vogt from comment #32)
Created attachment 668976 [details] Patch for use with binutils 2.26.0
This is a patch that disables relax relocations in the 32-bit loader.
Shouldn't the option be passed only for x86-32? e.g. something like:
ifeq ($(CONFIG_X86_32),y) KBUILD_CFLAGS += $(call as-option,-Wa$(comma)-mrelax-relocations=no,) endif
AFAICS it shouldn't hurt. It's only a very temporary patch anyway.
However, it only works with binutils <= 2.26 as newer versions (I tried git master) optimize non-relax relocations as well and thus need a different patch: https://sourceware.org/bugzilla/attachment.cgi?id=9089 That patch does not work with anything older than git master though...
Hmm, that's a mess. I don't think we have a Makefile macro to identify binutils version like cc-version...
"H.J. Lu" is currently working on making a patch for binutils 2.26 to get the second patch working for 2.26 as well. We could wait for it and include it in our binutils, but that would take another week I guess. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com