Skip to content

Problems compiling on MacOS #2

@JustinDrake

Description

@JustinDrake

Awesome to have initial code! This is what I get from running make -j8 on a Mac

Justins-MacBook-Pro:libSTARK justin$ make -j8
/Library/Developer/CommandLineTools/usr/bin/make -C /Users/justin/Desktop/repos/libSTARK/algebra/FFT  BLDDIR=/Users/justin/Desktop/repos/libSTARK/bin/fft
/Library/Developer/CommandLineTools/usr/bin/make -C /Users/justin/Desktop/repos/libSTARK/algebra/algebralib \
	BLDDIR=/Users/justin/Desktop/repos/libSTARK/bin/algebralib FFTINC=/Users/justin/Desktop/repos/libSTARK/algebra/FFT/src
/Library/Developer/CommandLineTools/usr/bin/make -C /Users/justin/Desktop/repos/libSTARK/libstark \
	BLDDIR=/Users/justin/Desktop/repos/libSTARK/bin/libstark \
	FFTINC=/Users/justin/Desktop/repos/libSTARK/algebra/FFT/src		\
	ALGEBRAINC=/Users/justin/Desktop/repos/libSTARK/algebra/algebralib/headers
/Library/Developer/CommandLineTools/usr/bin/make -C /Users/justin/Desktop/repos/libSTARK/tinyram/gadgetlib/gadgetlib						\
	GADGETINC=/Users/justin/Desktop/repos/libSTARK/tinyram/gadgetlib/gadgetlib/. \
	ALGEBRAINC=/Users/justin/Desktop/repos/libSTARK/algebra/algebralib/headers 				\
	ALGEBRALIBLINKDIR=/Users/justin/Desktop/repos/libSTARK/bin/algebralib				\
	FFTLIBLNKDIR=/Users/justin/Desktop/repos/libSTARK/bin/fft	\
	FFTINC=/Users/justin/Desktop/repos/libSTARK/algebra/FFT FFTLIBLNKDIR=/Users/justin/Desktop/repos/libSTARK/bin/fft		\
	BLDDIR=/Users/justin/Desktop/repos/libSTARK/bin/gadgetlib
g++ -O3 -g -Wall -fmessage-length=0 -fopenmp -mavx -maes -mtune=native  -std=c++14  -I./..  -I/Users/justin/Desktop/repos/libSTARK/algebra/algebralib/headers -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT/.. -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT/src -c -o "/Users/justin/Desktop/repos/libSTARK/bin/gadgetlib/common_use.o" "common_use.cpp"
g++ -O3 -g -Wall -fmessage-length=0 -fopenmp -mavx -maes -mtune=native  -std=c++14  -I./..  -I/Users/justin/Desktop/repos/libSTARK/algebra/algebralib/headers -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT/.. -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT/src -c -o "/Users/justin/Desktop/repos/libSTARK/bin/gadgetlib/constraint.o" "constraint.cpp"
g++ -O3 -g -Wall -fmessage-length=0 -fopenmp -mavx -maes -mtune=native  -std=c++14  -I./..  -I/Users/justin/Desktop/repos/libSTARK/algebra/algebralib/headers -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT/.. -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT/src -c -o "/Users/justin/Desktop/repos/libSTARK/bin/gadgetlib/gadget.o" "gadget.cpp"
g++ -O3 -g -Wall -fmessage-length=0 -fopenmp -mavx -maes -mtune=native -mpclmul -std=c++14 -mpclmul -Isrc -c -o "/Users/justin/Desktop/repos/libSTARK/bin/fft/src/Basis.o" "src/Basis.cpp"
g++ -O3 -g -Wall -fmessage-length=0 -fopenmp -mavx -maes -mtune=native  -std=c++14  -I./..  -I/Users/justin/Desktop/repos/libSTARK/algebra/algebralib/headers -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT/.. -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT/src -c -o "/Users/justin/Desktop/repos/libSTARK/bin/gadgetlib/infrastructure.o" "infrastructure.cpp"
g++ -O3 -g -Wall -fmessage-length=0 -fopenmp -mavx -maes -mtune=native  -std=c++14  -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT/src -Iheaders -c -o "/Users/justin/Desktop/repos/libSTARK/bin/algebralib/src/AffinePolynomial.o" "src/AffinePolynomial.cpp"
g++ -O3 -g -Wall -fmessage-length=0 -fopenmp -mavx -maes -mtune=native -mpclmul -std=c++14 -mpclmul -Isrc -c -o "/Users/justin/Desktop/repos/libSTARK/bin/fft/src/Definitions.o" "src/Definitions.cpp"
for dir in ./src/languages/Acsp ./src/languages/Bair ./src/common/Utils ./src/common/Infrastructure ./src/common/Algebra ./src/reductions/BairToAcsp/Details ./src/reductions/BairToAcsp/Routing ./src/reductions/BairToAcsp ./src/protocols/Fri/verifier_details ./src/protocols/Fri/common ./src/protocols/Fri ./src/protocols/common ./src/protocols/common/CryptoCommitment ./src/protocols ./src/protocols/Ali/common_details ./src/protocols/Ali/verifier_details ./src/protocols/Ali; do mkdir -p /Users/justin/Desktop/repos/libSTARK/bin/libstark/obj/$dir; done
clangclangclangclang: : : : clangclang: : clang: error: unsupported option '-fopenmp'error: unsupported option '-fopenmp'error: errorunsupported option '-fopenmp': unsupported option '-fopenmp'error: error: unsupported option '-fopenmp'
unsupported option '-fopenmp'
error: unsupported option '-fopenmp'




