Comments (3)
Hi @dsche - thank you for reporting this.
Please bear in mind that Conan 1.x is no longer actively maintained, although we would only look at critical bug fixes. It would be good to see if this also happens using the CMakeDeps
generator, rather than the legacy unsupported ones.
On the other hand, Conan works under the assumption that the qcc
frontend is invoked, as recommended by the QNX SDK documentation: https://www.qnx.com/developers/docs/8.0/com.qnx.doc.neutrino.utilities/topic/g/gcc.html - that does not recommend invoking the gcc executables directly. My recommendation would be to follow the recommended approach in the documentation, and invoke qcc
with the relevant -V
to specify your desired target.
if you really need to completely bypass the qcc
frontend, assuming you take care of all the things that the frontend would otherwise take care of for you, you could perhaps try changing compiler=qcc
to compiler=gcc
in the profile, as that more accurately reflects that's happening (the os
is still Neutrino).
from conan.
Hi @jcar87 , thanks for the quick reply! Some comments on that:
- The issue persists also in Conan 2.x.
- It is possible to circumvent it by hacking the recipe eg via
cmake.blocks.remove("libcxx")
. It might do something awful to our build, but for now it seems to work. - AFAIK switching the compiler would trigger the change to all the dependencies, which is not what we want
from conan.
I'm not sure I would consider this a bug, since we are abiding to the QNX documentation recommendations, and by expressing qcc
as the compiler, then I think it makes sense for Conan to assume that it is actually the qcc
frontend rather than gcc
.
Is there any specific reason why gcc -V[targetname]
is not a valid solution, rather than resorting to invoking the gcc frontend directly? There may be a case to raise an issue with QNX support.
from conan.
Related Issues (20)
- [bug] tool required (cmake) cannot find its modules HOT 6
- [question] why tool_required installs cmake as package while it is installed in the system? HOT 1
- [bug] lock file let create fail HOT 5
- [question] Is it possible to override build requirements for dependencies through recipe? HOT 5
- [question] meson cross-build HOT 8
- [feature] CMakeToolchain: add a variable with all runtime library directories
- [bug] transitive dependencies headers and libs are not propagated HOT 6
- [question] When will Conan 1.x go EOL? HOT 2
- [question] What is the best way to create a lockfile for a multi-platform CI/CD pipeline? HOT 4
- [question] copy gives plain AssertionError in generate() HOT 2
- [bug] conan graph explain when there are no binaries to compare to
- [question] About 'package_folder' of editable packages. HOT 3
- [question] Regarding user defined cmake toolchain files in addition to profiles HOT 6
- [question] Get all licenses for dependencies HOT 4
- [question] How do I get conan's build(self) step to use the environment set by tool_requires? HOT 2
- [bug] Documentation for 'Packages lists' has misleading/incorrect instructions. HOT 6
- [question] how to make Conan use the correct recipe revision for a dependency, based on that dependency's options? HOT 4
- [question] Failed to test a prebuilt binaries package HOT 8
- Linking dynamic libraries HOT 1
- [bug] Problem with ``parse_musl_libc`` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conan.