Gcc 9 defaults to -std=gnu11 which change the behavior of the "inline" keyword. (https://stackoverflow.com/questions/19068705/undefined-reference-when-calling-inline-function) This change prevents generator from linking. Please find the build logs and a patch that correct the compilation in attachment. Reproducible: Always Steps to Reproduce: 1.emerge generator (with gcc >= 9) Actual Results: x86_64-pc-linux-gnu/bin/ld: vdp.o: in function `vdp_layer_simple': vdp.c:(.text+0x2ce2): undefined reference to `vdp_plotcell' Expected Results: Compiling :) I tried to use de macro patched in generator-0.35_p4-inline.patch but I had syntax errors. So I used the keyword 'static' instead. If I understand correctly it should do what the original code intented to. Feel free to correct/adapt the proposed patch.
Created attachment 594582 [details] build.log
Created attachment 594584 [details] emerge --info
Created attachment 594586 [details, diff] proposed patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6f075cae0bd3a804fffb076fc803180830f4e03 commit b6f075cae0bd3a804fffb076fc803180830f4e03 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-10-31 07:52:07 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-10-31 07:52:19 +0000 games-emulation/generator: tweak for gcc-9 Fixed-by: kleph Closes: https://bugs.gentoo.org/698944 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> .../generator/files/generator-0.35_p4-gcc-9.patch | 22 ++++++++++++++++++++++ .../generator/generator-0.35_p4-r1.ebuild | 16 +++++++--------- 2 files changed, 29 insertions(+), 9 deletions(-)