ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: Al Snow <jasnow@hotmail.com>
To: "georg@bege.email" <georg@bege.email>,
	Ruby developers <ruby-core@ruby-lang.org>
Subject: [ruby-core:102001] Re: Bootstrap ruby-2.6.6 on OpenBSD6.7/octeon
Date: Mon, 11 Jan 2021 16:13:17 +0000	[thread overview]
Message-ID: <BN7PR13MB2305597A32964F0981DAD48FC1AB0@BN7PR13MB2305.namprd13.prod.outlook.com> (raw)
In-Reply-To: <c168eb11-6921-413b-1a4f-7d7d21087d4f@bege.email>


[-- Attachment #1.1: Type: text/plain, Size: 3372 bytes --]

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>

[-- Attachment #1.2: Type: text/html, Size: 5373 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2021-01-11 16:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-11 16:09 [ruby-core:102000] Bootstrap ruby-2.6.6 on OpenBSD6.7/octeon Georg Bege
2021-01-11 16:13 ` Al Snow [this message]
2021-01-11 16:49 ` [ruby-core:102002] " Jeremy Evans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BN7PR13MB2305597A32964F0981DAD48FC1AB0@BN7PR13MB2305.namprd13.prod.outlook.com \
    --to=ruby-core@ruby-lang.org \
    --cc=georg@bege.email \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).