-
Notifications
You must be signed in to change notification settings - Fork 118
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
+micro #466
+micro #466
Conversation
|
Can't make it work... closing for now. |
A bug was released in brewkit (currently pulling 0.5.1 and releasing 0.5.2), so if it was just that test issue, I wouldn't give up yet. |
This is an interesting one. You need to get |
@jhheider cool thanks for the tips! I'll take a look tomorrow. |
Try: sed -i.bak -e 's/^ADDITIONAL_GO_LINKER_FLAGS = /ADDITIONAL_GO_LINKER_FLAGS = "-buildmode=pie" /' Makefile
rm Makefile.bak and see if that gets it. |
I think that fixed it. I don't know what that does though. I actually figured out that the command builds and runs, but as soon as the build script finishes, it doesn't work anymore. I'm assuming this is because pkg build modifies the binary. This step perhaps?
Anyway, that sed command seemed to fix it. My package.yml file is so hacked up that I have to reduce it down to the minimum to see what is really important. |
It just adds the appropriate flag to the Makefile, since there doesn't seem to be a better way to do so. |
It's all fixed. I'll see if I can figure out how to add to this pull request. |
@jhheider I don't know what |
I finally read that link. The segfault only happens on Linux. |
It is optional on linux, but it's always on on Ubuntu. It's a hardened memory runtime that provides additional alignment guarantees, so if the system uses it, binaries must as well, but not vice versa. I don't recommend being interested but the technologies are called position-independent code and position-independent executable if you want to know more. |
Well, I tried to follow these instructions but it was harder than that. I had to do this.
After I made my change and committed, I tried to do a push and I got this.
I've never done this type of thing before so I'm not sure how to proceed. Is it possible to push it to my fork and have this pull request reference my fork? I kind of doubt it... IDK. |
LOL, I'm kind of interested, but there's a lot of things between where I'm at and those specifics. When I switch to Linux as my daily driver (been on my to-do list for over 3 years now) then I might start looking into that type of thing more. |
Here's my branch |
There's a lot you can do with git remotes; possibly the easiest way to do it without adding remotes is to use the |
No description provided.