make[1]: *** [/Users/justin/Desktop/repos/libSTARK/bin/gadgetlib/infrastructure.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/Users/justin/Desktop/repos/libSTARK/bin/gadgetlib/constraint.o] Error 1
make[1]: *** [/Users/justin/Desktop/repos/libSTARK/bin/algebralib/src/AffinePolynomial.o] Error 1
make[1]: *** Waiting for unfinished jobs....
g++ -O3 -g -Wall -fmessage-length=0 -fopenmp -mavx -maes -mtune=native -std=c++14 -Isrc -I/Users/justin/Desktop/repos/libSTARK/algebra/algebralib/headers -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT/src -c -o "/Users/justin/Desktop/repos/libSTARK/bin/libstark/obj/src/languages/Acsp/AcspWitnessChecker.o" "src/languages/Acsp/AcspWitnessChecker.cpp"
make[1]: *** [/Users/justin/Desktop/repos/libSTARK/bin/gadgetlib/gadget.o] Error 1
make[1]: *** [/Users/justin/Desktop/repos/libSTARK/bin/gadgetlib/common_use.o] Error 1
g++ -O3 -g -Wall -fmessage-length=0 -fopenmp -mavx -maes -mtune=native  -std=c++14  -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT/src -Iheaders -c -o "/Users/justin/Desktop/repos/libSTARK/bin/algebralib/src/AffineSpace.o" "src/AffineSpace.cpp"
make: *** [gadgetlib] Error 2g++ -O3 -g -Wall -fmessage-length=0 -fopenmp -mavx -maes -mtune=native -std=c++14 -Isrc -I/Users/justin/Desktop/repos/libSTARK/algebra/algebralib/headers -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT/src -c -o "/Users/justin/Desktop/repos/libSTARK/bin/libstark/obj/src/languages/Bair/ConstraintsSys.o" "src/languages/Bair/ConstraintsSys.cpp"

make: *** Waiting for unfinished jobs....
g++ -O3 -g -Wall -fmessage-length=0 -fopenmp -mavx -maes -mtune=native -mpclmul -std=c++14 -mpclmul -Isrc -c -o "/Users/justin/Desktop/repos/libSTARK/bin/fft/src/Element.o" "src/Element.cpp"
g++ -O3 -g -Wall -fmessage-length=0 -fopenmp -mavx -maes -mtune=native -std=c++14 -Isrc -I/Users/justin/Desktop/repos/libSTARK/algebra/algebralib/headers -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT/src -c -o "/Users/justin/Desktop/repos/libSTARK/bin/libstark/obj/src/languages/Bair/BairWitnessChecker.o" "src/languages/Bair/BairWitnessChecker.cpp"
make[1]: *** [/Users/justin/Desktop/repos/libSTARK/bin/fft/src/Definitions.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/Users/justin/Desktop/repos/libSTARK/bin/fft/src/Basis.o] Error 1
g++ -O3 -g -Wall -fmessage-length=0 -fopenmp -mavx -maes -mtune=native -std=c++14 -Isrc -I/Users/justin/Desktop/repos/libSTARK/algebra/algebralib/headers -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT/src -c -o "/Users/justin/Desktop/repos/libSTARK/bin/libstark/obj/src/common/Utils/specsPrint.o" "src/common/Utils/specsPrint.cpp"
g++ -O3 -g -Wall -fmessage-length=0 -fopenmp -mavx -maes -mtune=native -std=c++14 -Isrc -I/Users/justin/Desktop/repos/libSTARK/algebra/algebralib/headers -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT/src -c -o "/Users/justin/Desktop/repos/libSTARK/bin/libstark/obj/src/common/Utils/ErrorHandling.o" "src/common/Utils/ErrorHandling.cpp"
g++ -O3 -g -Wall -fmessage-length=0 -fopenmp -mavx -maes -mtune=native -std=c++14 -Isrc -I/Users/justin/Desktop/repos/libSTARK/algebra/algebralib/headers -I/Users/justin/Desktop/repos/libSTARK/algebra/FFT/src -c -o "/Users/justin/Desktop/repos/libSTARK/bin/libstark/obj/src/common/Utils/Timing.o" "src/common/Utils/Timing.cpp"
clang: error: unsupported option '-fopenmp'
clang: error: unsupported option '-fopenmp'
make[1]: *** [/Users/justin/Desktop/repos/libSTARK/bin/libstark/obj/src/common/Utils/ErrorHandling.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/Users/justin/Desktop/repos/libSTARK/bin/libstark/obj/src/languages/Bair/BairWitnessChecker.o] Error 1
clang: error: unsupported option '-fopenmp'
make[1]: *** [/Users/justin/Desktop/repos/libSTARK/bin/libstark/obj/src/languages/Bair/ConstraintsSys.o] Error 1
clang: error: unsupported option '-fopenmp'
clang: error: unsupported option '-fopenmp'
make[1]: *** [/Users/justin/Desktop/repos/libSTARK/bin/libstark/obj/src/common/Utils/specsPrint.o] Error 1
make[1]: *** [/Users/justin/Desktop/repos/libSTARK/bin/libstark/obj/src/common/Utils/Timing.o] Error 1
clang: error: unsupported option '-fopenmp'
clang: error: unsupported option '-fopenmp'
make[1]: *** [/Users/justin/Desktop/repos/libSTARK/bin/libstark/obj/src/languages/Acsp/AcspWitnessChecker.o] Error 1
make[1]: *** [/Users/justin/Desktop/repos/libSTARK/bin/algebralib/src/AffineSpace.o] Error 1
make: *** [libstark] Error 2
make: *** [algebralib] Error 2
clang: error: unsupported option '-fopenmp'
make[1]: *** [/Users/justin/Desktop/repos/libSTARK/bin/fft/src/Element.o] Error 1
make: *** [fft] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions