The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.1.22.1: download - view: text, markup, annotated - select for diffs
Mon Oct 12 00:55:15 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
Sun Jan 21 08:22:02 2024 UTC (2 years, 9 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1
Branch point for: pkgsrc-2026Q3
lang/ruby33: add version 3.3.0

Add ruby33 version 3.3.0 (Ruby 3.3.0).  Since Ruby 3.3.0 dose not
contains devel/ruby-readline anymore, no ruby33-base package now.


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.

Features of Ruby are shown below.
  + Simple Syntax
  + *Normal* Object-Oriented features (ex. class, method calls)
  + *Advanced* Object-Oriented features (ex. Mix-in, Singleton-method)
  + Operator Overloading
  + Exception Handling
  + Iterators and Closures
  + Garbage Collection
  + Dynamic Loading of Object files (on some architecture)
  + Highly Portable (works on many UNIX machines, and on Windows, Mac, etc.)

Ruby 3.3 introduces a number of new features and performance improvements,
here are some of them:
  * Prsim parser (as a default gem).
  * Performance: YJIT: Verious improvements including performance.
  * Performance: RJIT: Experital pure-Ruby JIT compiler replace MJIT.
  * M:N thread scheduler.
  * Retirement of ext/readline.

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>