From: Al Snow Date: 2021-01-11T16:13:17+00:00 Subject: [ruby-core:102001] Re: Bootstrap ruby-2.6.6 on OpenBSD6.7/octeon --===============0413054043== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_BN7PR13MB2305597A32964F0981DAD48FC1AB0BN7PR13MB2305namp_" --_000_BN7PR13MB2305597A32964F0981DAD48FC1AB0BN7PR13MB2305namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable FYI: I see OpenBSD listed on https://rubyci.org. ________________________________ From: ruby-core on behalf of Georg Bege <= georg@bege.email> Sent: Monday, January 11, 2021 11:09 AM To: 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 `
' ./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: --_000_BN7PR13MB2305597A32964F0981DAD48FC1AB0BN7PR13MB2305namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
FYI: I see OpenBSD listed on https://rubyci.org.



From: ruby-core <ruby-co= re-bounces@ruby-lang.org> on behalf of Georg Bege <georg@bege.email&g= t;
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/octeo= n
 
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-stro= ng
-fno-strict-overflow -fvisibility=3Dhidden -DRUBY_EXPORT
-DCANONICALIZATION_FOR_MATHN
    CPPFLAGS =3D -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/inc= lude   -I.
-I.ext/include/mips64-openbsd -I./include -I. -I./enc/unicode/12.1.0
    DLDFLAGS =3D -L/usr/local/lib -fstack-protector-strong&n= bsp;
    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)<= br> 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'&n= bsp;
--command-output=3Dext/objspace/exts.mk --dest-dir=3D""  --e= xtout=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""&nbs= p;
--make-flags=3D"MINIRUBY=3D'./miniruby -I./lib -I. -I.ext/common '&quo= t;
--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://w= ww.ruby-lang.org/bugreport.html

-------------------------------------- snip
--------------------------------------



Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=3Dunsubscrib= e>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>
--_000_BN7PR13MB2305597A32964F0981DAD48FC1AB0BN7PR13MB2305namp_-- --===============0413054043== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Unsubscribe: --===============0413054043==--