Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 154450

Summary: freeciv segfaults during compile with -ftree-vectorize
Product: Gentoo Linux Reporter: Jukka Ruohonen <drear>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED INVALID    
Severity: normal CC: rich0
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jukka Ruohonen 2006-11-08 03:24:05 UTC
Games-strategy/freeciv-2.0.8-r2 segfaults when compiled with -ftree-vectorize. Tested only with amd64 but other platforms might be affected too.

1. Steps to reproduce: add -ftree-vectorize to CFLAGS.
2. Suggested solution: a flag strip for ftree-vectorize.

As this is easy to reproduce, I added no preprocessed source nor emerge --info.
Comment 1 Tristan Heaven (RETIRED) gentoo-dev 2006-11-08 03:28:13 UTC
*** Bug 154451 has been marked as a duplicate of this bug. ***
Comment 2 Tristan Heaven (RETIRED) gentoo-dev 2006-11-28 09:00:14 UTC
Just be sensible and use "-O2 -march=k8 -pipe" if you want things to work.
Comment 3 Jukka Ruohonen 2006-11-28 10:40:02 UTC
Yes: I agree, while being mostly sensible, too. Just thought it could be to some minor degree useful to note about unsafe/unreasonable flags (though bugzilla is not the best place, at least when appended with non-trivial severity).
Comment 4 Richard Freeman gentoo-dev 2006-12-18 06:07:48 UTC
This bug still appears to exist - any chance of getting the flag stripped?

Obviously having no CFLAGS will always tend to result in fewer bugs, but it would be nice if things like this could be left open so that they get resolved the next time the ebuild gets bumped for whatever reason.