Created attachment 678661 [details] build.log [...] g++ -I../include -Os -mcpu=7450 -pipe -c ../classes/tdesktop.cc -o obj/tdesktop.o ../classes/tdesktop.cc: In function 'unsigned int iSqr(unsigned int)': ../classes/tdesktop.cc:151:29: error: call of overloaded 'abs(unsigned int)' is ambiguous 151 | while( abs( res1 - res2 ) > 1 ) | ^ In file included from /usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/include/g++-v9/cstdlib:75, from /usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/include/g++-v9/stdlib.h:36, from ../classes/tdesktop.cc:16: /usr/include/stdlib.h:840:12: note: candidate: 'int abs(int)' 840 | extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; | ^~~ In file included from /usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/include/g++-v9/cstdlib:77, from /usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/include/g++-v9/stdlib.h:36, from ../classes/tdesktop.cc:16: /usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/include/g++-v9/bits/std_abs.h:79:3: note: candidate: 'constexpr long double std::abs(long double)' 79 | abs(long double __x) | ^~~ /usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/include/g++-v9/bits/std_abs.h:75:3: note: candidate: 'constexpr float std::abs(float)' 75 | abs(float __x) | ^~~ /usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/include/g++-v9/bits/std_abs.h:71:3: note: candidate: 'constexpr double std::abs(double)' 71 | abs(double __x) | ^~~ /usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/include/g++-v9/bits/std_abs.h:61:3: note: candidate: 'long long int std::abs(long long int)' 61 | abs(long long __x) { return __builtin_llabs (__x); } | ^~~ /usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/include/g++-v9/bits/std_abs.h:56:3: note: candidate: 'long int std::abs(long int)' 56 | abs(long __i) { return __builtin_labs(__i); } | ^~~ make[1]: *** [librhtv.umk:1134: obj/tdesktop.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-libs/tvision-2.1.0_pre2-r4/work/tvision/makes' make: *** [Makefile:27: static-lib] Error 2 * ERROR: dev-libs/tvision-2.1.0_pre2-r4::gentoo failed (compile phase):
Created attachment 678664 [details] emerge --info
Could you please try version 2.2.1.4? This looks like an issue we had before and was solved in the latest version, see bug #639492. I'm thinking of stabilizing 2.2.1.4 and drop the old 2.1.0.
Created attachment 678802 [details] build.log (2.2.1.4, ppc) Yes, 2.2.1.4 builds fine (again) on ppc.
(In reply to ernsteiswuerfel from comment #3) > Yes, 2.2.1.4 builds fine (again) on ppc. Thanks for testing. I'm going to look after the open linker related bugs for tvision and then stablereq the latest version and drop 2.1.0. Think that's a better solution than backporting the patch.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4be13fee7a71000d8306f7b2035a779e4d814c91 commit 4be13fee7a71000d8306f7b2035a779e4d814c91 Author: Bernd Waibel <waebbl-gentoo@posteo.net> AuthorDate: 2021-06-14 11:02:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-06-15 14:39:57 +0000 dev-libs/tvision: drop 2.1.0_pre2 Cleanup old Closes: https://bugs.gentoo.org/760576 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Signed-off-by: Sam James <sam@gentoo.org> dev-libs/tvision/Manifest | 1 - .../files/tvision-2.1.0_pre2-asneeded.patch | 45 ------- .../files/tvision-2.1.0_pre2-build-system.patch | 30 ----- .../tvision/files/tvision-2.1.0_pre2-flags.patch | 11 -- .../tvision/files/tvision-2.1.0_pre2-gcc41.patch | 11 -- .../tvision/files/tvision-2.1.0_pre2-gcc44.patch | 21 --- .../tvision/files/tvision-2.1.0_pre2-gcc6.patch | 147 --------------------- .../files/tvision-2.1.0_pre2-ldconfig.patch | 15 --- .../tvision/files/tvision-2.1.0_pre2-outb.patch | 41 ------ .../files/tvision-2.1.0_pre2-perl-INC.patch | 30 ----- .../files/tvision-2.1.0_pre2-underflow.patch | 14 -- dev-libs/tvision/tvision-2.1.0_pre2-r4.ebuild | 53 -------- 12 files changed, 419 deletions(-)