Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466840 - sys-kernel/genkernel: initramfs busybox build fails linking applets.o for i386:x64-32 on native ABI=x32
Summary: sys-kernel/genkernel: initramfs busybox build fails linking applets.o for i38...
Status: RESOLVED DUPLICATE of bug 420949
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
Depends on:
Blocks: x32
  Show dependency tree
Reported: 2013-04-22 19:09 UTC by Andrew Shewmaker
Modified: 2017-09-08 14:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

emerge info (emergeinfo.txt,4.37 KB, text/plain)
2013-04-22 19:10 UTC, Andrew Shewmaker

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Shewmaker 2013-04-22 19:09:35 UTC
When using genkernel to create an initramfs, busybox fails to build with:

ld: i386:x64-32 architecture of input file `applets/applets.o' is incompatible with i386:x64-32 output
Comment 1 Andrew Shewmaker 2013-04-22 19:10:08 UTC
Created attachment 346320 [details]
emerge info
Comment 2 Anthony Basile gentoo-dev 2013-05-26 18:55:59 UTC
I hit this when building the kernel in a chroot installing a new x32 system.  It got to compiling busybox and crapped out on the ld error.  I worked around it by passing CFLAGS="-m64" to just compile busybox, however, when I was up and ran genkernel again, it compiled file.  I didn't trace it down.
Comment 3 Ben Kohler gentoo-dev 2017-09-08 14:26:21 UTC

*** This bug has been marked as a duplicate of bug 420949 ***