Summary: | games-strategy/wesnoth-1.0.{1,2} fails on ppc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Florian E <Florian.Ermisch> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | ppc |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
errors from one of the first tries of emerging wesnoth
second set off errors+ last 20 lines of emerge log + emerge info third set, errors + emerge info, downgraded binutils to last stable fourth set of errors, trying different useflag combinations (dedicated/editor) a working combination of useflags errors and emerge info, testing dedicated&&editor errors + emerge info, useflags "-* dedicated editor" testing USE="-* dedicated editor" on wesnoth-1.0.1, emerge info + errors many many Out-of-Memory-killers |
Description
Florian E
2005-12-25 13:50:33 UTC
Created attachment 75516 [details]
errors from one of the first tries of emerging wesnoth
Created attachment 75517 [details]
second set off errors+ last 20 lines of emerge log + emerge info
Created attachment 75518 [details]
third set, errors + emerge info, downgraded binutils to last stable
Created attachment 75520 [details]
fourth set of errors, trying different useflag combinations (dedicated/editor)
Created attachment 75521 [details]
a working combination of useflags
Created attachment 75522 [details]
errors and emerge info, testing dedicated&&editor
Created attachment 75523 [details]
errors + emerge info, useflags "-* dedicated editor"
Created attachment 75524 [details]
testing USE="-* dedicated editor" on wesnoth-1.0.1, emerge info + errors
OK, I lost the track, somewhere I downgraded libsdl to the last stable too I'm sorry,but I'm feeling kinda sick, to much xmas-sweets ^^" Are you using a kernel with preempt enabled? Can you try disabling it if you do? nope, no preemp: # uname -a Linux i-do 2.6.15-rc5 #4 Mon Dec 5 19:56:56 CET 2005 ppc 7447A, altivec supported PowerBook6,5 GNU/Linux # ls -l /usr/src/linux lrwxrwxrwx 1 root root 16 23. Dez 19:25 /usr/src/linux -> linux-2.6.15-rc5 # grep PREEMP /usr/src/linux/.config CONFIG_PREEMPT_NONE=y # CONFIG_PREEMPT_VOLUNTARY is not set # CONFIG_PREEMPT is not set Any output from dmesg? I managed to emerge it with changing my CXXFLAGS from "-O2 -pipe -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing" to "-O1 -pipe -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing" with
# CXXFLAGS="-O1 -pipe -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing" emerge wesnoth
[...]
>>> games-strategy/wesnoth-1.0.2 merged.
[...]
# equery u wesnoth
[...]
U I
- - dedicated : Adds support for dedicated game servers (some packages do not provide clients and servers at the same time)
- - editor : Enable compilation editor
- - gnome : Adds GNOME support
- - kde : Adds support for kde-base/kde (K Desktop Enviroment)
- - lite : Lite install
+ + nls : Adds Native Language Support (using gettext - GNU locale utilities)
- - server : Enable compilation of server
- - tools : Enable compilation of translation tools
I played the tutorial and a campaign mission last night ^^
# CXXFLAGS="-O1 -pipe -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing" USE="editor server" emerge wesnoth
works too
it seems to me g++ produced incorrect code with the -O2 optimization set
should I track down the option of -O2 which causes the errors by setting CXXFLAGS to "-O1 {every single part of -O2} ..." and disabling one of them every try?
(In reply to comment #12) > Any output from dmesg? > ehmm... checked my logs... 2904 lines of oom-killers ^^"" I'll create an attachment Created attachment 75588 [details]
many many Out-of-Memory-killers
How much memory do you have? Swap? 768MB, no swap I think it's the first time I got an oom-killer and like I wrote, builds cleanly and works when changing -O2 to -O1 some memory managment prob in gcc..? |