Mailinglist Archive: opensuse-packaging (249 mails)
| < Previous | Next > |
[opensuse-packaging] vim 7.3
- From: Sebastian Siebert <freespacer@xxxxxx>
- Date: Sun, 21 Nov 2010 08:53:41 +0100
- Message-id: <4CE8D005.4020100@xxxxxx>
Hi,
I create a branch from the obs://editors/vim in my home repository obs://home:Freespacer:branches:editors/vim
I want to update the version of vim 7.2 to 7.3. Some patches are obsolete and some others was renewed by me.
Now I get follow error message in the build log:
I: Statement is overflowing a buffer
E: vim bufferoverflow eval.c:21842:2
E: vim bufferoverflow eval.c:21863:5
I look for the lines from the compiler message and get these lines:
...
gcc -c -I. -Iproto -DHAVE_CONFIG_H -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wall -pipe -fno-strict-aliasing -fstack-protector-all -o objects/ex_getln.o ex_getln.c
In file included from /usr/include/string.h:640:0,
from os_unix.h:519,
from vim.h:265,
from eval.c:17:
In function 'strcpy',
inlined from 'call_user_func' at eval.c:21842:2:
/usr/include/bits/string3.h:107:3: warning: call to __builtin___strcpy_chk will always overflow destination buffer
In function 'strcpy',
inlined from 'call_user_func' at eval.c:21863:5:
/usr/include/bits/string3.h:107:3: warning: call to __builtin___strcpy_chk will always overflow destination buffer
...
...
gcc -c -I. -Iproto -DHAVE_CONFIG_H -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wall -pipe -fno-strict-aliasing -fstack-protector-all -I/usr/include -D_LARGEFILE64_SOURCE=1 -o objects/fileio.o fileio.c
In file included from /usr/include/string.h:640:0,
from os_unix.h:519,
from vim.h:265,
from eval.c:17:
In function 'strcpy',
inlined from 'call_user_func' at eval.c:21842:2:
/usr/include/bits/string3.h:107:3: warning: call to __builtin___strcpy_chk will always overflow destination buffer
In function 'strcpy',
inlined from 'call_user_func' at eval.c:21863:5:
/usr/include/bits/string3.h:107:3: warning: call to __builtin___strcpy_chk will always overflow destination buffer
...
How can I solve this issue?
Later I want to submit the package to the obs://editors/vim (obs://openSUSE:Factory/vim)
Thank you,
--
Kind regards, Sebastian - openSUSE Member (Freespacer)
Website/Blog: <http://www.sebastian-siebert.de>
Important notes on openSUSE Mailing List:
<http://en.opensuse.org/OpenSUSE_mailing_list_netiquette>
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
I create a branch from the obs://editors/vim in my home repository obs://home:Freespacer:branches:editors/vim
I want to update the version of vim 7.2 to 7.3. Some patches are obsolete and some others was renewed by me.
Now I get follow error message in the build log:
I: Statement is overflowing a buffer
E: vim bufferoverflow eval.c:21842:2
E: vim bufferoverflow eval.c:21863:5
I look for the lines from the compiler message and get these lines:
...
gcc -c -I. -Iproto -DHAVE_CONFIG_H -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wall -pipe -fno-strict-aliasing -fstack-protector-all -o objects/ex_getln.o ex_getln.c
In file included from /usr/include/string.h:640:0,
from os_unix.h:519,
from vim.h:265,
from eval.c:17:
In function 'strcpy',
inlined from 'call_user_func' at eval.c:21842:2:
/usr/include/bits/string3.h:107:3: warning: call to __builtin___strcpy_chk will always overflow destination buffer
In function 'strcpy',
inlined from 'call_user_func' at eval.c:21863:5:
/usr/include/bits/string3.h:107:3: warning: call to __builtin___strcpy_chk will always overflow destination buffer
...
...
gcc -c -I. -Iproto -DHAVE_CONFIG_H -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wall -pipe -fno-strict-aliasing -fstack-protector-all -I/usr/include -D_LARGEFILE64_SOURCE=1 -o objects/fileio.o fileio.c
In file included from /usr/include/string.h:640:0,
from os_unix.h:519,
from vim.h:265,
from eval.c:17:
In function 'strcpy',
inlined from 'call_user_func' at eval.c:21842:2:
/usr/include/bits/string3.h:107:3: warning: call to __builtin___strcpy_chk will always overflow destination buffer
In function 'strcpy',
inlined from 'call_user_func' at eval.c:21863:5:
/usr/include/bits/string3.h:107:3: warning: call to __builtin___strcpy_chk will always overflow destination buffer
...
How can I solve this issue?
Later I want to submit the package to the obs://editors/vim (obs://openSUSE:Factory/vim)
Thank you,
--
Kind regards, Sebastian - openSUSE Member (Freespacer)
Website/Blog: <http://www.sebastian-siebert.de>
Important notes on openSUSE Mailing List:
<http://en.opensuse.org/OpenSUSE_mailing_list_netiquette>
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |