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

Bump typenum from 1.14.0 to 1.15.0 to fix SIGILL during build #26471

Merged
merged 1 commit into from
Jul 7, 2022

Conversation

ruuda
Copy link
Contributor

@ruuda ruuda commented Jul 7, 2022

Problem

Compiling Solana with -C target-cpu might fail with SIGILL when compiling the typenum dependency.

Summary of Changes

Version 1.15.0 fixes an issue where code that runs at build-time would be compiled with the target_cpu setting, and the target CPU might support instructions that the host system does not have, causing a SIGILL during the build.

See also paholg/typenum#162 and paholg/typenum#177.

Changlelog of v1.15.0 shows no other changes relevant for Solana.

@mergify mergify bot added the community Community contribution label Jul 7, 2022
@mergify mergify bot requested a review from a team July 7, 2022 13:56
@ruuda ruuda changed the title Bump typenum from 0.14.0 to 0.15.0 to fix SIGILL during build Bump typenum from 1.14.0 to 1.15.0 to fix SIGILL during build Jul 7, 2022
Version 1.15.0 fixes an issue where code that runs at build-time would
be compiled with the target_cpu setting, and the target CPU might
support instructions that the host system does not have, causing a
SIGILL during the build.

See also [1] and [2].

[1]: paholg/typenum#162
[2]: paholg/typenum#177
@CriesofCarrots
Copy link
Contributor

Thanks

@CriesofCarrots CriesofCarrots merged commit 938be88 into solana-labs:master Jul 7, 2022
@ruuda ruuda deleted the bump-typenum branch July 15, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Community contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants