[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 17:08:45 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16788
--- Comment #5 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
(In reply to Andy Lutomirski from comment #4)
> It looks like gold has a different interpretation of what ":text = 0x9090"
> means than the bfd linker. Can you try changing that to ":text =
> 0x90909090" in arch/x86/kernel/vmlinux.lds.S?
It still hangs when I change it.
> This is definitely a gold bug, or at least a difference between gold and
> bfd, but I doubt it's causing your problem, since using :text = 0x00009090
> on bfd still produces a working kernel for me.
>
> That being said, I just generated a working kernel with GNU gold (version
> 2.23.2) 1.11. Can you post a kernel image or a config or something?
This is a bizarre issue, because when I edit the kernel, by deleting
e.g. a single printk, the kernel boots fine. The same thing happens when I
switch to a different compiler.
So it appears that some strange coincidence must happen for this bug
to trigger.
I have uploaded the hanging kernel image to:
http://trippelsdorf.de/bzImage
(I use:
qemu-system-x86_64 -s -enable-kvm -net nic,vlan=0,model=virtio -net user
-fsdev local,security_model=none,id=root,path=/ -device
virtio-9p-pci,id=root,fsdev=root,mount_tag=/dev/root -m 512 -smp 1 -kernel
/usr/src/linux/arch/x86/boot/bzImage -nographic -append "init=/bin/zsh
root=/dev/root console=ttyS0 kgdboc=ttyS0 rootflags=rw,trans=virtio
rootfstype=9p ip=dhcp earlyprintk=ttyS0"
for testing)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/16788] New: Gold produces unbootable Linux kernel, markus at trippelsdorf dot de, 2014/04/01
- [Bug gold/16788] Gold produces unbootable Linux kernel, markus at trippelsdorf dot de, 2014/04/01
- [Bug gold/16788] Gold produces unbootable Linux kernel, markus at trippelsdorf dot de, 2014/04/01
- [Bug gold/16788] Gold produces unbootable Linux kernel, markus at trippelsdorf dot de, 2014/04/01
- [Bug gold/16788] Gold produces unbootable Linux kernel, luto at mit dot edu, 2014/04/01
- [Bug gold/16788] Gold produces unbootable Linux kernel,
markus at trippelsdorf dot de <=
- [Bug gold/16788] Gold produces unbootable Linux kernel, ccoutant at google dot com, 2014/04/01
- [Bug gold/16788] Gold produces unbootable Linux kernel, luto at mit dot edu, 2014/04/01
- [Bug gold/16788] Gold produces unbootable Linux kernel, ccoutant at google dot com, 2014/04/01
- [Bug gold/16788] Gold produces unbootable Linux kernel, ccoutant at google dot com, 2014/04/01
- [Bug gold/16788] Gold produces unbootable Linux kernel, markus at trippelsdorf dot de, 2014/04/01
- [Bug gold/16788] Gold produces unbootable Linux kernel, markus at trippelsdorf dot de, 2014/04/01
- [Bug gold/16788] Gold produces unbootable Linux kernel, markus at trippelsdorf dot de, 2014/04/01
- [Bug gold/16788] Gold produces unbootable Linux kernel, luto at mit dot edu, 2014/04/01
- [Bug gold/16788] Gold produces unbootable Linux kernel, luto at mit dot edu, 2014/04/01
- [Bug gold/16788] Gold produces unbootable Linux kernel, markus at trippelsdorf dot de, 2014/04/02