Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross compilation for kernel 6.1 doesn't work on ARM #171

Closed
arnaldo2792 opened this issue Oct 1, 2024 · 0 comments · Fixed by #172
Closed

Cross compilation for kernel 6.1 doesn't work on ARM #171

arnaldo2792 opened this issue Oct 1, 2024 · 0 comments · Fixed by #172
Assignees

Comments

@arnaldo2792
Copy link
Contributor

Package I'm using:

Kernel 6.1

What I expected to happen:

The 6.1 Kernel builds for x86_64 in an ARM host

What actually happened:

The build failed:

  #14 165.9 /usr/bin/x86_64-bottlerocket-linux-gnu-strip: Unable to recognise the format of the input file `/home/builder/rpmbuild/BUILDROOT/bottlerocket-kernel-6.1-6.1.109-1.1727554942.ab18bc69.br1.aarch64/x86_64-bottlerocket-linux-gnu/sys-root/usr/share/bottlerocket/kernel-devel/6.1.109/arch/x86/tools/relocs_32.o'
  #14 165.9 /usr/bin/x86_64-bottlerocket-linux-gnu-strip: Unable to recognise the format of the input file `/home/builder/rpmbuild/BUILDROOT/bottlerocket-kernel-6.1-6.1.109-1.1727554942.ab18bc69.br1.aarch64/x86_64-bottlerocket-linux-gnu/sys-root/usr/share/bottlerocket/kernel-devel/6.1.109/arch/x86/tools/relocs_64.o'
  #14 165.9 /usr/bin/x86_64-bottlerocket-linux-gnu-strip: Unable to recognise the format of the input file `/home/builder/rpmbuild/BUILDROOT/bottlerocket-kernel-6.1-6.1.109-1.1727554942.ab18bc69.br1.aarch64/x86_64-bottlerocket-linux-gnu/sys-root/usr/share/bottlerocket/kernel-devel/6.1.109/arch/x86/tools/relocs_common.o'
  #14 166.4 + /usr/lib/rpm/brp-strip-comment-note /usr/bin/x86_64-bottlerocket-linux-gnu-strip /usr/bin/x86_64-bottlerocket-linux-gnu-objdump

How to reproduce the problem:

In an arm host, attempt to build for x86_64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants