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

Add -marm to arm32v6 so it can be armv6-from-armv7-compiler instead… #114

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

tianon
Copy link
Member

@tianon tianon commented Mar 14, 2024

… of armv6-from-armv5-compiler

This is what I wanted originally but hairy error messages about Thumb made it broken and I ran out of steam to fight it.

Thanks @neersighted!! ❤️

The smoking gun from diffoscope:

│ -  Start of section headers:          8428 (bytes into file)
│ -  Flags:                             0x5000200, Version5 EABI, soft-float ABI
│ +  Start of section headers:          8436 (bytes into file)
│ +  Flags:                             0x5000400, Version5 EABI, hard-float ABI

(our binary compiled the current way is soft-float instead of hard-float like it should've been 🤦)

@yosifkit yosifkit merged commit 9421ae1 into docker-library:master Mar 14, 2024
5 checks passed
@yosifkit yosifkit deleted the marm branch March 14, 2024 23:36
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Mar 14, 2024
Changes:

- docker-library/hello-world@9421ae1: Merge pull request docker-library/hello-world#114 from infosiftr/marm
- docker-library/hello-world@a1c9877: Add `-marm` to arm32v6 so it can be armv6-from-armv7-compiler instead of armv6-from-armv5-compiler
@tianon
Copy link
Member Author

tianon commented Mar 19, 2024

Turns out this doesn't actually work on armv6 thanks to the compiler making more assumptions. I'll have a revert soon.

martin-g pushed a commit to martin-g/docker-official-images that referenced this pull request Apr 3, 2024
Changes:

- docker-library/hello-world@9421ae1: Merge pull request docker-library/hello-world#114 from infosiftr/marm
- docker-library/hello-world@a1c9877: Add `-marm` to arm32v6 so it can be armv6-from-armv7-compiler instead of armv6-from-armv5-compiler
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 this pull request may close these issues.

2 participants