Giter Club home page Giter Club logo

Comments (6)

NHAS avatar NHAS commented on August 11, 2024

Howdy, can you confirm that when you compile a client for darwin you're doing --goarch amd64 (or GOARCH=amd64 in the make file build)

from reverse_ssh.

NHAS avatar NHAS commented on August 11, 2024

I cant confirm this myself as I dont have an arm64 darwin platform to test on. But you may also want to try compiling with --no-lib-c in link or CGO_ENABLED=0 for makefile

from reverse_ssh.

tdragon6 avatar tdragon6 commented on August 11, 2024

I tested many scenarios and found that the problem is caused by upx. When using --upx, this error will appear on the amd64 architecture darwin of the Intel chip. When --upx is not used, it can be executed normally.

from reverse_ssh.

tdragon6 avatar tdragon6 commented on August 11, 2024

Also, I would like to ask about --no-lib-c and default compilation, what are their advantages, disadvantages and differences?

from reverse_ssh.

NHAS avatar NHAS commented on August 11, 2024

Huh, unfortunately that sounds like a problem with upx rather than rssh itself so not sure I can fix that, other than putting a warning on that combo.

--no-lib-c can be helpful on systems that dont use glibc, such as alpine. Golang doesnt require libc to function, but I leave it on by default as thats what go's default is.

As for benefits of leaving it on. No idea.

from reverse_ssh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.