MMU_timing.h: In instantiation of ‘class CacheController<13, 2, 5>’: MMU_timing.h:253:26: required from here MMU_timing.h:158:28: error: left operand of shift expression ‘(-1 << 11)’ is negative [-fpermissive] enum { TAGMASK = (u32)(~0 << TAGSHIFT) }; ~~~~^~~~~~~~~~~~ ----------------------------------------------------------------- This is an unstable amd64 chroot image (named plasma-abi32+64_20170309-193709) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * llvm-config: 3.9.1 Available Python interpreters, in order of preference: [1] python3.4 [2] python3.6 (fallback) [3] python2.7 (fallback) [4] jython2.7 (fallback) Available Ruby profiles: [1] ruby21 (with Rubygems) * java-config: The following VMs are available for generation-2: 1) IcedTea JDK 7.2.6.9 [icedtea-7] *) IcedTea JDK 7.2.6.9 [icedtea-bin-7] 3) IcedTea JDK 3.3.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-7 [2] icedtea-bin-7 system-vm [3] icedtea-bin-8
Created attachment 467354 [details] emerge-info.txt
Created attachment 467356 [details] config.log.tbz2
Created attachment 467358 [details] emerge-history.txt
Created attachment 467360 [details] environment
Created attachment 467362 [details] etc.portage.tbz2
Created attachment 467364 [details] games-emulation:desmume-0.9.11-r1:20170317-141523.log
Created attachment 467366 [details] temp.tbz2
Fixed upsteam: https://github.com/TASVideos/desmume/commit/d6677ef42fee4f9ef6885ca627766debb0ed4ffc
Created attachment 469446 [details, diff] Patch for desmume-0.9.11 Hello, The attached patch fixes this error, two more (abs() one and ""__VA_ARGS__ one) and fixes questionable code that produced warnings for me while compiling under gcc-6.2.0. I think you should be able to integrate it into the ebuild.
commit 7cfe950605746b9a832efda51bc1562e0ddaf338 Author: Peter-Levine <plevine457@gmail.com> Date: Sat May 6 14:01:45 2017 -0400 games-emulation/desmume: Fix building with GCC-6 Bug: https://bugs.gentoo.org/show_bug.cgi?id=612940