bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/16788] Gold produces unbootable Linux kernel


From: markus at trippelsdorf dot de
Subject: [Bug gold/16788] Gold produces unbootable Linux kernel
Date: Tue, 01 Apr 2014 15:05:35 +0000

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

Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |luto at mit dot edu

--- Comment #3 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
CCing Andy. Maybe he knows what is going on.

The first lines of the disassembly diff look like:
--- good        2014-04-01 16:42:13.680345325 +0200
+++ bad 2014-04-01 16:41:52.877489192 +0200
@@ -107,32 +107,25 @@

 ffffffff810001a4 <bad_address>:
 ffffffff810001a4:      eb fe                   jmp    ffffffff810001a4
<bad_address>
-ffffffff810001a6:      90                      nop
-ffffffff810001a7:      90                      nop
+       ...

 ffffffff810001a8 <_stext>:
-ffffffff810001a8:      90                      nop
-ffffffff810001a9:      90                      nop
+ffffffff810001a8:      00 00                   add    %al,(%rax)
 ffffffff810001aa:      90                      nop
 ffffffff810001ab:      90                      nop
-ffffffff810001ac:      90                      nop
-ffffffff810001ad:      90                      nop
+ffffffff810001ac:      00 00                   add    %al,(%rax)
 ffffffff810001ae:      90                      nop
 ffffffff810001af:      90                      nop
-ffffffff810001b0:      90                      nop
-ffffffff810001b1:      90                      nop
+ffffffff810001b0:      00 00                   add    %al,(%rax)
 ffffffff810001b2:      90                      nop
 ffffffff810001b3:      90                      nop
-ffffffff810001b4:      90                      nop
-ffffffff810001b5:      90                      nop
+ffffffff810001b4:      00 00                   add    %al,(%rax)
 ffffffff810001b6:      90                      nop
 ffffffff810001b7:      90                      nop
-ffffffff810001b8:      90                      nop
-ffffffff810001b9:      90                      nop
+ffffffff810001b8:      00 00                   add    %al,(%rax)
 ffffffff810001ba:      90                      nop
 ffffffff810001bb:      90                      nop
-ffffffff810001bc:      90                      nop
-ffffffff810001bd:      90                      nop
+ffffffff810001bc:      00 00                   add    %al,(%rax)
 ffffffff810001be:      90                      nop
 ffffffff810001bf:      90                      nop

@@ -165,7 +158,7 @@
 ffffffff81000218:      c3                      retq   
 ffffffff81000219:      89 da                   mov    %ebx,%edx
 ffffffff8100021b:      48 89 ee                mov    %rbp,%rsi
-ffffffff8100021e:      48 c7 c7 10 e7 75 81    mov    $0xffffffff8175e710,%rdi
+ffffffff8100021e:      48 c7 c7 c8 cf 78 81    mov    $0xffffffff8178cfc8,%rdi
 ffffffff81000225:      31 c0                   xor    %eax,%eax
 ffffffff81000227:      e8 75 b2 55 00          callq  ffffffff8155b4a1
<printk>
 ffffffff8100022c:      eb e6                   jmp    ffffffff81000214
<try_to_run_init_process+0x14>
@@ -226,19 +219,19 @@
 ffffffff810002c3:      b9 09 00 00 00          mov    $0x9,%ecx
 ffffffff810002c8:      53                      push   %rbx
 ffffffff810002c9:      48 89 fb                mov    %rdi,%rbx
-ffffffff810002cc:      48 c7 c7 3a e6 75 81    mov    $0xffffffff8175e63a,%rdi
+ffffffff810002cc:      48 c7 c7 6c e6 75 81    mov    $0xffffffff8175e66c,%rdi
 ffffffff810002d3:      48 89 de                mov    %rbx,%rsi
 ffffffff810002d6:      48 83 ec 30             sub    $0x30,%rsp
 ffffffff810002da:      f3 a6                   repz cmpsb
%es:(%rdi),%ds:(%rsi)
 ffffffff810002dc:      0f 84 86 00 00 00       je     ffffffff81000368
<name_to_dev_t+0xa8>
 ffffffff810002e2:      b9 05 00 00 00          mov    $0x5,%ecx
