Github messages for voidlinux
 help / color / mirror / Atom feed
From: ericonr <ericonr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Closed]: New package: go-pie
Date: Mon, 30 Mar 2020 05:49:03 +0200	[thread overview]
Message-ID: <20200330034903.byJYFa6oFb8vArLXfLws6wlyZH3cTrCXpEN1jlbskpE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20450@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1082 bytes --]

There's a closed pull request on the void-packages repository

New package: go-pie
https://github.com/void-linux/void-packages/pull/20450

Description:
This package makes it possible to build Go binaries with PIE.

Both Arch Linux and Alpine already implement this feature. Arch has a package called go-pie that's used for most of their PKGBUILDs, while the only version of Go on Alpine is one capable of producing PIE binaries.

* On Arch: https://www.archlinux.org/packages/community/x86_64/go-pie/
* On Alpine: https://pkgs.alpinelinux.org/package/edge/community/x86_64/go

The patch used here is actually adapted from the one used by Arch, and if adopted can allow us to remove the nostrip flag from the go build_style.

I'm getting some weird build output, where it says

```
loadinternal: cannot find runtime/cgo
```

so I'm not completely certain that it's 100% complete. Building a program that uses cgo does work cleanly, so I'm not sure what it means.

It's referenced [in this issue](https://github.com/golang/go/issues/31544), but without any solution.

       reply	other threads:[~2020-03-30  3:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20450@inbox.vuxu.org>
2020-03-30  3:49 ` ericonr [this message]
2020-03-30  4:01 ` q66
2020-03-30  4:02 ` q66
2020-03-30  4:02 ` the-maldridge
2020-03-30  4:03 ` q66
2020-03-30  4:10 ` q66
2020-03-31  6:01 ` ericonr
2020-03-31  6:57 ` the-maldridge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200330034903.byJYFa6oFb8vArLXfLws6wlyZH3cTrCXpEN1jlbskpE@z \
    --to=ericonr@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).