current directory: /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_ruby_rb-gmp/rb31-gmp/work/destroot/opt/local/lib/ruby3.1/gems/3.1.0/gems/gmp-0.7.43/ext
/opt/local/bin/ruby3.1 -I /opt/local/lib/ruby3.1/3.1.0 extconf.rb
checking for gmp.h... yes
checking for __gmpz_init() in -lgmp... yes
checking for mpfr.h... yes
checking for mpf2mpfr.h... yes
checking for mpfr_init() in -lmpfr... yes
checking for SIZEOF_INTPTR_T... yes
creating Makefile

current directory: /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_ruby_rb-gmp/rb31-gmp/work/destroot/opt/local/lib/ruby3.1/gems/3.1.0/gems/gmp-0.7.43/ext
make DESTDIR\= sitearchdir\=./.gem.20240406-27800-wad8vg sitelibdir\=./.gem.20240406-27800-wad8vg clean

current directory: /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_ruby_rb-gmp/rb31-gmp/work/destroot/opt/local/lib/ruby3.1/gems/3.1.0/gems/gmp-0.7.43/ext
make DESTDIR\= sitearchdir\=./.gem.20240406-27800-wad8vg sitelibdir\=./.gem.20240406-27800-wad8vg
compiling gmp.c
warning: optimization level '-O6' is not supported; using '-O3' instead
In file included from gmp.c:7:
In file included from ./ruby_gmp.h:5:
In file included from /opt/local/include/ruby-3.1.4/ruby.h:38:
In file included from /opt/local/include/ruby-3.1.4/ruby/ruby.h:27:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/arithmetic.h:23:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/arithmetic/char.h:29:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/core/rstring.h:30:
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:794:24: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTABLE(VALUE obj)
                       ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:811:26: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTED_RAW(VALUE obj)
                         ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:828:22: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTED(VALUE obj)
                     ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:843:24: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINT_RAW(VALUE obj)
                       ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:858:20: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINT(VALUE obj)
                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:874:25: warning: unused parameter 'dst' [-Wunused-parameter]
RB_OBJ_INFECT_RAW(VALUE dst, VALUE src)
                        ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:874:36: warning: unused parameter 'src' [-Wunused-parameter]
RB_OBJ_INFECT_RAW(VALUE dst, VALUE src)
                                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:890:21: warning: unused parameter 'dst' [-Wunused-parameter]
RB_OBJ_INFECT(VALUE dst, VALUE src)
                    ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:890:32: warning: unused parameter 'src' [-Wunused-parameter]
RB_OBJ_INFECT(VALUE dst, VALUE src)
                               ^
In file included from gmp.c:7:
In file included from ./ruby_gmp.h:5:
In file included from /opt/local/include/ruby-3.1.4/ruby.h:38:
In file included from /opt/local/include/ruby-3.1.4/ruby/ruby.h:44:
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:173:22: warning: unused parameter 'clone' [-Wunused-parameter]
rb_clone_setup(VALUE clone, VALUE obj)
                     ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:173:35: warning: unused parameter 'obj' [-Wunused-parameter]
rb_clone_setup(VALUE clone, VALUE obj)
                                  ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:190:20: warning: unused parameter 'dup' [-Wunused-parameter]
rb_dup_setup(VALUE dup, VALUE obj)
                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:190:31: warning: unused parameter 'obj' [-Wunused-parameter]
rb_dup_setup(VALUE dup, VALUE obj)
                              ^
gmp.c:44:18: warning: implicit conversion loses integer precision: 'mpfr_prec_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
  return INT2NUM(mpf_get_default_prec());
         ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/mpf2mpfr.h:79:30: note: expanded from macro 'mpf_get_default_prec'
#define mpf_get_default_prec mpfr_get_default_prec
                             ^
15 warnings generated.
compiling gmpbench_timing.c
warning: optimization level '-O6' is not supported; using '-O3' instead
In file included from gmpbench_timing.c:1:
In file included from ./ruby_gmp.h:5:
In file included from /opt/local/include/ruby-3.1.4/ruby.h:38:
In file included from /opt/local/include/ruby-3.1.4/ruby/ruby.h:27:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/arithmetic.h:23:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/arithmetic/char.h:29:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/core/rstring.h:30:
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:794:24: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTABLE(VALUE obj)
                       ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:811:26: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTED_RAW(VALUE obj)
                         ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:828:22: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTED(VALUE obj)
                     ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:843:24: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINT_RAW(VALUE obj)
                       ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:858:20: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINT(VALUE obj)
                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:874:25: warning: unused parameter 'dst' [-Wunused-parameter]
RB_OBJ_INFECT_RAW(VALUE dst, VALUE src)
                        ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:874:36: warning: unused parameter 'src' [-Wunused-parameter]
RB_OBJ_INFECT_RAW(VALUE dst, VALUE src)
                                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:890:21: warning: unused parameter 'dst' [-Wunused-parameter]
RB_OBJ_INFECT(VALUE dst, VALUE src)
                    ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:890:32: warning: unused parameter 'src' [-Wunused-parameter]
RB_OBJ_INFECT(VALUE dst, VALUE src)
                               ^
In file included from gmpbench_timing.c:1:
In file included from ./ruby_gmp.h:5:
In file included from /opt/local/include/ruby-3.1.4/ruby.h:38:
In file included from /opt/local/include/ruby-3.1.4/ruby/ruby.h:44:
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:173:22: warning: unused parameter 'clone' [-Wunused-parameter]
rb_clone_setup(VALUE clone, VALUE obj)
                     ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:173:35: warning: unused parameter 'obj' [-Wunused-parameter]
rb_clone_setup(VALUE clone, VALUE obj)
                                  ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:190:20: warning: unused parameter 'dup' [-Wunused-parameter]
rb_dup_setup(VALUE dup, VALUE obj)
                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:190:31: warning: unused parameter 'obj' [-Wunused-parameter]
rb_dup_setup(VALUE dup, VALUE obj)
                              ^
14 warnings generated.
compiling gmpf.c
warning: optimization level '-O6' is not supported; using '-O3' instead
In file included from gmpf.c:1:
In file included from ./gmpz.h:10:
In file included from ./ruby_gmp.h:5:
In file included from /opt/local/include/ruby-3.1.4/ruby.h:38:
In file included from /opt/local/include/ruby-3.1.4/ruby/ruby.h:27:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/arithmetic.h:23:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/arithmetic/char.h:29:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/core/rstring.h:30:
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:794:24: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTABLE(VALUE obj)
                       ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:811:26: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTED_RAW(VALUE obj)
                         ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:828:22: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTED(VALUE obj)
                     ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:843:24: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINT_RAW(VALUE obj)
                       ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:858:20: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINT(VALUE obj)
                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:874:25: warning: unused parameter 'dst' [-Wunused-parameter]
RB_OBJ_INFECT_RAW(VALUE dst, VALUE src)
                        ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:874:36: warning: unused parameter 'src' [-Wunused-parameter]
RB_OBJ_INFECT_RAW(VALUE dst, VALUE src)
                                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:890:21: warning: unused parameter 'dst' [-Wunused-parameter]
RB_OBJ_INFECT(VALUE dst, VALUE src)
                    ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:890:32: warning: unused parameter 'src' [-Wunused-parameter]
RB_OBJ_INFECT(VALUE dst, VALUE src)
                               ^
In file included from gmpf.c:1:
In file included from ./gmpz.h:10:
In file included from ./ruby_gmp.h:5:
In file included from /opt/local/include/ruby-3.1.4/ruby.h:38:
In file included from /opt/local/include/ruby-3.1.4/ruby/ruby.h:44:
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:173:22: warning: unused parameter 'clone' [-Wunused-parameter]
rb_clone_setup(VALUE clone, VALUE obj)
                     ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:173:35: warning: unused parameter 'obj' [-Wunused-parameter]
rb_clone_setup(VALUE clone, VALUE obj)
                                  ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:190:20: warning: unused parameter 'dup' [-Wunused-parameter]
rb_dup_setup(VALUE dup, VALUE obj)
                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:190:31: warning: unused parameter 'obj' [-Wunused-parameter]
rb_dup_setup(VALUE dup, VALUE obj)
                              ^
gmpf.c:1751:19: warning: implicit conversion loses integer precision: 'const mpfr_prec_t' (aka 'const long') to 'int' [-Wshorten-64-to-32]
  return INT2NUM (mpf_get_prec (self_val));
         ~~~~~~~  ^~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/mpf2mpfr.h:71:22: note: expanded from macro 'mpf_get_prec'
#define mpf_get_prec mpfr_get_prec
                     ^
