Bug 1901

Summary: scourge x86_64 build fails because of a compiler segfault
Product: Mageia Reporter: José Jorge <lists.jjorge>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: cjw, makowski.mageia
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
URL: http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20110622075842.philippem.valstar.30809/log/botcmd.1308730266.ecosse.log
Whiteboard:
Source RPM: gcc CVE:
Status comment:

Description José Jorge 2011-06-23 18:31:53 CEST
Description of problem:
A compiler error happens build the scourge SRPM for x86_64. It builds successfully in i586.

Message :

constants.cpp: In static member function 'static void Constants::generateTrigTables()':
constants.cpp:749:6: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.mageia.org/> for instructions.


How reproducible:
Always, in x86_64. A link to the last attempted build log is provided.

Steps to Reproduce:
1.mgarepo co scourge
2.rpmbuild scourge
3.fails!
Christiaan Welvaart 2011-06-26 22:46:43 CEST

CC: (none) => cjw

Comment 1 Philippe Makowski 2011-06-27 10:09:05 CEST
seems that Gentoo have a patch for that :
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/games-roguelike/scourge/ChangeLog?view=markup

and the bug report with the patch :
https://bugs.gentoo.org/show_bug.cgi?id=336603

CC: (none) => makowski.mageia

Comment 2 José Jorge 2011-06-28 22:21:36 CEST
A less optimized build works with some patches :

http://svnweb.mageia.org/packages/cauldron/scourge/current/SPECS/scourge.spec?r1=111758&r2=115498

Status: NEW => RESOLVED
Resolution: (none) => FIXED