[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
https://bugzilla.novell.com/show_bug.cgi?id=734753
https://bugzilla.novell.com/show_bug.cgi?id=734753#c1
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=734753
https://bugzilla.novell.com/show_bug.cgi?id=734753#c2
--- Comment #2 from Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=734753
https://bugzilla.novell.com/show_bug.cgi?id=734753#c4
--- Comment #4 from Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=734753
https://bugzilla.novell.com/show_bug.cgi?id=734753#c5
Li Bin
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
https://bugzilla.novell.com/show_bug.cgi?id=734753
https://bugzilla.novell.com/show_bug.cgi?id=734753#c7
--- Comment #7 from Li Bin
https://bugzilla.novell.com/show_bug.cgi?id=734753
https://bugzilla.novell.com/show_bug.cgi?id=734753#c8
--- Comment #8 from Ismail Donmez
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
https://bugzilla.novell.com/show_bug.cgi?id=734753
https://bugzilla.novell.com/show_bug.cgi?id=734753#c10
--- Comment #10 from Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=734753
https://bugzilla.novell.com/show_bug.cgi?id=734753#c11
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=734753
https://bugzilla.novell.com/show_bug.cgi?id=734753#c12
--- Comment #12 from Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=734753
https://bugzilla.novell.com/show_bug.cgi?id=734753#c13
--- Comment #13 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=734753
https://bugzilla.novell.com/show_bug.cgi?id=734753#c14
--- Comment #14 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=734753
https://bugzilla.novell.com/show_bug.cgi?id=734753#c15
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=734753
https://bugzilla.novell.com/show_bug.cgi?id=734753#c
Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=734753
https://bugzilla.novell.com/show_bug.cgi?id=734753#c16
Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=734753
https://bugzilla.novell.com/show_bug.cgi?id=734753#c17
Benjamin Brunner
participants (1)
-
bugzilla_noreply@novell.com