/opt/local/include/mpfr.h:901:58: note: expanded from macro 'mpfr_get_prec'
#define mpfr_get_prec(_x) MPFR_VALUE_OF(MPFR_SRCPTR(_x)->_mpfr_prec)
                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/opt/local/include/mpfr.h:880:39: note: expanded from macro 'MPFR_VALUE_OF'
#define MPFR_VALUE_OF(x)  (0 ? (x) : (x))
                                      ^
gmpf.c:1812:23: warning: implicit conversion loses integer precision: 'mpfr_exp_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
DEFUN_FR_CLASS_M(emin,mpfr_get_emin)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
gmpf.c:1798:19: note: expanded from macro 'DEFUN_FR_CLASS_M'
  return INT2NUM (mpfr_fname ());               \
         ~~~~~~~  ^~~~~~~~~~~~~
gmpf.c:1826:23: warning: implicit conversion loses integer precision: 'mpfr_exp_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
DEFUN_FR_CLASS_M(emax,mpfr_get_emax)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
gmpf.c:1798:19: note: expanded from macro 'DEFUN_FR_CLASS_M'
  return INT2NUM (mpfr_fname ());               \
         ~~~~~~~  ^~~~~~~~~~~~~
gmpf.c:1837:27: warning: implicit conversion loses integer precision: 'mpfr_exp_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
DEFUN_FR_CLASS_M(emin_min,mpfr_get_emin_min)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
gmpf.c:1798:19: note: expanded from macro 'DEFUN_FR_CLASS_M'
  return INT2NUM (mpfr_fname ());               \
         ~~~~~~~  ^~~~~~~~~~~~~
gmpf.c:1848:27: warning: implicit conversion loses integer precision: 'mpfr_exp_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
DEFUN_FR_CLASS_M(emin_max,mpfr_get_emin_max)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
gmpf.c:1798:19: note: expanded from macro 'DEFUN_FR_CLASS_M'
  return INT2NUM (mpfr_fname ());               \
         ~~~~~~~  ^~~~~~~~~~~~~
gmpf.c:1859:27: warning: implicit conversion loses integer precision: 'mpfr_exp_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
DEFUN_FR_CLASS_M(emax_min,mpfr_get_emax_min)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
gmpf.c:1798:19: note: expanded from macro 'DEFUN_FR_CLASS_M'
  return INT2NUM (mpfr_fname ());               \
         ~~~~~~~  ^~~~~~~~~~~~~
gmpf.c:1870:27: warning: implicit conversion loses integer precision: 'mpfr_exp_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
DEFUN_FR_CLASS_M(emax_max,mpfr_get_emax_max)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
gmpf.c:1798:19: note: expanded from macro 'DEFUN_FR_CLASS_M'
  return INT2NUM (mpfr_fname ());               \
         ~~~~~~~  ^~~~~~~~~~~~~
21 warnings generated.
compiling gmpq.c
warning: optimization level '-O6' is not supported; using '-O3' instead
In file included from gmpq.c:1:
In file included from ./gmpz.h:10:
In file included from ./ruby_gmp.h:5:
In file included from /opt/local/include/ruby-3.1.4/ruby.h:38:
In file included from /opt/local/include/ruby-3.1.4/ruby/ruby.h:27:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/arithmetic.h:23:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/arithmetic/char.h:29:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/core/rstring.h:30:
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:794:24: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTABLE(VALUE obj)
                       ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:811:26: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTED_RAW(VALUE obj)
                         ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:828:22: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTED(VALUE obj)
                     ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:843:24: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINT_RAW(VALUE obj)
                       ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:858:20: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINT(VALUE obj)
                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:874:25: warning: unused parameter 'dst' [-Wunused-parameter]
RB_OBJ_INFECT_RAW(VALUE dst, VALUE src)
                        ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:874:36: warning: unused parameter 'src' [-Wunused-parameter]
RB_OBJ_INFECT_RAW(VALUE dst, VALUE src)
                                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:890:21: warning: unused parameter 'dst' [-Wunused-parameter]
RB_OBJ_INFECT(VALUE dst, VALUE src)
                    ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:890:32: warning: unused parameter 'src' [-Wunused-parameter]
RB_OBJ_INFECT(VALUE dst, VALUE src)
                               ^
In file included from gmpq.c:1:
In file included from ./gmpz.h:10:
In file included from ./ruby_gmp.h:5:
In file included from /opt/local/include/ruby-3.1.4/ruby.h:38:
In file included from /opt/local/include/ruby-3.1.4/ruby/ruby.h:44:
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:173:22: warning: unused parameter 'clone' [-Wunused-parameter]
rb_clone_setup(VALUE clone, VALUE obj)
                     ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:173:35: warning: unused parameter 'obj' [-Wunused-parameter]
