Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154450 - freeciv segfaults during compile with -ftree-vectorize
Summary: freeciv segfaults during compile with -ftree-vectorize
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 154451 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-08 03:24 UTC by Jukka Ruohonen
Modified: 2006-12-18 06:07 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 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.