[#106355] [Ruby master Bug#18373] RBS build failure: '/include/x86_64-linux/ruby/config.h', needed by 'constants.o'. — "vo.x (Vit Ondruch)" <noreply@...>
Issue #18373 has been reported by vo.x (Vit Ondruch).
28 messages
2021/12/01
[ruby-core:106875] [Ruby master Bug#18442] Make Ruby 3.0.3 on Solaris 10 with "The following command caused the error: cc -D_STDC_C99= "
From:
"dklein (Dmitri Klein)" <noreply@...>
Date:
2021-12-28 20:49:33 UTC
List:
ruby-core #106875
Issue #18442 has been updated by dklein (Dmitri Klein).
/usr/local/gcc4/bin/gcc --version
gcc (GCC) 4.5.1
gmake
BASERUBY = echo executable host ruby is required. use --with-baseruby option.; false
CC = /usr/local/gcc4/bin/gcc -std=gnu99
LD = /usr/ccs/bin/ld
LDSHARED = /usr/local/gcc4/bin/gcc -std=gnu99 -G
CFLAGS = -g -erroff=E_STATEMENT_NOT_REACHED -erroff=E_INIT_SIGN_EXTEND -erroff=E_INIT_DOES_NOT_FIT -erroff=E_INITIALIZATION_TYPE_MISMATCH
XCFLAGS = -DRUBY_EXPORT -I. -I.ext/include/i386-solaris2.10 -I./include -I. -I./enc/unicode/12.1.0
CPPFLAGS = -D_XOPEN_SOURCE=600
DLDFLAGS =
SOLIBS = -lz -lpthread -lrt -lrt -lrt -lsocket -ldl -lcrypt -lm
LANG =
LC_ALL =
LC_CTYPE =
MFLAGS =
gcc: '-V' must come at the start of the command line
gmake: [showflags] Error 1 (ignored)
compiling ./main.c
Assembler: main.c
"/var/tmp//cccYLZfp.s", line 10 : Illegal mnemonic
Near line: " .cfi_sections .debug_frame"
...
"/var/tmp//cccYLZfp.s", line 56 : Syntax error
Near line: " .cfi_def_cfa_offset 8"
Too many errors - Goodbye
gmake: *** [main.o] Error 1
----------------------------------------
Bug #18442: Make Ruby 3.0.3 on Solaris 10 with "The following command caused the error: cc -D_STDC_C99= "
https://bugs.ruby-lang.org/issues/18442#change-95685
* Author: dklein (Dmitri Klein)
* Status: Open
* Priority: Normal
* Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN
----------------------------------------
make
...
cc: acomp failed for vm.c
*** Error code 2
The following command caused the error:
cc -D_STDC_C99= -g -erroff=E_STATEMENT_NOT_REACHED -erroff=E_INIT_SIGN_EXTEND -erroff=E_INIT_DOES_NOT_FIT -erroff=E_INITIALIZATION_TYPE_MISMATCH -DRUBY_EXPORT -I. -I.ext/include/i386-solaris2.10 -I./include -I. -I./enc/unicode/12.1.0 -D_XOPEN_SOURCE=600 -o vm.o -c vm.c
make: Fatal error: Command failed for target `vm.o'
#
======
Configuration summary for ruby version 3.0.3
* Installation prefix: /usr/local
* exec prefix: ${prefix}
* arch: i386-solaris2.10
* site arch: ${arch}
* RUBY_BASE_NAME: ruby
* ruby lib prefix: ${libdir}/${RUBY_BASE_NAME}
* site libraries path: ${rubylibprefix}/${sitearch}
* vendor path: ${rubylibprefix}/vendor_ruby
* target OS: solaris2.10
* compiler: cc -D_STDC_C99=
* with pthread: yes
* with coroutine: ucontext
* enable shared libs: no
* dynamic library ext: so
* CFLAGS: ${optflags} ${debugflags} ${warnflags}
* LDFLAGS: -L.
* debugflags: -g
* warnflags: -erroff=E_STATEMENT_NOT_REACHED \
-erroff=E_INIT_SIGN_EXTEND \
-erroff=E_INIT_DOES_NOT_FIT \
-erroff=E_INITIALIZATION_TYPE_MISMATCH
* strip command: gstrip -S -x
* install doc: rdoc
* JIT support: yes
* man page type: man
---
#
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>