Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270165 - neverball-1.5.0 or greater broken on system without SSE
Summary: neverball-1.5.0 or greater broken on system without SSE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-17 11:21 UTC by Darren Smith
Modified: 2009-05-18 02:52 UTC (History)
0 users

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


Attachments
Patch the ebuild to fix the Makefile (neverball-1.5.0.ebuild.patch,354 bytes, patch)
2009-05-18 01:43 UTC, Darren Smith
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darren Smith 2009-05-17 11:21:27 UTC
The ebuild for neverball version 1.5.0 does the following:
  sed -i -e 's:-O2:$(E_CFLAGS):' -e "/^MAPC_TARG/s/mapc/${PN}-mapc/" Makefile || die "sed failed"

This causes it to fail on my system which does not have SSE:
i586-pc-linux-gnu-gcc -Wall -ansi -pedantic -msse -mfpmath=sse -march=native -O3 -pipe -fomit-frame-pointer -o neverball-mapc share/vec3.o share/base_image.o share/solid.o share/binary.o share/base_config.o share/mapc.o -Wl,-O1 -ljpeg -lpng12
./neverball-mapc data/map-mym2/runstop.map data
make: *** [data/map-mym2/runstop.sol] Illegal instruction

I see that neverball 1.4.0 did that substitution with "-O3" instead of "-O2" which works for me since my CFLAGS are set to -O2.

Reproducible: Always

Steps to Reproduce:
1. emerge -u neverball
Comment 1 Darren Smith 2009-05-18 01:43:11 UTC
Created attachment 191604 [details, diff]
Patch the ebuild to fix the Makefile
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2009-05-18 02:52:52 UTC
That's worked around in neverball-1.5.1.ebuild