-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Build for linux-ppc64le
#44
base: main
Are you sure you want to change the base?
Conversation
@conda-forge-admin, please rerender |
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
I don't have full access to a computer right now, so this PR has been created from GitHub's web interface. I've triggered a rerender of the feedstock in the meantime and I can dive into any errors that arise with the compilation (I expect a few) in a while. Edit: I've re-rendered locally with edd91c3. |
Hi! This is the friendly automated conda-forge-webservice. I tried to rerender for you but ran into some issues. Please check the output logs of the GitHub actions workflow below for more details. You can also ping conda-forge/core for further assistance or you can try rerendering locally. The following suggestions might help debug any issues:
This message was generated by GitHub actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/11314779755. |
…nda-forge-pinning 2024.10.12.13.15.35
…nda-forge-pinning 2024.10.12.13.15.35
|
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipe/meta.yaml:
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
I see that y'all have tried this already 😁 cross-linking to ziglang/zig#20335, and to #25 (comment) for me to refer further. ziglang/zig-bootstrap#113 (comment) mentions that we need ziglang/zig#17749. ziglang/zig#21650 and ziglang/zig#21651 discuss further support for this target, and essentially the blocker here is ziglang/zig#5927. I don't think we should support ELF v1 since Zig will support just v2 in the next release – ziglang/zig#21310 was just merged. So, we'll need some of those other issues to move further – I can rebase this PR then. In the meantime, I'll continue to rely on https://github.com/ziglang/zig-pypi/ which can repackage the official ppc64le builds for me as wheels :)
|
I did not get notified on this effort. The issue I ended-up shocking on is that LLVM 18 does not support some of the PPC64 relocations that the compilation generates. I have tried 3/4 methods to build it, without success so far |
Perhaps this observation about removing the |
Hi! This is the friendly automated conda-forge-linting service. I was trying to look for recipes to lint for you, but it appears we have a merge conflict. Please try to merge or rebase with the base branch to resolve this conflict. Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug. |
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Perhaps this is related to the new CI error, which also notes relocation issues |
Well, Andrew took a brief look at the issue I had posted and seemed to acknowledge that LLVM for ppc64le was missing these relocation, but I admit that I don't remember the details. I tried so many different ways of building it and I think the most promising was a native build on Travis, that's where I saw the relocation issues after patching a bunch of stuff in zig asm registers - Ideally, I would take another in-depth look at it when the |
Same issue with zig 0.14.0 and LLVM 19 |
Just to clarify, that issue is specific to
|
Thanks for the context! I guess we'll have to wait for things to move upstream... |
Are you implying that the issue we are seeing with ppc64le on those PRs is due to a misundertanding on our part? and that ppc64le build is expected to work? We need to build with our existing conda LLVM shared library, which seem to be missing relocations that the zig build is emitting (though, I admit my understanding of the details is poor) |
No, I just wanted to clarify that the linked zig-bootstrap issue is specific to
We are able to bootstrap a Zig compiler for
What seems to be happening is that the built LLVM artifacts (and libc, etc) contain relocations that LLVM/LLD/Clang just don't support/use yet, but which GCC/binutils do. So when you try to link the Zig compiler against those artifacts using LLD, LLD doesn't know what to do with them. The proper solution is to teach LLD how to process these relocations. A more immediate workaround would be to avoid building any LLVM artifacts with GCC, and instead use Clang, since Clang won't emit these relocations. This still leaves the libc relocations, though, but perhaps you can side-step that issue by explicitly compiling for |
@alexrp Thank you for clearly enunciating the problem that I very superficially understood, as well as, providing a path to a solution (which I very superficially understand ... lol). I will get on it and may try to ping you when I have made some progress. Thank you |
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)