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

restructured crossbuild containerfile hides segfault #51

Closed
nkraetzschmar opened this issue Dec 6, 2023 · 2 comments · Fixed by #52
Closed

restructured crossbuild containerfile hides segfault #51

nkraetzschmar opened this issue Dec 6, 2023 · 2 comments · Fixed by #52
Assignees
Labels

Comments

@nkraetzschmar
Copy link
Contributor

#4 restructured the containerfile and moved the gcc sanity check before the import of native binaries. Therefore, the sanity check became ineffective as it now only checks the non native optimised versions.
In fact this change has already hidden a bug causing gcc to segfault when building amd64 targets on an aarch64 host. (the bug is likely caused by some updates to gcc resulting in a binary layout that patchelf does not handle correctly when replacing needed libs)

we should:

  • fix the containerfile to perform gcc sanity checks after importing native accelerated executables
  • investigate and fix the segfault in the patched gcc
@alee-ntap
Copy link
Contributor

Here is a small PR that fix the container file to perform gcc sanity checks after importing native accelerated executables:
https://github.com/gardenlinux/package-build/pull/52

Do you have more info on the segfault in the patched gcc?

@alee-ntap
Copy link
Contributor

Request technical sponsor from @waldiTM :)

@nanory nanory closed this as completed in #52 Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants