[Bug 734753] New: vim needs to be compiled with -D_FORTIFT_SOURCE=1
https://bugzilla.novell.com/show_bug.cgi?id=734753 https://bugzilla.novell.com/show_bug.cgi?id=734753#c0 Summary: vim needs to be compiled with -D_FORTIFT_SOURCE=1 Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEEDINFO Severity: Major Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: idonmez@suse.com QAContact: qa@suse.de InfoProvider: maintenance@opensuse.org Found By: --- Blocker: --- In 12.1 and before we compiled vim with -D_FORTIFY_SOURCE=2 which causes a crash as soon as someone try to use python functionality through vim, a simple testcase is :python print "hi" results in: Vim: Caught deadly signal ABRT Vim: Finished. I would like to do an update for 12.1 and if requested for 11.4 too. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734753 https://bugzilla.novell.com/show_bug.cgi?id=734753#c Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|vim needs to be compiled |vim needs to be compiled |with -D_FORTIFT_SOURCE=1 |with -D_FORTIFY_SOURCE=1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734753 https://bugzilla.novell.com/show_bug.cgi?id=734753#c1 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@suse.com --- Comment #1 from Marcus Meissner <meissner@suse.com> 2011-12-04 20:38:21 UTC --- Why not fix the bug instead? And what is the bug? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734753 https://bugzilla.novell.com/show_bug.cgi?id=734753#c2 --- Comment #2 from Ismail Donmez <idonmez@suse.com> 2011-12-04 20:43:30 UTC --- Bug is explained over at http://vim.1045645.n5.nabble.com/vim-7-2-245-segfaults-on-startup-with-glibc... seems to be a problem with eval.c, but I really don't know the technical details. Please note that vim's configure is already trying to override -D_FORTIFY_SOURCE=2 with -D_FORTIFY_SOURCE=1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734753 https://bugzilla.novell.com/show_bug.cgi?id=734753#c4 --- Comment #4 from Ismail Donmez <idonmez@suse.com> 2011-12-04 20:47:57 UTC --- Sorry for the duplicate comment, bugzilla is playing tricks on me. *sigh* -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734753 https://bugzilla.novell.com/show_bug.cgi?id=734753#c5 Li Bin <bili@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bili@suse.com --- Comment #5 from Li Bin <bili@suse.com> 2011-12-05 10:14:44 UTC --- (In reply to comment #1)
Why not fix the bug instead?
And what is the bug?
From the build log, I found the problem is that our CfLAGS used '-D_FORTIFY_SOURCE=2'. And vim's configure.in already change it to '-D_FORTIFY_SOURCE=1' with sed, but when building, it still use the '-D_FORTIFY_SOURCE=2'.
A little weird. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734753 https://bugzilla.novell.com/show_bug.cgi?id=734753#c6 --- Comment #6 from Ismail Donmez <idonmez@suse.com> 2011-12-05 10:16:43 UTC --- Yes vim expects -D_FORTIFY_SOURCE=1 , see the link in comment #2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734753 https://bugzilla.novell.com/show_bug.cgi?id=734753#c7 --- Comment #7 from Li Bin <bili@suse.com> 2011-12-05 10:28:06 UTC --- Marcus, Where we add below line when build? Thanks! + export 'CFLAGS=-fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe -fno-strict-aliasing' -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734753 https://bugzilla.novell.com/show_bug.cgi?id=734753#c8 --- Comment #8 from Ismail Donmez <idonmez@suse.com> 2011-12-05 10:30:59 UTC --- (In reply to comment #7)
Marcus,
Where we add below line when build? Thanks!
+ export 'CFLAGS=-fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe -fno-strict-aliasing'
Its the default CFLAGS. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734753 https://bugzilla.novell.com/show_bug.cgi?id=734753#c9 --- Comment #9 from Marcus Meissner <meissner@suse.com> 2011-12-05 10:32:13 UTC --- It is from %{optflags}. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734753 https://bugzilla.novell.com/show_bug.cgi?id=734753#c10 --- Comment #10 from Ismail Donmez <idonmez@suse.com> 2011-12-05 10:34:54 UTC --- FWIW I already changed this in editors/vim project, is this good to go given that this is the upstream default? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734753 https://bugzilla.novell.com/show_bug.cgi?id=734753#c11 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |idonmez@suse.com |ovo.novell.com | --- Comment #11 from Andreas Jaeger <aj@suse.com> 2011-12-06 14:39:55 UTC --- Ismail, please make yourself assignee of this and similar bugs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734753 https://bugzilla.novell.com/show_bug.cgi?id=734753#c12 --- Comment #12 from Ismail Donmez <idonmez@suse.com> 2011-12-09 11:16:58 UTC --- Mr. Maintainance, ok for online update for 12.1? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734753 https://bugzilla.novell.com/show_bug.cgi?id=734753#c13 --- Comment #13 from Marcus Meissner <meissner@suse.com> 2011-12-09 19:39:05 UTC --- Yes. feel free to submitreq against openSUSE:12.1:Update:Test. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734753 https://bugzilla.novell.com/show_bug.cgi?id=734753#c14 --- Comment #14 from Bernhard Wiedemann <bwiedemann@suse.com> 2011-12-11 19:00:07 CET --- This is an autogenerated message for OBS integration: This bug (734753) was mentioned in https://build.opensuse.org/request/show/96275 12.1 / vim -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734753 https://bugzilla.novell.com/show_bug.cgi?id=734753#c15 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|maintenance@opensuse.org | --- Comment #15 from Benjamin Brunner <bbrunner@suse.com> 2011-12-12 18:41:50 CET --- Started an update. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734753 https://bugzilla.novell.com/show_bug.cgi?id=734753#c Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734753 https://bugzilla.novell.com/show_bug.cgi?id=734753#c16 Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |bbrunner@suse.com --- Comment #16 from Ismail Donmez <idonmez@suse.com> 2012-07-03 10:55:39 UTC --- Forgot to close the bug as fixed? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734753 https://bugzilla.novell.com/show_bug.cgi?id=734753#c17 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|bbrunner@suse.com | Resolution| |FIXED --- Comment #17 from Benjamin Brunner <bbrunner@suse.com> 2012-07-03 13:10:11 CEST --- The update is already released and the bug can be closed as resolved fixed. Thanks for reminding. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com