Coder Social home page Coder Social logo

Parsec 1.1RC2 build fails on Macos about parsec HOT 2 OPEN

anta5010 avatar anta5010 commented on August 17, 2024
Parsec 1.1RC2 build fails on Macos

from parsec.

Comments (2)

anta5010 avatar anta5010 commented on August 17, 2024

The same issue is seen when building Parsec 1.0.0 on Macos.
But, no issues when Parsec 1.1.0RC2 built in an Ubuntu 22.04 container with clang 14.0
So, it looks like Macos only issue

from parsec.

anta5010 avatar anta5010 commented on August 17, 2024

I've got a similar issue when tried to build parsec in Yocto with clang 15.0.2 and musl instead of libgc:

|   running: "cmake" "/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/cargo_home/bitbake/psa-crypto-sys-0.9.3/./vendor" "-DENABLE_PROGRAMS=OFF" "-DENABLE_TESTING=OFF" "-DCMAKE_INSTALL_PREFIX=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/build/target/aarch64-poky-linux-musl/release/build/psa-crypto-sys-473c732ebd60b788/out" "-DCMAKE_C_FLAGS= -I/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/build/target/aarch64-poky-linux-musl/release/build/psa-crypto-sys-473c732ebd60b788/out -DMBEDTLS_CONFIG_FILE=\'<config.h>\' -ffunction-sections -fdata-sections -fPIC -pipe -feliminate-unused-debug-types -fmacro-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/git=/usr/src/debug/parsec-service/1.1.0-r0 -fdebug-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/git=/usr/src/debug/parsec-service/1.1.0-r0 -fmacro-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/build=/usr/src/debug/parsec-service/1.1.0-r0 -fdebug-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/build=/usr/src/debug/parsec-service/1.1.0-r0 -fdebug-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/recipe-sysroot= -fmacro-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/recipe-sysroot= -fdebug-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/recipe-sysroot-native=" "-DCMAKE_C_COMPILER=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/wrapper/target-rust-cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -pipe -feliminate-unused-debug-types -fmacro-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/git=/usr/src/debug/parsec-service/1.1.0-r0 -fdebug-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/git=/usr/src/debug/parsec-service/1.1.0-r0 -fmacro-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/build=/usr/src/debug/parsec-service/1.1.0-r0 -fdebug-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/build=/usr/src/debug/parsec-service/1.1.0-r0 -fdebug-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/recipe-sysroot= -fmacro-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/recipe-sysroot= -fdebug-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/recipe-sysroot-native= -fvisibility-inlines-hidden" "-DCMAKE_CXX_COMPILER=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/wrapper/target-rust-cxx" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -pipe -feliminate-unused-debug-types -fmacro-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/git=/usr/src/debug/parsec-service/1.1.0-r0 -fdebug-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/git=/usr/src/debug/parsec-service/1.1.0-r0 -fmacro-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/build=/usr/src/debug/parsec-service/1.1.0-r0 -fdebug-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/build=/usr/src/debug/parsec-service/1.1.0-r0 -fdebug-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/recipe-sysroot= -fmacro-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/recipe-sysroot= -fdebug-prefix-map=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/recipe-sysroot-native=" "-DCMAKE_ASM_COMPILER=/data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/wrapper/target-rust-cc" "-DCMAKE_BUILD_TYPE=Release"
|   -- The C compiler identification is Clang 15.0.2
|   -- Detecting C compiler ABI info
|   -- Detecting C compiler ABI info - done
|   -- Check for working C compiler: /data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/wrapper/target-rust-cc - skipped
|   -- Detecting C compile features
|   -- Detecting C compile features - done
|   -- Found Python3: /data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3.10 (found version "3.10.6") found components: Interpreter
|   -- Configuring done
|   -- Generating done
|   -- Build files have been written to: /data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/build/target/aarch64-poky-linux-musl/release/build/psa-crypto-sys-473c732ebd60b788/out/build
|   running: "cmake" "--build" "." "--target" "install" "--config" "Release" "--"
|   [  1%] Building C object library/CMakeFiles/mbedcrypto.dir/aes.c.o
|   [  2%] Building C object library/CMakeFiles/mbedcrypto.dir/aesni.c.o
|   [  3%] Building C object library/CMakeFiles/mbedcrypto.dir/aria.c.o
|   [  4%] Building C object library/CMakeFiles/mbedcrypto.dir/asn1parse.c.o
|   [  5%] Building C object library/CMakeFiles/mbedcrypto.dir/asn1write.c.o
|   [  6%] Building C object library/CMakeFiles/mbedcrypto.dir/base64.c.o
|   [  7%] Building C object library/CMakeFiles/mbedcrypto.dir/bignum.c.o
|   [  8%] Building C object library/CMakeFiles/mbedcrypto.dir/camellia.c.o
|   [ 10%] Building C object library/CMakeFiles/mbedcrypto.dir/ccm.c.o
|
|   --- stderr
|   CMake Warning:
|     Manually-specified variables were not used by the project:
|
|       CMAKE_ASM_COMPILER
|       CMAKE_ASM_FLAGS
|       CMAKE_CXX_COMPILER
|       CMAKE_CXX_FLAGS
|
|
|   /data/shared/yocto/poky/build/tmp/work/cortexa57-poky-linux-musl/parsec-service/1.1.0-r0/cargo_home/bitbake/psa-crypto-sys-0.9.3/vendor/library/bignum.c:1650:29: error: variable 't' set but not used [-Werror,-Wunused-but-set-variable]
|       mbedtls_mpi_uint c = 0, t = 0;
|                               ^
|   1 error generated.
|   make[2]: *** [library/CMakeFiles/mbedcrypto.dir/build.make:160: library/CMakeFiles/mbedcrypto.dir/bignum.c.o] Error 1
|   make[2]: *** Waiting for unfinished jobs....
|   make[1]: *** [CMakeFiles/Makefile2:166: library/CMakeFiles/mbedcrypto.dir/all] Error 2
|   make: *** [Makefile:136: all] Error 2
|   thread 'main' panicked at '
|   command did not execute successfully, got: exit status: 2

from parsec.

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.