Help needed to track down bug: linking Linux kernel with gold creates unbootable kernel
Török Edwin
edwintorok@gmail.com
Fri Apr 9 19:25:00 GMT 2010
More information about the Binutils mailing list
Fri Apr 9 19:25:00 GMT 2010
- Previous message (by thread): "cbin" utility for generating linkable objects
- Next message (by thread): Help needed to track down bug: linking Linux kernel with gold creates unbootable kernel
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I tried to link the Linux kernel with gold. Everything went fine with linking, however after rebooting the kernel wasn't working: it instantly rebooted as soon as I selected it from grub. I thought its better to bring up this issue here on the ML, rather than in a bug, because the bugreport wouldn've been pretty useless. How can I track down what the problem is with gold here? Has anyone encountered a similar issue before (has anyone got a working kernel with gold)? I don't think I ever got a working kernel with gold. Last time I tried there were some linking issues with fglrx, I opened a bug, and it got fixed. Meanwhile I no longer use fglrx (switched to open source radeon drivers), so everything links fine, but doesn't boot. I tried with 2.6.33, 2.6.34-rc3, and v2.6.34-rc3-138-gecb385a. This is the gold version I am using: GNU gold (GNU Binutils for Debian 2.20.1-system.20100303) 1.9 If I remove gold, and link with the usual ld (GNU ld (GNU Binutils for Debian) 2.20.1-system.20100303), then all these kernels boot fine. This is my gcc version: Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.3-7' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.4.3 (Debian 4.4.3-7) I've attached the .config I used for the kernel, if someone wants to reproduce the bug. Best regards, --Edwin -------------- next part -------------- A non-text attachment was scrubbed... Name: .config.gz Type: application/x-gzip Size: 15112 bytes Desc: not available URL: <https://sourceware.org/pipermail/binutils/attachments/20100409/95d3a64f/attachment.bin>
- Previous message (by thread): "cbin" utility for generating linkable objects
- Next message (by thread): Help needed to track down bug: linking Linux kernel with gold creates unbootable kernel
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list