Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
G
gcompat
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Custom Issue Tracker
    • Custom Issue Tracker
  • Merge Requests 0
    • Merge Requests 0
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Commits
  • Adélie Linux
  • gcompat
  • Merge Requests
  • !6

Merged
Opened Nov 10, 2019 by q66@q66
  • Report abuse
Report abuse

internal: add a wrapper for __libc_start_main for PowerPC(64(le))

This is necessary because the musl and glibc function signatures differ significantly. This code has been written after consulting this with musl upstream and coming to the conclusion that the only place where this can be fixed is gcompat in a hacky way like this, as fixing in either musl or glibc would involve an ABI breakage and generally wouldn't be worth it.

This should allow gcompat to work on all types of PowerPC (32/64/64le). I also successfully bootstrapped the Go compiler using official binaries and gcompat this way.

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch https://code.foxkit.us/q66/gcompat.git ppc-fix
git checkout -b q66/gcompat-ppc-fix FETCH_HEAD

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout origin/master
git merge --no-ff q66/gcompat-ppc-fix

Step 4. Push the result of the merge to GitLab

git push origin master

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

  • Discussion 0
  • Commits 1
  • Changes 1
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: adelie/gcompat!6

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.