FS#37581 - [gcc] 4.8.2 reports internal compiler error when building DICE emulator v. 0.6

Attached to Project: Arch Linux
Opened by Tamara Macadam (megaminxwin) - Friday, 01 November 2013, 12:46 GMT
Last edited by Allan McRae (Allan) - Thursday, 28 November 2013, 05:03 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Allan McRae (Allan)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


GCC version 4.8.2 reports an internal compiler error when building the DICE emulator (http://sourceforge.net/projects/dice/). I'm pretty sure this isn't a bug in the emulator, as I've had it succeed before on other distros like Ubuntu.

Additional info:
* Package version: 4.8.2-3
* DICE version: 0.6
* Log file:
[tamara@tamara-arch dice.0.6.src]$ make
g++ -std=c++0x -Iphoenix -O3 `pkg-config --cflags QtCore QtGui` -DPHOENIX_QT -c main.cpp -o main.o
In file included from chip.h:7:0,
from chip_desc.h:6,
from circuit_desc.h:4,
from game_config.h:6,
from circuit.h:8,
from main.cpp:12:
cirque.h: In instantiation of ‘class cirque<Event>::index’:
chip.h:154:26: required from here
cirque.h:24:22: internal compiler error: unexpected expression ‘S’ of kind template_parm_index
unsigned int idx;
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
Makefile:64: recipe for target 'main.o' failed
make: *** [main.o] Error 1

Steps to reproduce:
1. Download DICE version 0.6.
2. Make sure everything is updated on your end.
3. make
4. See error. Get sad and confused.
This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 28 November 2013, 05:03 GMT
Reason for closing:  No response
Additional comments about closing:  Need to provide a reduced testcase or a PKGBUILD that builds using devtools.
Comment by Allan McRae (Allan) - Wednesday, 06 November 2013, 04:12 GMT
Can you provide a PKGBUILD for building DICE? I have no intention of figuring out their build system just to replicate this bug.
Comment by Tamara Macadam (megaminxwin) - Friday, 08 November 2013, 13:29 GMT
All I did was a quick make, mainly because there aren't any other directions, and there's no configure file...
Comment by Allan McRae (Allan) - Saturday, 09 November 2013, 01:02 GMT
and make fails here complaining about something to do with moc being incompatible.