-ffffffff810002e7:      48 c7 c7 53 e6 75 81    mov    $0xffffffff8175e653,%rdi
+ffffffff810002e7:      48 c7 c7 85 e6 75 81    mov    $0xffffffff8175e685,%rdi
 ffffffff810002ee:      48 89 de                mov    %rbx,%rsi
 ffffffff810002f1:      f3 a6                   repz cmpsb
%es:(%rdi),%ds:(%rsi)
 ffffffff810002f3:      0f 85 ff 00 00 00       jne    ffffffff810003f8
<name_to_dev_t+0x138>
 ffffffff810002f9:      48 8d 6b 05             lea    0x5(%rbx),%rbp
 ffffffff810002fd:      b9 04 00 00 00          mov    $0x4,%ecx
-ffffffff81000302:      48 c7 c7 88 1d 77 81    mov    $0xffffffff81771d88,%rdi
+ffffffff81000302:      48 c7 c7 91 e6 75 81    mov    $0xffffffff8175e691,%rdi
 ffffffff81000309:      48 89 ee                mov    %rbp,%rsi
 ffffffff8100030c:      b8 ff 00 00 00          mov    $0xff,%eax
 ffffffff81000311:      f3 a6                   repz cmpsb
%es:(%rdi),%ds:(%rsi)
@@ -253,7 +246,7 @@
 ffffffff81000325:      c3                      retq   
 ffffffff81000326:      66 90                   xchg   %ax,%ax
 ffffffff81000328:      b9 04 00 00 00          mov    $0x4,%ecx
-ffffffff8100032d:      48 c7 c7 0a 20 7b 81    mov    $0xffffffff817b200a,%rdi
+ffffffff8100032d:      48 c7 c7 95 e6 75 81    mov    $0xffffffff8175e695,%rdi
 ffffffff81000334:      48 89 ee                mov    %rbp,%rsi
 ffffffff81000337:      f3 a6                   repz cmpsb
%es:(%rdi),%ds:(%rsi)
 ffffffff81000339:      b8 00 00 10 00          mov    $0x100000,%eax
@@ -286,13 +279,13 @@
 ffffffff81000396:      48 8d 4c 24 04          lea    0x4(%rsp),%rcx
 ffffffff8100039b:      31 c0                   xor    %eax,%eax
 ffffffff8100039d:      48 8d 54 24 08          lea    0x8(%rsp),%rdx
-ffffffff810003a2:      48 c7 c6 44 e6 75 81    mov    $0xffffffff8175e644,%rsi
+ffffffff810003a2:      48 c7 c6 76 e6 75 81    mov    $0xffffffff8175e676,%rsi
 ffffffff810003a9:      c6 44 24 04 00          movb   $0x0,0x4(%rsp)
 ffffffff810003ae:      e8 ed 17 1f 00          callq  ffffffff811f1ba0
<sscanf>
 ffffffff810003b3:      ff c8                   dec    %eax
 ffffffff810003b5:      0f 84 dd 00 00 00       je     ffffffff81000498
<name_to_dev_t+0x1d8>
 ffffffff810003bb:      31 c0                   xor    %eax,%eax
-ffffffff810003bd:      48 c7 c7 58 e9 75 81    mov    $0xffffffff8175e958,%rdi
+ffffffff810003bd:      48 c7 c7 10 d2 78 81    mov    $0xffffffff8178d210,%rdi
 ffffffff810003c4:      e8 d8 b0 55 00          callq  ffffffff8155b4a1
<printk>
 ffffffff810003c9:      8b 05 85 9c 92 00       mov    0x929c85(%rip),%eax     
  # ffffffff8192a054 <root_wait>
 ffffffff810003cf:      85 c0                   test   %eax,%eax
@@ -311,7 +304,7 @@
 ffffffff810003f8:      31 c0                   xor    %eax,%eax
 ffffffff810003fa:      48 8d 4c 24 10          lea    0x10(%rsp),%rcx
 ffffffff810003ff:      48 8d 54 24 04          lea    0x4(%rsp),%rdx
-ffffffff81000404:      48 c7 c6 a2 e3 7a 81    mov    $0xffffffff817ae3a2,%rsi
+ffffffff81000404:      48 c7 c6 8b e6 75 81    mov    $0xffffffff8175e68b,%rsi
 ffffffff8100040b:      48 89 df                mov    %rbx,%rdi
 ffffffff8100040e:      e8 8d 17 1f 00          callq  ffffffff811f1ba0
