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

pcre: fix on ppc(64) #189278

Closed
wants to merge 1 commit into from
Closed

pcre: fix on ppc(64) #189278

wants to merge 1 commit into from

Conversation

OPNA2608
Copy link
Contributor

@OPNA2608 OPNA2608 commented Sep 1, 2022

Description of changes

This is a patch taken from Void Linux: https://github.com/void-linux/void-packages/blob/8e1eceec431ab3d3d6e469ad0680ce74e46f8be3/srcpkgs/pcre/patches/ppc-icache-flush.patch. I tried to fetchpatch it like I would on a regular package but it didn't eval, don't remember the error right now. I'll check again later.

Without this patch, the pcre test suite fails on my machine. Excuse the slightly off look, the colours on the distro I'm using don't capture correctly.

image

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
    • powerpc64-linux
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.11 Release Notes (or backporting 22.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

Without this patch, tests fail on bad readback & segfaults.
@OPNA2608
Copy link
Contributor Author

OPNA2608 commented Sep 1, 2022

There is still some other ppc64 stdenv stuff that needs to be upstreamed. The bootstrap files, teaching the bintools wrapper where to find the libc and teaching openssl 1.x & the python wrapper about gnuelfabiv2 are the ones I have locally. I was stuck on ELF ABI problems for awhile but the recent #182807 helped alot with that.

bootstrap files were started in #177001, @minijackson iunno how much more you have lined up for PRs already but I hope I'm not stepping on your toes too much by opening afew drafts! I'm very excited about ppc64 support 😅.

@OPNA2608
Copy link
Contributor Author

OPNA2608 commented Sep 1, 2022

Ehh, I think I fumbled this pretty hard. Lemme close this for now and come back when some more basic stuff is merged. Sorry for the noise.

@OPNA2608 OPNA2608 closed this Sep 1, 2022
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.

1 participant