[Gold] problem building linux kernel
Markus Trippelsdorf
markus@trippelsdorf.de
Thu Nov 18 10:13:00 GMT 2010
More information about the Binutils mailing list
Thu Nov 18 10:13:00 GMT 2010
- Previous message (by thread): [Gold] problem building linux kernel
- Next message (by thread): [Gold] problem building linux kernel
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2010.11.18 at 01:07 -0800, Doug Kwan (關振德) wrote: > My system is a 64-bit x86_64 running Ubuntu Lucid and have gcc-4.4.3. > I built a kernel tool-chain with top of trunk gold and gcc-4.5.1 then > I use it to build the kernel again. I now got the __jump_table > section but objcopy worked fine. > > I am sure I used the right tools: > > $ ld -v > GNU gold (GNU Binutils 2.21.51.20101118) 1.10 > $ gcc -v > Using built-in specs. > COLLECT_GCC=gcc > COLLECT_LTO_WRAPPER=/home/dougkwan/kernel-toolchain/install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.5.1/lto-wrapper > Target: x86_64-unknown-linux-gnu > Configured with: ../gcc-4.5.1/configure --enable-languages=c > --with-mpfr=/home/dougkwan/gcc-lib --disable-bootstrap > Thread model: posix > gcc version 4.5.1 (GCC) Something must cause the error in my case. So let's compare our configuration: % ld -v GNU gold (GNU Binutils 2.21.51.20101118) 1.10 % gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../configure --prefix=/usr --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-gnu-unique-object --enable-lto --enable-plugin --disable-multilib --disable-libstdcxx-pch --with-system-zlib --with-ppl --with-cloog --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info Thread model: posix gcc version 4.5.1 (GCC) I configured binutils with: % ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-64-bit-bfd --disable-multilib --enable-gold=both --enable-plugins After "make install" I ran: # rm /usr/bin/ld # ln -fs /usr/bin/ld.gold /usr/bin/ld -- Markus
- Previous message (by thread): [Gold] problem building linux kernel
- Next message (by thread): [Gold] problem building linux kernel
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list