[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
--------------------------------------
===> Building for ruby-2.6.6
BASERUBY = echo executable host ruby is required. use
--with-baseruby option.; false
CC = cc
LD = ld
LDSHARED = cc -shared
CFLAGS = -O2 -pipe -fPIC
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector-strong
-fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
-DCANONICALIZATION_FOR_MATHN
CPPFLAGS = -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -I.
-I.ext/include/mips64-openbsd -I./include -I. -I./enc/unicode/12.1.0
DLDFLAGS = -L/usr/local/lib -fstack-protector-strong
SOLIBS = -pthread -lgmp -lm
LANG =
LC_ALL =
LC_CTYPE =
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='make'
--command-output=ext/objspace/exts.mk --dest-dir="" --extout=".ext"
--mflags=" V=1 mkdir_p=mkdir\ -p\ --
SHARED_LIBS_LOG=/usr/obj/ports/ruby-2.6.6/ruby-2.6.6/shared_libs.log
LIBTOOL=/usr/bin/libtool LIBruby26_LTVERSION=-version-info\ 0:0:0
libruby26_ltversion=0.0 " --make-flags=" V=1 mkdir_p=mkdir\ -p\ --
SHARED_LIBS_LOG=/usr/obj/ports/ruby-2.6.6/ruby-2.6.6/shared_libs.log
LIBTOOL=/usr/bin/libtool LIBruby26_LTVERSION=-version-info\ 0:0:0
libruby26_ltversion=0.0 " --gnumake= --extflags=""
--make-flags="MINIRUBY='./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=unsubscribe>
<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>