Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 466840

Summary: sys-kernel/genkernel: initramfs busybox build fails linking applets.o for i386:x64-32 on native ABI=x32
Product: Gentoo Hosted Projects Reporter: Andrew Shewmaker <agshew>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bkohler
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 393673    
Attachments: emerge info

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 ***