<sscanf>
 ffffffff81000413:      83 f8 02                cmp    $0x2,%eax
@@ -505,7 +498,7 @@
 ffffffff810006d4:      0f b7 54 05 fe          movzwl -0x2(%rbp,%rax,1),%edx
 ffffffff810006d9:      66 41 89 54 04 fe       mov    %dx,-0x2(%r12,%rax,1)
 ffffffff810006df:      e9 89 fe ff ff          jmpq   ffffffff8100056d
<name_to_dev_t+0x2ad>
-ffffffff810006e4:      48 c7 c7 28 e9 75 81    mov    $0xffffffff8175e928,%rdi
+ffffffff810006e4:      48 c7 c7 e0 d1 78 81    mov    $0xffffffff8178d1e0,%rdi
 ffffffff810006eb:      31 c0                   xor    %eax,%eax
 ffffffff810006ed:      e8 af ad 55 00          callq  ffffffff8155b4a1
<printk>
 ffffffff810006f2:      e9 e0 fc ff ff          jmpq   ffffffff810003d7
<name_to_dev_t+0x117>
@@ -556,7 +549,7 @@
 ffffffff8100079a:      74 2c                   je     ffffffff810007c8
<calibrate_delay+0xa8>
 ffffffff8100079c:      80 3d c5 98 92 00 00    cmpb   $0x0,0x9298c5(%rip)     
  # ffffffff8192a068 <printed.10205>
 ffffffff810007a3:      75 bc                   jne    ffffffff81000761
<calibrate_delay+0x41>
-ffffffff810007a5:      48 c7 c7 60 eb 75 81    mov    $0xffffffff8175eb60,%rdi
+ffffffff810007a5:      48 c7 c7 18 d4 78 81    mov    $0xffffffff8178d418,%rdi
 ffffffff810007ac:      31 c0                   xor    %eax,%eax
 ffffffff810007ae:      e8 ee ac 55 00          callq  ffffffff8155b4a1
<printk>
 ffffffff810007b3:      4a 8b 14 e5 c0 50 86    mov   
-0x7e79af40(,%r12,8),%rdx
@@ -602,7 +595,7 @@
 ffffffff8100085b:      31 c0                   xor    %eax,%eax
 ffffffff8100085d:      48 89 d6                mov    %rdx,%rsi
 ffffffff81000860:      48 89 fa                mov    %rdi,%rdx
-ffffffff81000863:      48 c7 c7 cd e6 75 81    mov    $0xffffffff8175e6cd,%rdi
+ffffffff81000863:      48 c7 c7 2f e7 75 81    mov    $0xffffffff8175e72f,%rdi
 ffffffff8100086a:      48 c1 ee 09             shr    $0x9,%rsi
 ffffffff8100086e:      e8 2e ac 55 00          callq  ffffffff8155b4a1
<printk>
 ffffffff81000873:      e9 f4 fe ff ff          jmpq   ffffffff8100076c
<calibrate_delay+0x4c>
@@ -623,8 +616,8 @@
 ffffffff810008b6:      00 00 
 ffffffff810008b8:      45 89 ee                mov    %r13d,%r14d
 ffffffff810008bb:      e8 e0 16 1f 00          callq  ffffffff811f1fa0
<read_current_timer>
-ffffffff810008c0:      4c 8b 25 39 f7 86 00    mov    0x86f739(%rip),%r12     
  # ffffffff81870000 <__vvar_beginning_hack>
-ffffffff810008c7:      48 8b 05 32 f7 86 00    mov    0x86f732(%rip),%rax     
  # ffffffff81870000 <__vvar_beginning_hack>
+ffffffff810008c0:      4c 8b 25 39 f7 86 00    mov    0x86f739(%rip),%r12     
  # ffffffff81870000 <__init_begin>
+ffffffff810008c7:      48 8b 05 32 f7 86 00    mov    0x86f732(%rip),%rax     
  # ffffffff81870000 <__init_begin>
 ffffffff810008ce:      4d 8d 7c 24 01          lea    0x1(%r12),%r15
 ffffffff810008d3:      49 39 c7                cmp    %rax,%r15
 ffffffff810008d6:      78 28                   js     ffffffff81000900
<calibrate_delay+0x1e0>

-- 
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]