FTBFS with GCC-11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glm (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Impish |
Won't Fix
|
High
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
* glm FTBFS using GCC 11, which makes it hard to apply any (security) updates in a timely manner.
[Test Plan]
* Check the Launchpad build logs to make sure that glm
0.9.9.8+ds-1ubuntu1 built successfully
* Attach build logs to this bug
[Where problems could occur]
* The build could still fail for some reason and we would be back to status quo.
[Other Info]
* This can be an impish 0-day SRU
* PPA pre-testing has been done here: https:/
=== Original Bug Description ===
Unit-tests are failing if built using GCC-11.
```
99% tests passed, 2 tests failed out of 188
Total Test time (real) = 3.86 sec
The following tests FAILED:
39 - test-core_
97 - test-ext_
```
test-ext_
If built with -Wall this warning shows up, which seems to be relevant:
cd /home/user/
/usr/bin/c++ -g -O2 -ffile-
In function ‘bitCount:
inlined from ‘bitCount:
inlined from ‘main’ at /home/user/
/home/user/
1442 | return bitCount_
| ~~~~~~~
/home/user/
/home/user/
1427 | static glm::vec<L, int, Q> bitCount_
| ^~~~~~~~~~~~~~~~~
/home/user/
1442 | return bitCount_
| ^~~~~~~
/home/user/
/home/user/
1306 | constexpr glm::vec1 const A = glm::abs(
| ^
/home/user/
1307 | constexpr glm::vec2 const B = glm::abs(
| ^
/home/user/
1308 | constexpr glm::vec3 const C = glm::abs(
| ^
/home/user/
1309 | constexpr glm::vec4 const D = glm::abs(
| ^
description: | updated |
tags: | removed: verification-needed |
Changed in glm (Ubuntu Impish): | |
importance: | Undecided → High |
Changed in glm (Ubuntu Jammy): | |
importance: | Undecided → High |
Hello Lukas, or anyone else affected,
Accepted glm into impish-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ glm/0.9. 9.8+ds- 1ubuntu1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification- needed- impish to verification- done-impish. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- impish. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.