Closed runlevel5 closed 6 months ago
I reckon it might be related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94929
As you might have known, there are many games ported to the SteamOS which currently uses GCC 8.3.0 for its v2 runtime pack. Therefore IMHO it would be great if openal-soft could be backward-compatible with GCC 8. I am more than happy to contribute workaround patches.
That bug report suggests it was fixed in GCC 8. I guess SteamOS can't update to a fixed version of 8?
Though if the issue is with using std::max
in alignas
specifically, it shouldn't be too much of a problem to work around. If other fixes are needed, I'd be fine with accepting them as long as they're not too invasive.
That bug report suggests it was fixed in GCC 8. I guess SteamOS can't update to a fixed version of 8?
The SteamOS v2 SDK uses Debian Jessie of which GCC is still on 8.3.0. I don't think I could convince Debian to bump GCC on that old version.
Though if the issue is with using std::max in alignas specifically, it shouldn't be too much of a problem to work around. If other fixes are needed, I'd be fine with accepting them as long as they're not too invasive.
I will make a new Pull Request
On second thought I think devs should move to the SteamOS RT v3 instead, I am not a big fan of introducing extra codes to handle edge cases of legacy compilers
OS: Debian 8.3.0 GCC: gcc (Debian 8.3.0-6) 8.3.0 OpenAL source code: master branch at commit 9ecf3d076c1dd184760a6a40bb6a349db0f09f12
Compile option:
I ran into following errors: