Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76331 - -O3 and vim on ppc64 sigsegvs
Summary: -O3 and vim on ppc64 sigsegvs
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 All
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-01 11:55 UTC by Tom Gall (RETIRED)
Modified: 2005-01-02 07: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 Tom Gall (RETIRED) gentoo-dev 2005-01-01 11:55:38 UTC
Something in VIM when it's built with -O3 is corrupting the stack such that when vim is exiting,  the application will sigsegv.

It's a harmless sigsegv as it turns out as vim is already off the stack and glibc is just cleaning up. 

I haven't narrowed it down with gdb (as stack corruption is a total PITA to track in this case) but it turns out building VIM with -O2 or less and there aren't any problems.

This is specific to VIM too as no other application in the ppc64 universe exhibits this problem. 

This bug documents a request to catch those that have -O3 set in their CFLAGS and politely turn it down to -O2.

Regards,

tgall_foo (gentoo-ppc64 team lead)
Comment 1 Ciaran McCreesh 2005-01-01 14:56:02 UTC
In vim.eclass, r1.87. Thanks.
Comment 2 Markus Rothe (RETIRED) gentoo-dev 2005-01-02 07:07:38 UTC
thx! closing