[ruby-core:102001] Re: Bootstrap ruby-2.6.6 on OpenBSD6.7/octeon
From:
Al Snow <jasnow@...>
Date:
2021-01-11 16:13:17 UTC
List:
ruby-core #102001
FYI: I see OpenBSD listed on https://rubyci.org.
________________________________
From: ruby-core <ruby-core-bounces@ruby-lang.org> on behalf of Georg Bege <=
georg@bege.email>
Sent: Monday, January 11, 2021 11:09 AM
To: ruby-core@ruby-lang.org <ruby-core@ruby-lang.org>
Subject: [ruby-core:102000] Bootstrap ruby-2.6.6 on OpenBSD6.7/octeon
Hello,
Im trying to build/bootstrap Ruby 2.6 on OpenBSD,
however this seems to fail on the octeon/mips64 platform.
Is this a (known) bug, should I report it?
Details below:
-------------------------------------- snip
--------------------------------------
=3D=3D=3D> Building for ruby-2.6.6
BASERUBY =3D echo executable host ruby is required. use
--with-baseruby option.; false
CC =3D cc
LD =3D ld
LDSHARED =3D cc -shared
CFLAGS =3D -O2 -pipe -fPIC
XCFLAGS =3D -D_FORTIFY_SOURCE=3D2 -fstack-protector-strong
-fno-strict-overflow -fvisibility=3Dhidden -DRUBY_EXPORT
-DCANONICALIZATION_FOR_MATHN
CPPFLAGS =3D -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -I.
-I.ext/include/mips64-openbsd -I./include -I. -I./enc/unicode/12.1.0
DLDFLAGS =3D -L/usr/local/lib -fstack-protector-strong
SOLIBS =3D -pthread -lgmp -lm
LANG =3D
LC_ALL =3D
LC_CTYPE =3D
OpenBSD clang version 8.0.1 (tags/RELEASE_801/final) (based on LLVM 8.0.1)
Target: mips64-unknown-openbsd6.7
Thread model: posix
-------------------------------------- snip
--------------------------------------
Later on the build bails out with:
./miniruby -I./lib -I. -I.ext/common ./ext/extmk.rb --make=3D'make'
--command-output=3Dext/objspace/exts.mk --dest-dir=3D"" --extout=3D".ext"
--mflags=3D" V=3D1 mkdir_p=3Dmkdir\ -p\ --
SHARED_LIBS_LOG=3D/usr/obj/ports/ruby-2.6.6/ruby-2.6.6/shared_libs.log
LIBTOOL=3D/usr/bin/libtool LIBruby26_LTVERSION=3D-version-info\ 0:0:0
libruby26_ltversion=3D0.0 " --make-flags=3D" V=3D1 mkdir_p=3Dmkdir\ -p\ --
SHARED_LIBS_LOG=3D/usr/obj/ports/ruby-2.6.6/ruby-2.6.6/shared_libs.log
LIBTOOL=3D/usr/bin/libtool LIBruby26_LTVERSION=3D-version-info\ 0:0:0
libruby26_ltversion=3D0.0 " --gnumake=3D --extflags=3D""
--make-flags=3D"MINIRUBY=3D'./miniruby -I./lib -I. -I.ext/common '"
--extstatic -- configure ext/objspace
./ext/extmk.rb:39: [BUG] Bus Error at 0xdfdfdfdfdfdfdfdf
ruby 2.6.6p146 (2020-03-31 revision 67876) [mips64-openbsd]
-- Control frame information ----------------------------------------------=
-
c:0003 p:---- s:0042 e:000041 CFUNC :load
c:0002 p:0198 s:0037 E:000f98 EVAL ./ext/extmk.rb:39 [FINISH]
c:0001 p:0000 s:0003 E:0016d0 (none) [FINISH]
-- Ruby level backtrace information ---------------------------------------=
-
./ext/extmk.rb:39:in `<main>'
./ext/extmk.rb:39:in `load'
-- Other runtime information ----------------------------------------------=
-
* Loaded script: ./ext/extmk.rb
* Loaded features:
0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so
4 /usr/obj/ports/ruby-2.6.6/ruby-2.6.6/rbconfig.rb
5 mkmf.rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension
libraries.
Bug reports are welcome.
For details: https://www.ruby-lang.org/bugreport.html
-------------------------------------- snip
--------------------------------------
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=3Dunsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>