* [ruby-core:91318] [Ruby trunk Bug#15570] rb_int2big signature change #14036 breaks VIM on 32b arches
[not found] <redmine.issue-15570.20190129120502@ruby-lang.org>
@ 2019-01-29 12:05 ` v.ondruch
2019-01-30 9:21 ` [ruby-core:91334] " zdohnal
1 sibling, 0 replies; 2+ messages in thread
From: v.ondruch @ 2019-01-29 12:05 UTC (permalink / raw
To: ruby-core
Issue #15570 has been reported by vo.x (Vit Ondruch).
----------------------------------------
Bug #15570: rb_int2big signature change #14036 breaks VIM on 32b arches
https://bugs.ruby-lang.org/issues/15570
* Author: vo.x (Vit Ondruch)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.6.0p0 (2018-12-25 revision 66547) [i386-linux]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
It was recently pointed out by VIM maintainer in Fedora [1], that VIM fails to build with Ruby 2.6 with the following error:
~~~
gcc -c -I. -DDYNAMIC_RUBY_DLL=\"libruby.so.2.6\" -DDYNAMIC_RUBY_VER=26 -I/usr/include -I/usr/include -DRUBY_VERSION=26 -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwin
d-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/python3.6m -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/if_ruby.o if_ruby.c
if_ruby.c:509:7: error: conflicting types for 'rb_int2big_stub'
509 | VALUE rb_int2big_stub(SIGNED_VALUE x)
| ^~~~~~~~~~~~~~~
if_ruby.c:107:21: note: previous declaration of 'rb_int2big_stub' was here
107 | # define rb_int2big rb_int2big_stub
| ^~~~~~~~~~~~~~~
make: *** [Makefile:3091: objects/if_ruby.o] Error 1
make: *** Waiting for unfinished jobs....
~~~
This is apparently due to #14036. The naive fix in VIM is quite easy [2], but I wonder if there is any better way to fix this breakage.
[1]: https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org/message/37CBX2FJZ22OPURJFCWXPJS3CNKIUNQD/
[2]: https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org/message/E2LREXS5QZA5L7VJA4YJALAPF76LX6BR/attachment/2/vim-ruby.patch
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* [ruby-core:91334] [Ruby trunk Bug#15570] rb_int2big signature change #14036 breaks VIM on 32b arches
[not found] <redmine.issue-15570.20190129120502@ruby-lang.org>
2019-01-29 12:05 ` [ruby-core:91318] [Ruby trunk Bug#15570] rb_int2big signature change #14036 breaks VIM on 32b arches v.ondruch
@ 2019-01-30 9:21 ` zdohnal
1 sibling, 0 replies; 2+ messages in thread
From: zdohnal @ 2019-01-30 9:21 UTC (permalink / raw
To: ruby-core
Issue #15570 has been updated by zdohnal (Zdenek Dohnal).
Hi!
I'm Zdenek, Fedora/RHEL Vim's maintainer and I confirm Vita's report - Vim started to fail on 32b archs since ruby 2.6 landed in Fedora rawhide because of change in [[https://bugs.ruby-lang.org/issues/14036]] , which seemed more like cosmetic change, but it broke API compatibility.
----------------------------------------
Bug #15570: rb_int2big signature change #14036 breaks VIM on 32b arches
https://bugs.ruby-lang.org/issues/15570#change-76583
* Author: vo.x (Vit Ondruch)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.6.0p0 (2018-12-25 revision 66547) [i386-linux]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
It was recently pointed out by VIM maintainer in Fedora [1], that VIM fails to build with Ruby 2.6 with the following error:
~~~
gcc -c -I. -DDYNAMIC_RUBY_DLL=\"libruby.so.2.6\" -DDYNAMIC_RUBY_VER=26 -I/usr/include -I/usr/include -DRUBY_VERSION=26 -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwin
d-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/python3.6m -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/if_ruby.o if_ruby.c
if_ruby.c:509:7: error: conflicting types for 'rb_int2big_stub'
509 | VALUE rb_int2big_stub(SIGNED_VALUE x)
| ^~~~~~~~~~~~~~~
if_ruby.c:107:21: note: previous declaration of 'rb_int2big_stub' was here
107 | # define rb_int2big rb_int2big_stub
| ^~~~~~~~~~~~~~~
make: *** [Makefile:3091: objects/if_ruby.o] Error 1
make: *** Waiting for unfinished jobs....
~~~
This is apparently due to #14036. The naive fix in VIM is quite easy [2], but I wonder if there is any better way to fix this breakage.
[1]: https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org/message/37CBX2FJZ22OPURJFCWXPJS3CNKIUNQD/
[2]: https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org/message/E2LREXS5QZA5L7VJA4YJALAPF76LX6BR/attachment/2/vim-ruby.patch
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-30 9:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <redmine.issue-15570.20190129120502@ruby-lang.org>
2019-01-29 12:05 ` [ruby-core:91318] [Ruby trunk Bug#15570] rb_int2big signature change #14036 breaks VIM on 32b arches v.ondruch
2019-01-30 9:21 ` [ruby-core:91334] " zdohnal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).