bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/22985] New: ld: linux kernels built with 2.31 do not boot


From: manuel.lauss at gmail dot com
Subject: [Bug ld/22985] New: ld: linux kernels built with 2.31 do not boot
Date: Tue, 20 Mar 2018 08:46:00 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22985

            Bug ID: 22985
           Summary: ld: linux kernels built with 2.31 do not boot
           Product: binutils
           Version: 2.31 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: manuel.lauss at gmail dot com
  Target Milestone: ---

Hello,

Linux kernels built with binutils HEAD, starting some time after 27.02.2018, no
longer boot, but immediately cause a reboot.

The final vmlinux binary is ~5MB smaller (out of ~600MB), and the .text section
starts at 0x1000, instead of the usual 0x20000:

--- good.txt    2018-03-20 09:35:37.614685097 +0100
+++ bad.txt     2018-03-20 09:35:52.111352335 +0100
@@ -10,7 +10,7 @@ ELF Header:
   Version:                           0x1
   Entry point address:               0x1000000
   Start of program headers:          64 (bytes into file)
-  Start of section headers:          650727648 (bytes into file)
+  Start of section headers:          645898400 (bytes into file)
   Flags:                             0x0
   Size of this header:               64 (bytes)
   Size of program headers:           56 (bytes)
@@ -22,78 +22,78 @@ ELF Header:
 Section Headers:
   [Nr] Name              Type            Address          Off    Size   ES Flg
Lk Inf Al
   [ 0]                   NULL            0000000000000000 000000 000000 00    
 0   0  0
-  [ 1] .text             PROGBITS        ffffffff81000000 200000 e03000 00  AX
 0   0 64
-  [ 2] .rela.text        RELA            0000000000000000 1164bb58 7362c0 18  
I 70   1  8
[...]
+  [ 1] .text             PROGBITS        ffffffff81000000 001000 e03000 00  AX
 0   0 64
+  [ 2] .rela.text        RELA            0000000000000000 111b0b18 7362c0 18  
I 70   1  8


I'll try to find the culprit via bisection, last working version I have is HEAD
as of 27.02.2018.

Thanks!
     Manuel

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]