Skip to content

Conversation

@2over12
Copy link
Contributor

@2over12 2over12 commented Mar 11, 2022

Im not happy merging this as is because it skips relocations that it is unable to apply in elfs without applying them. This should probably be gated behind a feature or something

@2over12 2over12 requested a review from artemdinaburg March 11, 2022 20:47
@2over12
Copy link
Contributor Author

2over12 commented Mar 11, 2022

Modified the patch to provide a static option on the ELF loader to disable hard errors on relocation failures.

@2over12 2over12 marked this pull request as ready for review March 11, 2022 20:48
@2over12 2over12 force-pushed the ian/patch-relocation-checks-in-elf-loader branch from 658cddf to ef636df Compare March 13, 2022 14:55
@2over12
Copy link
Contributor Author

2over12 commented Mar 14, 2022

Following up on this PR, I'm using it locally and it does allow us to load binaries.

@2over12 2over12 requested a review from artemdinaburg March 14, 2022 17:37
@pgoodman
Copy link
Contributor

Can we get cap'n proto in too? :trollface:

@2over12 2over12 requested a review from ekilmer March 17, 2022 13:20
@ekilmer ekilmer changed the title add relocation patch and fix asan triplet add LLVM relocation patch Mar 17, 2022
This is now useful with the new build script to let users know when a
new update is available
Copy link
Collaborator

@ekilmer ekilmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the LLVM patch looks good for everybody else, then this is fine to merge from my perspective.

I added commit cc95117 to bump the port-version so that it's easier to tell when new changes (read: patches) are added.

@artemdinaburg artemdinaburg merged commit a1b8562 into master Mar 17, 2022
@artemdinaburg artemdinaburg deleted the ian/patch-relocation-checks-in-elf-loader branch March 17, 2022 20:04
ekilmer added a commit that referenced this pull request Mar 18, 2022
* master:
  Prevent build script from clobbering this repo
  add LLVM relocation patch (#911)
  Add capnproto as default dependency (#915)
  Always add sanitizer flags when linking (#912)
  Build script improvements (#907)
  Bump actions/upload-artifact from 2.3.1 to 3 (#906)
  Bump actions/checkout from 2.4.0 to 3 (#905)
  Bump actions/setup-dotnet from 1.9.1 to 2 (#903)
  Bump actions/setup-dotnet from 1.9.0 to 1.9.1 (#902)
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.

5 participants