Skip to content
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

OpenSSL: Fail to cross-compile to QNX #24968

Open
vineethabc opened this issue Aug 16, 2024 · 0 comments
Open

OpenSSL: Fail to cross-compile to QNX #24968

vineethabc opened this issue Aug 16, 2024 · 0 comments

Comments

@vineethabc
Copy link

          @franramirez688 ,

i am trying to cross compile openssl/3.1.3 for qnx i am getting the same issue mentioned in the starting.

LOG:
_cc: Can't specify -P, -C, -E, -c or -S with -o and have multiple files
Makefile:3177: recipe for target 'apps/lib/libapps-lib-app_rand.o' failed
make[1]: *** [apps/lib/libapps-lib-app_rand.o] Error 1
make[1]: *** Waiting for unfinished jobs....
cc: Can't specify -P, -C, -E, -c or -S with -o and have multiple files
Makefile:3185: recipe for target 'apps/lib/libapps-lib-app_x509.o' failed
make[1]: *** [apps/lib/libapps-lib-app_x509.o] Error 1
cc: Can't specify -P, -C, -E, -c or -S with -o and have multiple files
Makefile:3153: recipe for target 'apps/lib/libapps-lib-app_libctx.o' failed
make[1]: *** [apps/lib/libapps-lib-app_libctx.o] Error 1
cc: Can't specify -P, -C, -E, -c or -S with -o and have multiple files
Makefile:3161: recipe for target 'apps/lib/libapps-lib-app_params.o' failed
make[1]: *** [apps/lib/libapps-lib-app_params.o] Error 1
cc: Can't specify -P, -C, -E, -c or -S with -o and have multiple files
Makefile:3193: recipe for target 'apps/lib/libapps-lib-apps.o' failed
make[1]: *** [apps/lib/libapps-lib-apps.o] Error 1
cc: Can't specify -P, -C, -E, -c or -S with -o and have multiple files
Makefile:3169: recipe for target 'apps/lib/libapps-lib-app_provider.o' failed
make[1]: *** [apps/lib/libapps-lib-app_provider.o] Error 1
make[1]: Leaving directory '/home/user/.conan2/p/b/opens390ce1e45f839/b/src'
Makefile:2159: recipe for target 'build_sw' failed
make: *** [build_sw] Error 2

openssl/3.1.3: ERROR:
Package 'e334ef211f75fb83a80a4a82853ab4eb31937d6b' build failed
openssl/3.1.3: WARN: Build folder /home/user/.conan2/p/b/opens390ce1e45f839/b/build-release
ERROR: openssl/3.1.3: Error in build() method, line 533
self._make()
while calling '_make', line 525
self._run_make()
while calling 'run_make', line 502
self.run(" ".join(command), env="conanbuild")
ConanException: Error 2 while executing

##########################################
i am using conan 2.6.0
i have run the command " conan install openssl.txt --build=missing -pr:h=armv7.txt"

#############HoST profile: armv7.txt#####################
[settings]
arch=armv8.3
build_type=Release
compiler=qcc
compiler.cppstd=17
compiler.libcxx=cxx
compiler.version=8.3
os=Neutrino
os.version=7.1
[conf]
tools.cmake.cmaketoolchain:user_toolchain+=/home/user/WKSpace/Sample/myvars.cmake
[buildenv]
CC=/home/user/WKSpace/qnx710/host/linux/x86_64/usr/bin/qcc
CXX=/home/user/WKSpace/qnx710/host/linux/x86_64/usr/bin/q++
############openssl.txt#############
[requires]
openssl/3.1.3
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
##############BUILD profile: ##################
[settings]
arch=x86_64
build_type=Debug
compiler=gcc
compiler.cppstd=gnu14
compiler.libcxx=libstdc++11
compiler.version=7
os=Linux

Originally posted by @vineethabc in #20637 (comment)

@uilianries uilianries changed the title @franramirez688 , OpenSSL: Fail to cross-compile to QNX Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant