Giter Site home page Giter Site logo

disable stack-protector on powerpc about bitc HOT 3 OPEN

bit-c avatar bit-c commented on July 26, 2024
disable stack-protector on powerpc

from bitc.

Comments (3)

mx4 avatar mx4 commented on July 26, 2024

I'm tempted to blame the toolchain for this one. It's possible that stack-protector is not available on clang/powerpc, google suggests that you're not the only one experiencing the same link issue.

It is certainly harmless to disable stack-protector, it'll just be a little less safe to run the resulting binary. You could also try using gcc to compile the binary, cf Makefile, and see if that works.

Couple of things:

  • I don't have a powerpc platform to fix this up: do you want to prepare a patch to address this?
  • does it run fine once you manage to get a binary?

from bitc.

maire avatar maire commented on July 26, 2024

No, it doesn't - or, at least, it seems to start for a few seconds before crashing - that was an issue for another ticket though, lest the problem be related to my disabling of stack-protector.

ASSERT failed at src/peer.c:peer_check_liveness:1306
PANIC: Expression 'peer->magic == 0xbadf00d0badf00d' not TRUE.
Panic loop.
Aborted (core dumped)

If you provide an email I can send you a copy of the core dump.

from bitc.

mx4 avatar mx4 commented on July 26, 2024

Oh well, is that a big endian box by any chance? We most likely have some issue on these.

I don't have any powerpc toolchain handy to inspect that core so I'll probably need access to one such box to fix this properly. Maybe we can find some kind of arrangement? My email is in the LICENSE file fwiw.

from bitc.

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.