-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[package] boost/1.79.0: CXX not picked up from buildenv after recent update #15211
Comments
|
Thanks @SpaceIm for the help on that. I was previously populating Will detail what I found and how I fixed it here in case someone else runs into this issue: So I updated CXX to just be the compiler which gets rid of the command not found error. Also moved the flags to
Looking into
To resolve this I also filled in the My final profile which ended up resolving this issue was:
|
Description
Previously I was setting CXX with the cross-compiler I'm using in the
buildenv
section of the profile; however, that has stopped working since this PR was merged: #14776. Now it cannot find the cross-compiler binary location (yields acan not find user-provided command
error). Is this potentially a PATH issues with the switch to VirtualBuildEnv?Is there a new way that I should be passing in the cross-compiler now instead?
Package and Environment Details
Conan profile
Build profile:
[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=10
compiler.libcxx=libstdc++11
build_type=Release
[options]
[build_requires]
[env]
Host Profile:
[settings]
os_build=Linux
arch_build=x86_64
os=Linux
arch=armv8
compiler=gcc
compiler.version=10
compiler.libcxx=libstdc++11
build_type=Release
[buildenv]
AR=aarch64-poky-linux-gcc-ar
RANLIB=aarch64-poky-linux-gcc-ranlib
CXX=aarch64-poky-linux-g++ -mcpu=cortex-a53 -march=armv8-a+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/workdir/kas-xilinx/build/tmp/work/cortexa53-poky-linux/python3-custom-pkg/1.0.3-r0/recipe-sysroot
CPPFLAGS=
ASFLAGS=
[options]
boost:without_stacktrace=True
sentry-native:backend=none
Steps to reproduce
conan install . --profile:host=host_profile --profile:build=default --build=missing
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: