Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145389 - games-sports/xmoto-0.2.0 dies right after start
Summary: games-sports/xmoto-0.2.0 dies right after start
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-28 11:36 UTC by Piotr Szymaniak
Modified: 2010-01-06 18:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Szymaniak 2006-08-28 11:36:09 UTC
~ $ eix -s xmoto
* games-sports/xmoto 
     Available versions:  0.2.0
     Installed:           0.2.0
     Homepage:            http://xmoto.sourceforge.net/
     Description:         A challenging 2D motocross platform game


~ $ xmoto
terminate called after throwing an instance of 'vapp::Exception'
Aborted


~ $ cat xmoto.log 
User directory: /home/malpa/.xmoto
Data directory: /usr/share/games/xmoto
Initializing binary data package...

** Warning ** : failed to load or parse user configuration 'config.dat'
GL: GeForce2 MX/AGP (NVIDIA Corporation)
GL: using ARB_vertex_buffer_object
GL: not using EXT_framebuffer_object
GL: not using ARB_fragment_shader/ARB_vertex_shader/ARB_shader_objects

emerge --info:
http://www.lawka.waw.pl/~lazy_bum/gentoo/error/emergeinfo
Comment 1 Piotr Szymaniak 2006-09-09 07:33:34 UTC
Some flag-change solves the problem.

CFLAGS/CXXFLAGS: from "-OS" to "-O2"
LDFLAGS: removed
MAKEOPTS: removed "-s"

emerge --info is now here:
http://mlodyinteligent.pl/~lazy_bum/gentoo/error/emergeinfo
Comment 2 Tristan Heaven (RETIRED) gentoo-dev 2006-09-12 04:15:47 UTC
works with gcc 4.1.1?
Comment 3 Piotr Szymaniak 2006-09-12 08:43:51 UTC
(In reply to comment #2)
> works with gcc 4.1.1?

Yes, it works fine on my second Gentoo box.
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-09-12 13:03:29 UTC
what flag exactly is causing the problem?
Comment 5 Piotr Szymaniak 2006-09-12 14:10:04 UTC
(In reply to comment #1)
> Some flag-change solves the problem.
> 
> CFLAGS/CXXFLAGS: from "-OS" to "-O2"

Looks like '-OS' causes the problem. Changed the rest of flags like in emerge --info, re-emerged the package and it works.

emerge --info (cut):
CFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2 -s"
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-13 10:59:50 UTC
-OS or -Os?
Comment 7 Piotr Szymaniak 2006-09-14 00:02:29 UTC
(In reply to comment #6)
> -OS or -Os?

It's -Os, as in the emerge --info
(link update):
http://mlodyinteligent.pl/~lazy_bum/gentoo/error/emergeinfo
Comment 8 Stefan Schweizer (RETIRED) gentoo-dev 2006-10-02 05:33:08 UTC
does this still happen with 0.2.1? I tried to build with -Os myself and cannot reproduce the problem.
Comment 9 Tristan Heaven (RETIRED) gentoo-dev 2006-10-02 06:47:22 UTC
(In reply to comment #8)
> does this still happen with 0.2.1? I tried to build with -Os myself and cannot
> reproduce the problem.

Probably fixed in gcc 4.1
Comment 10 Stefan Schweizer (RETIRED) gentoo-dev 2006-11-17 14:59:11 UTC
Closing as needinfo. Please reopen when it also happens with gcc-4.1. Thanks