[Bug 242630] [PowerPC] lang/ruby26 build fails on rb_mjit_min_header-2.6.5.h (FreeBSD 12.1-RELEASE-p1)

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242630

            Bug ID: 242630
           Summary: [PowerPC] lang/ruby26 build fails on
                    rb_mjit_min_header-2.6.5.h (FreeBSD 12.1-RELEASE-p1)
           Product: Ports & Packages
           Version: Latest
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
          Assignee: [email protected]
                CC: [email protected]
             Flags: maintainer-feedback?([email protected])

Problem found when building lang/ruby26 on FreeBSD 12.1-RELEASE-p1 powerpc.


# cd /usr/ports/lang/ruby26
# make install config
===>  Building for ruby-2.6.5,1
        BASERUBY = echo executable host ruby is required.  use --with-baseruby
option.; false
        CC = gcc9
        LD = /usr/local/bin/ld
        LDSHARED = gcc9 -shared
        CFLAGS = -O2 -pipe  -fstack-protector-strong
-Wl,-rpath=/usr/local/lib/gcc9 -isystem /usr/local/include -fno-strict-aliasing
 -fPIC 
        XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector-strong
-fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard
-DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN
        CPPFLAGS = -I/usr/local/include -isystem /usr/local/include   -I.
-I.ext/include/powerpc-freebsd12 -I./include -I. -I./enc/unicode/12.1.0 
        DLDFLAGS = -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9
-L/usr/local/lib/gcc9  -Wl,--compress-debug-sections=zlib -Wl,-E
-Wl,-soname,libruby26.so.26 -fstack-protector-strong  
        SOLIBS = -lexecinfo -lprocstat -lz -lthr -lrt -lrt -ldl -lcrypt -lm
-lpthread -L/usr/local/lib -L/usr/local/lib
        LANG = C
        LC_ALL = C
        LC_CTYPE = 
gcc9 (FreeBSD Ports Collection) 9.2.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

building .ext/include/powerpc-freebsd12/rb_mjit_min_header-2.6.5.h
./miniruby -I./lib -I. -I.ext/common  ./tool/transform_mjit_header.rb "gcc9 "
rb_mjit_header.h .ext/include/powerpc-freebsd12/rb_mjit_min_header-2.6.5.h
*** Signal 11

Stop.
make[2]: stopped in /usr/ports/lang/ruby26/work/ruby-2.6.5
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/ruby26
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/ruby26



Hardware used is a Apple Powerbook G4 17", and ruby26 is a requirement to
install gnome3.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.