buildroot toolchain fails to build kernel: "ld: no machine record defined"
Hi all!
Today I tried to build a new kernel for my dev-board. Last time i did this was Nov 2007, when i also used a buildroot-created toolchain which worked absolutely fine. Today it compiles a lot, and then backs out with
"arm-linux-ld: no machine record defined" in the file .tmp_vmlinux1
After googling a lot, i found some messages including one by Russell King indicating that there is probably something wrong with the used binutils and that it should be reported to the binutils people. But because i used the buildroot chain, i thought i'd ask here first. Tried combinations include gcc 4.2.1 and 4.1.2 as well as binutils 2.18 and 2.17 on kernels 2.6.22.10 and 2.6.23.14. Every possible combination was given a try with the same results.
Are there any ideas on this?
Greetz Joe
Signature · 7 lines
Sepp "ZaP" Holzmayr please reply to: zentrale.at.work at gmail.com watch out for: www.rocksociety.de
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 17 lines · Bernhard Fischer
Quoted 16 lines · Joe
Hi all!
Today I tried to build a new kernel for my dev-board. Last time i did this was Nov 2007, when i also used a buildroot-created toolchain which worked absolutely fine. Today it compiles a lot, and then backs out with
"arm-linux-ld: no machine record defined" in the file .tmp_vmlinux1
After googling a lot, i found some messages including one by Russell King indicating that there is probably something wrong with the used binutils and that it should be reported to the binutils people. But because i used the buildroot chain, i thought i'd ask here first. Tried combinations include gcc 4.2.1 and 4.1.2 as well as binutils 2.18 and 2.17 on kernels 2.6.22.10 and 2.6.23.14. Every possible combination was given a try with the same results.
Quoted 5 lines
Quoted 1 line
Are there any ideas on this?
Please send me your buildroot.config and (if it's not the default) your uClibc.config and kernel.config for me to reproduce.
Thanks for the quick reply, Bernhard.
Please find the buildroot and kernel configs attached, uclibc config is standard with buildroot latest revision for svn.
Greetz Joe
Signature · 15 lines
Sepp "ZaP" Holzmayr please reply to: zentrale.at.work at gmail.com watch out for: www.rocksociety.de -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: buildroot.config Url: http://busybox.net/lists/buildroot/attachments/20080121/f4268c8f/attachment-0002.diff -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: kernel.config Url: http://busybox.net/lists/buildroot/attachments/20080121/f4268c8f/attachment-0003.diff
In the meantime i managed to find the old kernel config in our backups, and this kernel builds fine. So i'm guilty messing it up - shame on me! :-(
Nevertheless thanks a lot,
Greetz Joe
Quoted 22 lines · Bernhard Fischer
Quoted 16 lines · Joe
Hi all!
Today I tried to build a new kernel for my dev-board. Last time i did this was Nov 2007, when i also used a buildroot-created toolchain which worked absolutely fine. Today it compiles a lot, and then backs out with
"arm-linux-ld: no machine record defined" in the file .tmp_vmlinux1
After googling a lot, i found some messages including one by Russell King indicating that there is probably something wrong with the used binutils and that it should be reported to the binutils people. But because i used the buildroot chain, i thought i'd ask here first. Tried combinations include gcc 4.2.1 and 4.1.2 as well as binutils 2.18 and 2.17 on kernels 2.6.22.10 and 2.6.23.14. Every possible combination was given a try with the same results.
Quoted 1 line
Are there any ideas on this?
Please send me your buildroot.config and (if it's not the default) your uClibc.config and kernel.config for me to reproduce.
Signature · 7 lines
Sepp "ZaP" Holzmayr please reply to: zentrale.at.work at gmail.com watch out for: www.rocksociety.de