rb_clone_setup(VALUE clone, VALUE obj)
                                  ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:190:20: warning: unused parameter 'dup' [-Wunused-parameter]
rb_dup_setup(VALUE dup, VALUE obj)
                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:190:31: warning: unused parameter 'obj' [-Wunused-parameter]
rb_dup_setup(VALUE dup, VALUE obj)
                              ^
gmpq.c:397:5: warning: 'GMP' is not defined, evaluates to 0 [-Wundef]
#if GMP >= 4
    ^
gmpq.c:416:5: warning: 'GMP' is not defined, evaluates to 0 [-Wundef]
#if GMP >= 4
    ^
16 warnings generated.
compiling gmprandstate.c
warning: optimization level '-O6' is not supported; using '-O3' instead
In file included from gmprandstate.c:1:
In file included from ./gmpz.h:10:
In file included from ./ruby_gmp.h:5:
In file included from /opt/local/include/ruby-3.1.4/ruby.h:38:
In file included from /opt/local/include/ruby-3.1.4/ruby/ruby.h:27:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/arithmetic.h:23:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/arithmetic/char.h:29:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/core/rstring.h:30:
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:794:24: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTABLE(VALUE obj)
                       ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:811:26: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTED_RAW(VALUE obj)
                         ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:828:22: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTED(VALUE obj)
                     ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:843:24: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINT_RAW(VALUE obj)
                       ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:858:20: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINT(VALUE obj)
                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:874:25: warning: unused parameter 'dst' [-Wunused-parameter]
RB_OBJ_INFECT_RAW(VALUE dst, VALUE src)
                        ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:874:36: warning: unused parameter 'src' [-Wunused-parameter]
RB_OBJ_INFECT_RAW(VALUE dst, VALUE src)
                                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:890:21: warning: unused parameter 'dst' [-Wunused-parameter]
RB_OBJ_INFECT(VALUE dst, VALUE src)
                    ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:890:32: warning: unused parameter 'src' [-Wunused-parameter]
RB_OBJ_INFECT(VALUE dst, VALUE src)
                               ^
In file included from gmprandstate.c:1:
In file included from ./gmpz.h:10:
In file included from ./ruby_gmp.h:5:
In file included from /opt/local/include/ruby-3.1.4/ruby.h:38:
In file included from /opt/local/include/ruby-3.1.4/ruby/ruby.h:44:
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:173:22: warning: unused parameter 'clone' [-Wunused-parameter]
rb_clone_setup(VALUE clone, VALUE obj)
                     ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:173:35: warning: unused parameter 'obj' [-Wunused-parameter]
rb_clone_setup(VALUE clone, VALUE obj)
                                  ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:190:20: warning: unused parameter 'dup' [-Wunused-parameter]
rb_dup_setup(VALUE dup, VALUE obj)
                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:190:31: warning: unused parameter 'obj' [-Wunused-parameter]
rb_dup_setup(VALUE dup, VALUE obj)
                              ^
14 warnings generated.
compiling gmpz.c
warning: optimization level '-O6' is not supported; using '-O3' instead
In file included from gmpz.c:1:
In file included from ./gmpz.h:10:
In file included from ./ruby_gmp.h:5:
In file included from /opt/local/include/ruby-3.1.4/ruby.h:38:
In file included from /opt/local/include/ruby-3.1.4/ruby/ruby.h:27:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/arithmetic.h:23:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/arithmetic/char.h:29:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/core/rstring.h:30:
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:794:24: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTABLE(VALUE obj)
                       ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:811:26: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTED_RAW(VALUE obj)
                         ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:828:22: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTED(VALUE obj)
                     ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:843:24: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINT_RAW(VALUE obj)
                       ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:858:20: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINT(VALUE obj)
                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:874:25: warning: unused parameter 'dst' [-Wunused-parameter]
RB_OBJ_INFECT_RAW(VALUE dst, VALUE src)
                        ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:874:36: warning: unused parameter 'src' [-Wunused-parameter]
RB_OBJ_INFECT_RAW(VALUE dst, VALUE src)
                                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:890:21: warning: unused parameter 'dst' [-Wunused-parameter]
RB_OBJ_INFECT(VALUE dst, VALUE src)
                    ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:890:32: warning: unused parameter 'src' [-Wunused-parameter]
RB_OBJ_INFECT(VALUE dst, VALUE src)
                               ^
In file included from gmpz.c:1:
In file included from ./gmpz.h:10:
In file included from ./ruby_gmp.h:5:
In file included from /opt/local/include/ruby-3.1.4/ruby.h:38:
In file included from /opt/local/include/ruby-3.1.4/ruby/ruby.h:44:
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:173:22: warning: unused parameter 'clone' [-Wunused-parameter]
rb_clone_setup(VALUE clone, VALUE obj)
                     ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:173:35: warning: unused parameter 'obj' [-Wunused-parameter]
rb_clone_setup(VALUE clone, VALUE obj)
                                  ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:190:20: warning: unused parameter 'dup' [-Wunused-parameter]
rb_dup_setup(VALUE dup, VALUE obj)
                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:190:31: warning: unused parameter 'obj' [-Wunused-parameter]
rb_dup_setup(VALUE dup, VALUE obj)
                              ^
In file included from gmpz.c:6:
In file included from /opt/local/include/ruby-3.1.4/ruby/io.h:16:
In file included from /opt/local/include/ruby-3.1.4/ruby/encoding.h:22:
/opt/local/include/ruby-3.1.4/ruby/internal/encoding/ctype.h:82:46: warning: unused parameter 'enc' [-Wunused-parameter]
rb_enc_isascii(OnigCodePoint c, rb_encoding *enc)
                                             ^
15 warnings generated.
compiling mprnd.c
warning: optimization level '-O6' is not supported; using '-O3' instead
In file included from mprnd.c:1:
In file included from ./mprnd.h:10:
In file included from ./ruby_gmp.h:5:
In file included from /opt/local/include/ruby-3.1.4/ruby.h:38:
In file included from /opt/local/include/ruby-3.1.4/ruby/ruby.h:27:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/arithmetic.h:23:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/arithmetic/char.h:29:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/core/rstring.h:30:
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:794:24: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTABLE(VALUE obj)
                       ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:811:26: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTED_RAW(VALUE obj)
                         ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:828:22: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINTED(VALUE obj)
                     ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:843:24: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINT_RAW(VALUE obj)
                       ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:858:20: warning: unused parameter 'obj' [-Wunused-parameter]
RB_OBJ_TAINT(VALUE obj)
                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:874:25: warning: unused parameter 'dst' [-Wunused-parameter]
RB_OBJ_INFECT_RAW(VALUE dst, VALUE src)
                        ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:874:36: warning: unused parameter 'src' [-Wunused-parameter]
RB_OBJ_INFECT_RAW(VALUE dst, VALUE src)
                                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:890:21: warning: unused parameter 'dst' [-Wunused-parameter]
RB_OBJ_INFECT(VALUE dst, VALUE src)
                    ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:890:32: warning: unused parameter 'src' [-Wunused-parameter]
RB_OBJ_INFECT(VALUE dst, VALUE src)
                               ^
In file included from mprnd.c:1:
In file included from ./mprnd.h:10:
In file included from ./ruby_gmp.h:5:
In file included from /opt/local/include/ruby-3.1.4/ruby.h:38:
In file included from /opt/local/include/ruby-3.1.4/ruby/ruby.h:44:
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:173:22: warning: unused parameter 'clone' [-Wunused-parameter]
rb_clone_setup(VALUE clone, VALUE obj)
                     ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:173:35: warning: unused parameter 'obj' [-Wunused-parameter]
rb_clone_setup(VALUE clone, VALUE obj)
                                  ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:190:20: warning: unused parameter 'dup' [-Wunused-parameter]
rb_dup_setup(VALUE dup, VALUE obj)
                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:190:31: warning: unused parameter 'obj' [-Wunused-parameter]
rb_dup_setup(VALUE dup, VALUE obj)
                              ^
14 warnings generated.
linking shared-object gmp.bundle

current directory: /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_ruby_rb-gmp/rb31-gmp/work/destroot/opt/local/lib/ruby3.1/gems/3.1.0/gems/gmp-0.7.43/ext
make DESTDIR\= sitearchdir\=./.gem.20240406-27800-wad8vg sitelibdir\=./.gem.20240406-27800-wad8vg install
/usr/bin/install -c -m 0755 gmp.bundle ./.gem.20240406-27800-wad8vg
