Bug 1901 - scourge x86_64 build fails because of a compiler segfault
Summary: scourge x86_64 build fails because of a compiler segfault
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL: http://pkgsubmit.mageia.org/uploads/f...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-23 18:31 CEST by José Jorge
Modified: 2011-06-28 22:21 CEST (History)
2 users (show)

See Also:
Source RPM: gcc
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.