[Bug ld/14052] binutils 2.22.52.0.2 breaks 3.3.x kernel on i686

2012-05-04 Thread bagg...@pld-linux.org
http://sourceware.org/bugzilla/show_bug.cgi?id=14052

--- Comment #14 from Jan Rękorajski bagg...@pld-linux.org 2012-05-04 16:55:40 
UTC ---
(In reply to comment #13)
 (In reply to comment #12)
  Created attachment 6389 [details]
  A new patch
  
  This patch reverts the PR 13621 change and keeps the zero size
  section if there is a symbol for it.
 
 Please verify if this patch works.

Works for me. kernel 3.3.4 built with this patch runs fine.

FYI:
c15a3000 T __init_begin
c162d000 T __init_end

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/14052] binutils 2.22.52.0.2 breaks 3.3.x kernel on i686

2012-05-03 Thread bagg...@pld-linux.org
http://sourceware.org/bugzilla/show_bug.cgi?id=14052

--- Comment #8 from Jan Rękorajski bagg...@pld-linux.org 2012-05-03 10:25:44 
UTC ---
Add lilo to the list of broken bootloaders...

HJ, your patch does the job, my kernel is deep into swap and running fine.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/14052] New: binutils 2.22.52.0.2 breaks 3.3.x kernel on i686

2012-05-02 Thread bagg...@pld-linux.org
http://sourceware.org/bugzilla/show_bug.cgi?id=14052

 Bug #: 14052
   Summary: binutils 2.22.52.0.2 breaks 3.3.x kernel on i686
   Product: binutils
   Version: 2.22
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassig...@sourceware.org
ReportedBy: bagg...@pld-linux.org
CC: pl...@pld-linux.org
Classification: Unclassified


On Wed, May 2, 2012 at 11:58 AM, Paweł Sikora pl...@pld-linux.org wrote:
 Hi,

 with the latest binutils release we're observing weird kernel oopses on 
 *i686* architecture.
 i've compared the vmlinux and all kernel modules produced by binutils 
 2.22.52.0.{1,2}
 and the only vmlinux differs. afaics there's a diff in size of few elf 
 sections
 (.rodata, .rel.rodata, __modver). is it expected or a potential bug?

 here're vmlinux binaries: http://pluto.agmk.net/b.tar.bz2


Reverting patches from this report:
http://sourceware.org/bugzilla/show_bug.cgi?id=13621
(modulo changes to linker.c since then) seem to fix the problem.

We're using gcc 4.6.3 and the ooops here happens when something hits the swap.

The similiar problem was spotted in Arch linux
https://bugs.archlinux.org/task/29694
and their solution was to remove the 13621 patch from arch binutils.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/14052] binutils 2.22.52.0.2 breaks 3.3.x kernel on i686

2012-05-02 Thread bagg...@pld-linux.org
http://sourceware.org/bugzilla/show_bug.cgi?id=14052

--- Comment #3 from Jan Rękorajski bagg...@pld-linux.org 2012-05-02 22:40:57 
UTC ---
My bootloader is good old grub (0.97).
To tell the truth - I have no knowledge of its inner workings and no idea if it
relocates the kernel :(

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils