Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110643 - kdegames-3.4.3 build with GCC 4.0
Summary: kdegames-3.4.3 build with GCC 4.0
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-27 13:43 UTC by Igor V. Kovalenko
Modified: 2005-10-27 16:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to comment out offending blocker function (kdegames-3.4.3-gcc4.patch,440 bytes, patch)
2005-10-27 13:47 UTC, Igor V. Kovalenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Igor V. Kovalenko 2005-10-27 13:43:57 UTC
kdegames-3.4.3 cannot be compiled with GCC 4.0

Reproducible: Always
Steps to Reproduce:
1. Have gcc-4.0.x the default compiler
2. emerge kdegames (from KDE 3.4.3)

Actual Results:  
build failed

Expected Results:  
emerge succeeded

It's clearly a problem with kdegames package - unused (template) function does
not compile with modern GCC release.
Comment 1 Igor V. Kovalenko 2005-10-27 13:47:57 UTC
Created attachment 71587 [details, diff]
Patch to comment out offending blocker function

with this patch applied kdegames-3.4.3 can be installed with GCC 4.0
Comment 2 SpanKY gentoo-dev 2005-10-27 13:51:38 UTC
Comment on attachment 71587 [details, diff]
Patch to comment out offending blocker function

patch is a hack, not a fix
Comment 3 Igor V. Kovalenko 2005-10-27 13:59:07 UTC
I think that patch is OK to get kdegames package into the system.
Previous compilers just skipped template function instantiation and do not have
this problem. The atlantik/libatlantic/trade.h should be fixed upstream.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-27 14:25:35 UTC
Submit them upstream if you want, bug KDE 3.5 should be GCC4-clear.  
And being GCC4 experimental, I don't really think it's the case to add patches  
over that.  
  
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2005-10-27 16:52:24 UTC
^^