pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GCC_REQD+= 12 ?(Re: games/openrct2 spins 99% CPU for hours



Thanks Greg.

Honestly speaking I did not notice c++20 was there already.
When I added
USE_CXX_FEATURES+= c++03, pkglint flaged me duplication, thanks rillig@

Again, I've not thought deeply. 
  games/openrct2 runs into 99 % spinning at some point, and understood
it was running with gcc10, so just tried using gcc12 and it runs OK.

Upstream does not seem to me any gcc requirement:
  https://github.com/OpenRCT2/OpenRCT2/blob/develop/readme.md
(I've just checked this URL, for the first time ;-(

gcc11 is not easy to me to test, just because we don't have it in pkgsrc
(right ?)

Anyway, there are some problems in this context.
When this package is compiled with gcc-10, based on the setting of
    USE_CXX_FEATURE+= c++20 (and with mk/compiler/gcc.mk):

it spins 99% at some point.
Is it because of
- cmake ?
- gcc-10 problem ?  (I think this is true)
- upstream code ?  (but OK with gcc-12)

I probably add GCC_REQD+= 12 with the comment.
(in pbulk, I do not have any CPU monitor other than my manual intervention,
so I have to check it if infinitely runs,
jperkin@ suggested some settings, but I don't remember it, sorry)
-- 
Makoto Fujiwara
mef%NetBSD.org@localhost
makoto%if.t.u-tokyo.ac.jp@localhost



Home | Main Index | Thread Index | Old Index