ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:106773] [CommonRuby Feature#18423] Installing stable versions like 3.0.3 from source generates fatal error by make
@ 2021-12-22 22:43 dklein (Dmitri Klein)
  2021-12-23  1:03 ` [ruby-core:106774] " xtkoba (Tee KOBAYASHI)
  2024-09-30  5:00 ` [ruby-core:119342] [Ruby master " hsbt (Hiroshi SHIBATA) via ruby-core
  0 siblings, 2 replies; 3+ messages in thread
From: dklein (Dmitri Klein) @ 2021-12-22 22:43 UTC (permalink / raw)
  To: ruby-core

Issue #18423 has been reported by dklein (Dmitri Klein).

----------------------------------------
Feature #18423: Installing stable versions like 3.0.3 from source generates fatal error by make
https://bugs.ruby-lang.org/issues/18423

* Author: dklein (Dmitri Klein)
* Status: Open
* Priority: Normal
----------------------------------------
# make
        BASERUBY = echo executable host ruby is required.  use --with-baseruby option.; false
        CC = /opt/SUNWspro/bin/CC
        LD = /usr/ccs/bin/ld
        LDSHARED = /opt/SUNWspro/bin/CC -G
        CFLAGS =  -g  
        XCFLAGS = -DRUBY_EXPORT -I. -I.ext/include/i386-solaris2.10 -I./include -I. -I./enc/unicode/12.1.0
        CPPFLAGS = -D_XOPEN_SOURCE=500   
        DLDFLAGS =  
        SOLIBS = -lz -lpthread -lrt -lrt -lrt -lsocket -ldl -lcrypt -lm
        LANG = 
        LC_ALL = 
        LC_CTYPE = 
        MFLAGS = 
CC: Sun C++ 5.12 SunOS_i386 2011/11/16
compiling vm.c
"./include/ruby/backward/cxxanyargs.hpp", line 207: Warning (Anachronism): Formal argument 1 of type extern "C" unsigned long(*)(unsigned long) in call to rb_iterate(extern "C" unsigned long(*)(unsigned long), unsigned long, extern "C" unsigned long(*)(unsigned long,unsigned long,int,const unsigned long*,unsigned long), unsigned long) is being passed unsigned long(*)(unsigned long).
...
"./include/ruby/backward/cxxanyargs.hpp", line 648: Error: Template parameter ruby::backward::cxxanyargs::define_method::F requires an expression of type void(*)(const char*,unsigned long(*)(...),int).
"./include/ruby/internal/fl_type.h", line 205: Warning: Identifier expected instead of "}".
"internal.h", line 16: Error: #error not for C++.
*** Error code 2
The following command caused the error:
/opt/SUNWspro/bin/CC  -g   -DRUBY_EXPORT -I. -I.ext/include/i386-solaris2.10 -I./include -I. -I./enc/unicode/12.1.0 -D_XOPEN_SOURCE=500    -o vm.o -c vm.c
make: Fatal error: Command failed for target `vm.o'
# 




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:106774] [CommonRuby Feature#18423] Installing stable versions like 3.0.3 from source generates fatal error by make
  2021-12-22 22:43 [ruby-core:106773] [CommonRuby Feature#18423] Installing stable versions like 3.0.3 from source generates fatal error by make dklein (Dmitri Klein)
@ 2021-12-23  1:03 ` xtkoba (Tee KOBAYASHI)
  2024-09-30  5:00 ` [ruby-core:119342] [Ruby master " hsbt (Hiroshi SHIBATA) via ruby-core
  1 sibling, 0 replies; 3+ messages in thread
From: xtkoba (Tee KOBAYASHI) @ 2021-12-23  1:03 UTC (permalink / raw)
  To: ruby-core

Issue #18423 has been updated by xtkoba (Tee KOBAYASHI).


There are several potentially related changes in the master branch, of which the most significant are commit:93ddff48022 and commit:dbeddfb0b20.

----------------------------------------
Feature #18423: Installing stable versions like 3.0.3 from source generates fatal error by make
https://bugs.ruby-lang.org/issues/18423#change-95476

* Author: dklein (Dmitri Klein)
* Status: Open
* Priority: Normal
----------------------------------------
# make
        BASERUBY = echo executable host ruby is required.  use --with-baseruby option.; false
        CC = /opt/SUNWspro/bin/CC
        LD = /usr/ccs/bin/ld
        LDSHARED = /opt/SUNWspro/bin/CC -G
        CFLAGS =  -g  
        XCFLAGS = -DRUBY_EXPORT -I. -I.ext/include/i386-solaris2.10 -I./include -I. -I./enc/unicode/12.1.0
        CPPFLAGS = -D_XOPEN_SOURCE=500   
        DLDFLAGS =  
        SOLIBS = -lz -lpthread -lrt -lrt -lrt -lsocket -ldl -lcrypt -lm
        LANG = 
        LC_ALL = 
        LC_CTYPE = 
        MFLAGS = 
CC: Sun C++ 5.12 SunOS_i386 2011/11/16
compiling vm.c
"./include/ruby/backward/cxxanyargs.hpp", line 207: Warning (Anachronism): Formal argument 1 of type extern "C" unsigned long(*)(unsigned long) in call to rb_iterate(extern "C" unsigned long(*)(unsigned long), unsigned long, extern "C" unsigned long(*)(unsigned long,unsigned long,int,const unsigned long*,unsigned long), unsigned long) is being passed unsigned long(*)(unsigned long).
...
"./include/ruby/backward/cxxanyargs.hpp", line 648: Error: Template parameter ruby::backward::cxxanyargs::define_method::F requires an expression of type void(*)(const char*,unsigned long(*)(...),int).
"./include/ruby/internal/fl_type.h", line 205: Warning: Identifier expected instead of "}".
"internal.h", line 16: Error: #error not for C++.
*** Error code 2
The following command caused the error:
/opt/SUNWspro/bin/CC  -g   -DRUBY_EXPORT -I. -I.ext/include/i386-solaris2.10 -I./include -I. -I./enc/unicode/12.1.0 -D_XOPEN_SOURCE=500    -o vm.o -c vm.c
make: Fatal error: Command failed for target `vm.o'
# 




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:119342] [Ruby master Feature#18423] Installing stable versions like 3.0.3 from source generates fatal error by make
  2021-12-22 22:43 [ruby-core:106773] [CommonRuby Feature#18423] Installing stable versions like 3.0.3 from source generates fatal error by make dklein (Dmitri Klein)
  2021-12-23  1:03 ` [ruby-core:106774] " xtkoba (Tee KOBAYASHI)
@ 2024-09-30  5:00 ` hsbt (Hiroshi SHIBATA) via ruby-core
  1 sibling, 0 replies; 3+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2024-09-30  5:00 UTC (permalink / raw)
  To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)

Issue #18423 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Open to Closed

We can't support Solaris anymore. 

----------------------------------------
Feature #18423: Installing stable versions like 3.0.3 from source generates fatal error by make
https://bugs.ruby-lang.org/issues/18423#change-109953

* Author: dklein (Dmitri Klein)
* Status: Closed
----------------------------------------
```
# make
        BASERUBY = echo executable host ruby is required.  use --with-baseruby option.; false
        CC = /opt/SUNWspro/bin/CC
        LD = /usr/ccs/bin/ld
        LDSHARED = /opt/SUNWspro/bin/CC -G
        CFLAGS =  -g  
        XCFLAGS = -DRUBY_EXPORT -I. -I.ext/include/i386-solaris2.10 -I./include -I. -I./enc/unicode/12.1.0
        CPPFLAGS = -D_XOPEN_SOURCE=500   
        DLDFLAGS =  
        SOLIBS = -lz -lpthread -lrt -lrt -lrt -lsocket -ldl -lcrypt -lm
        LANG = 
        LC_ALL = 
        LC_CTYPE = 
        MFLAGS = 
CC: Sun C++ 5.12 SunOS_i386 2011/11/16
compiling vm.c
"./include/ruby/backward/cxxanyargs.hpp", line 207: Warning (Anachronism): Formal argument 1 of type extern "C" unsigned long(*)(unsigned long) in call to rb_iterate(extern "C" unsigned long(*)(unsigned long), unsigned long, extern "C" unsigned long(*)(unsigned long,unsigned long,int,const unsigned long*,unsigned long), unsigned long) is being passed unsigned long(*)(unsigned long).
...
"./include/ruby/backward/cxxanyargs.hpp", line 648: Error: Template parameter ruby::backward::cxxanyargs::define_method::F requires an expression of type void(*)(const char*,unsigned long(*)(...),int).
"./include/ruby/internal/fl_type.h", line 205: Warning: Identifier expected instead of "}".
"internal.h", line 16: Error: #error not for C++.
*** Error code 2
The following command caused the error:
/opt/SUNWspro/bin/CC  -g   -DRUBY_EXPORT -I. -I.ext/include/i386-solaris2.10 -I./include -I. -I./enc/unicode/12.1.0 -D_XOPEN_SOURCE=500    -o vm.o -c vm.c
make: Fatal error: Command failed for target `vm.o'
# 
```



-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-30  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-22 22:43 [ruby-core:106773] [CommonRuby Feature#18423] Installing stable versions like 3.0.3 from source generates fatal error by make dklein (Dmitri Klein)
2021-12-23  1:03 ` [ruby-core:106774] " xtkoba (Tee KOBAYASHI)
2024-09-30  5:00 ` [ruby-core:119342] [Ruby master " hsbt (Hiroshi SHIBATA) via ruby-core

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 NNTP newsgroup(s).