question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[bug] Is gcc 12.1, 12.2 missing?

See original GitHub issue

Screenshot 2022-10-06 at 14 36 49

While creating a custom settings.yml file I noticed that the support for current gcc versions 12.1, 12.2 might be missing.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
memshardedcommented, Nov 7, 2022

Hi @IceflowRE

What? This settings compiler version check are so messy, it is always breaking the CIs. Always. I do not want to update the version manually everytime a new compiler version is out.

It is not necessary to update the version manually in every Conan instance, it should be updated (while Conan does not update it) in one settings.yml file and use it everywhere with conan config install. Using your own profiles and distributing them with conan config install is the recommended way for production anyway. Using a new compiler version typically includes installing the compiler in the machines (developers and CI agents), and updating or adding a new profile with the new compiler version.

I need an option to skip those checks on my own risk or conan updates asap.

It is not possible to skip this check, it is very deep in Conan, it is not just one simple place that “validates” the value, but it is very hardcoded inside the settings model, how assignment, comparison, “contains”, etc. are computed. This was done this way, because as the settings are part of the package_id, it is very important to have a well defined set of values, otherwise the mismatches for package_id are a much bigger pain.

I am very sorry that we didn’t manage to add this for 1.54, we are absolutely swamped at the moment. This is why I labeled it as “PR welcome”, thinking that if it was important enough for someone, they could put some time to contribute it.

But looking at Conan 2.0, it does not seem to be viable to implement it tho. Is there already an release date range?

Conan 2.0 does not change this behavior of Conan, the settings values will still be equally restricted. The release date is still not fully defined for the same reason, it is difficult to estimate with the huge load of work to do. Hopefully before the end of the year.

2reactions
memshardedcommented, Nov 2, 2022

This is not a blocker, moving it to 1.55. Recall that you can add your own settings to settings.yml and also automate it with conan config install

Read more comments on GitHub >

github_iconTop Results From Across the Web

GCC 12 Release Series — Changes, New Features, and Fixes
GCC 12.2. This is the list of problem reports (PRs) from GCC's bug tracking system that are known to be fixed in the...
Read more >
Bug#1025928: gcc-12: Missing changelog entry for 12.2.0-9.1
Source: gcc-12. Version: 12.2.0-9.1. Dear maintainer, I noticed that the debian/changelog entry for the 12.2.0-9.1 upload is missing from ...
Read more >
GCC 12.2 Released. Over 70 bug fixes. : r/linux - Reddit
One way to do that is to start with an assembler (which is reasonably easy to make from scratch if you need to),...
Read more >
Bug listing with status RESOLVED with resolution TEST ...
Bug :233 - "Emacs segfaults when merged through the sandbox. ... Bug:30399 - "Gcc failed to build" status:RESOLVED resolution:TEST-REQUEST severity:critical ...
Read more >
Clang linking error MacOS Big Sur | Apple Developer Forums
It seems like there is no GCC support in Big Sur (?). I get the same message when I try to build with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found