Skip to content
This repository was archived by the owner on Mar 6, 2023. It is now read-only.
This repository was archived by the owner on Mar 6, 2023. It is now read-only.

midstatec compilation error on Raspberry Pi (pwnpi) #70

Open

Description

@jipegit

~/stratum-mining-proxy/midstatec# make
gcc -march=native -Wall -funroll-all-loops -O3 -fstrict-aliasing -Wall -std=c99 -I/usr/include/python2.7 midstatemodule.c -o test -Wl,-O1 -Wl,--as-needed -lpython2.7
cc1: error: bad value (native) for -march switch
make: *** [test] Error 1

Fixed with:
-march=armv6

Activity

  1. ab1jx commented on Apr 20, 2017

    @ab1jx

    But does it actually work? I see this in the messages when it starts:
    C extension for midstate not available. Using default implementation instead.

    And I changed it both in the Makefile and in setup.py

    Pooler on IRC says not to worry about it, it was for some early (2010 or so) Getwork miners, isn't needed anymore. Sure kept it from installing on my Pi 3 though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions