The NetBSD Project

CVS log for pkgsrc/lang/ruby40/hacks.mk

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / lang / ruby40

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.1.6.1: download - view: text, markup, annotated - select for diffs
Mon Oct 12 00:55:16 2026 UTC (5 weeks ago) by maya
Branches: pkgsrc-2026Q3
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +6 -0 lines
Pullup ticket #7265 - requested by rin
lang/ruby34: Bug fix
lang/ruby33: Bug fix
lang/ruby40: Bug fix

Revisions pulled up:
- lang/ruby33/hacks.mk                                          1.2
- lang/ruby34/hacks.mk                                          1.2
- lang/ruby40/hacks.mk                                          1.2

---
   Module Name:	pkgsrc
   Committed By:	rin
   Date:		Sat Oct  3 11:12:34 UTC 2026

   Modified Files:
   	pkgsrc/lang/ruby33: hacks.mk
   	pkgsrc/lang/ruby34: hacks.mk
   	pkgsrc/lang/ruby40: hacks.mk

   Log Message:
   ruby*: Works around GCC 14 bug on alpha

   s/-O2/-O1/ for GCC >= 14 on alpha. Otherwise, for ruby34, e.g.,

   ```
   gcc -mieee -O2 -mieee -pthread -I/usr/include -I/usr/pkg/include -fPIC
   -pipe  -fno-strict-overflow -fvisibility=hidden
   -fexcess-precision=standard -DRUBY_EXPORT -I.
   -I.ext/include/alpha-netbsd -I.ext/include -I./include -I. -I./prism
   -I./enc/unicode/15.0.0   -Dmodular_gc_dir="" -I/usr/include
   -I/usr/pkg/include    -o ractor.o -c ractor.c
   during RTL pass: sched2
   ractor.c: In function 'ractor_channel_func':
   ractor.c:4010:1: internal compiler error: in move_insn, at
   haifa-sched.cc:5477
     4010 | }
          | ^
   0x1215184ff diagnostic_impl(rich_location*, diagnostic_metadata const*,
   int, char const*, __va_list_tag*, diagnostic_t)
            ???:0
   0x121518beb internal_error(char const*, ...)
            ???:0
   0x121640d9b fancy_abort(char const*, int, char const*)
            ???:0
   0x120569693 move_insn(rtx_insn*, rtx_insn*, rtx_def*)
            ???:0
   0x12057ef93 schedule_block(basic_block_def**, void*)
            ???:0
   0x1212bc327 schedule_insns() [clone .part.0]
            ???:0
   0x1212bc907 (anonymous namespace)::pass_sched2::execute(function*)
            ???:0
   Please submit a full bug report, with preprocessed source (by using
   -freport-bug).
   Please include the complete backtrace with any bug report.
   See <http://www.NetBSD.org/support/send-pr.html> for instructions.
   ```

   cf. PR toolchain/60843 GCC/alpha 14 miscompiles GCC backend

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Oct 3 11:12:34 2026 UTC (6 weeks, 1 day ago) by rin
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +7 -1 lines
ruby*: Works around GCC 14 bug on alpha

s/-O2/-O1/ for GCC >= 14 on alpha. Otherwise, for ruby34, e.g.,

```
gcc -mieee -O2 -mieee -pthread -I/usr/include -I/usr/pkg/include -fPIC -pipe  -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -I. -I.ext/include/alpha-netbsd -I.ext/include -I./include -I. -I./prism -I./enc/unicode/15.0.0   -Dmodular_gc_dir="" -I/usr/include -I/usr/pkg/include    -o ractor.o -c ractor.c
during RTL pass: sched2
ractor.c: In function 'ractor_channel_func':
ractor.c:4010:1: internal compiler error: in move_insn, at haifa-sched.cc:5477
 4010 | }
      | ^
0x1215184ff diagnostic_impl(rich_location*, diagnostic_metadata const*, int, char const*, __va_list_tag*, diagnostic_t)
        ???:0
0x121518beb internal_error(char const*, ...)
        ???:0
0x121640d9b fancy_abort(char const*, int, char const*)
        ???:0
0x120569693 move_insn(rtx_insn*, rtx_insn*, rtx_def*)
        ???:0
0x12057ef93 schedule_block(basic_block_def**, void*)
        ???:0
0x1212bc327 schedule_insns() [clone .part.0]
        ???:0
0x1212bc907 (anonymous namespace)::pass_sched2::execute(function*)
        ???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <http://www.NetBSD.org/support/send-pr.html> for instructions.
```

cf. PR toolchain/60843 GCC/alpha 14 miscompiles GCC backend

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Feb 3 16:00:33 2026 UTC (9 months, 1 week ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1
Branch point for: pkgsrc-2026Q3
lang/ruby40: add version 4.0.1

Add Ruby 4.0.1 as lang/ruby40.


Ruby is an interpreted object-oriented programming language often used
for web development.  It also offers many scripting features to
process plain text and serialized files, or manage system tasks.  It
is simple, straightforward, and extensible.

Ruby 4.0 introduces a number of new features and performance improvements,
here are some of them:
  * Ruby Box

	a new (experimental) feature to provide separation about definitions

  * Performance: ZJIT

	a new just-in-time (JIT) compiler, which is developed as the
	next generation of YJIT

	It is not enabled on pkgsrc for now.

  * Ractor Improvements
  * Stdlib updates
  * Retirement of RJIT: Experital pure-Ruby JIT compiler

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>