[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#38516: [guile-2.9.6] make failed on Solaris x86/x64
From: |
Kiyoshi KANAZAWA |
Subject: |
bug#38516: [guile-2.9.6] make failed on Solaris x86/x64 |
Date: |
Sat, 7 Dec 2019 09:12:29 +0900 (JST) |
Hello,
Trying guile-2.9.6.
Make fails on Solaris x86/64 with 32 bit mode.
It does not happen with 64 bit mode.
$ uname -a
SunOS hidden 5.11 11.3 i86pc i386 i86pc
$ gcc --version
gcc (GCC) 7.5.0
$ ./configure --prefix=/opt/local --with-libiconv-prefix=/opt/local/locale
--with-libunistring-prefix=/opt/local --with-libltdl-prefix=/opt/local
--with-libgmp-prefix=/opt/local --with-libintl-prefix=/opt/local/locale
--with-libreadline-prefix=/opt/local CC=gcc CXX=g++
(GNU software are installed in /opt/local)
$ make
:
CC libguile_3.0_la-ioext.lo
CC libguile_3.0_la-jit.lo
jit.c: In function 'compile_s64_to_f64':
jit.c:4293:27: error: incompatible type for argument 3 of 'emit_sp_ref_s64'
emit_sp_ref_s64 (j, T0, src);
^~~
jit.c:1072:1: note: expected 'jit_gpr_t {aka struct jit_gpr}' but argument is
of type 'uint16_t {aka short unsigned int}'
emit_sp_ref_s64 (scm_jit_state *j, jit_gpr_t dst_lo, jit_gpr_t dst_hi,
^~~~~~~~~~~~~~~
jit.c:4293:3: error: too few arguments to function 'emit_sp_ref_s64'
emit_sp_ref_s64 (j, T0, src);
^~~~~~~~~~~~~~~
jit.c:1072:1: note: declared here
emit_sp_ref_s64 (scm_jit_state *j, jit_gpr_t dst_lo, jit_gpr_t dst_hi,
^~~~~~~~~~~~~~~
jit.c: In function 'scm_jit_compute_mcode':
jit.c:4943:44: warning: format '%d' expects argument of type 'int', but
argument 3 has type 'pid_t {aka long int}' [-Wformat=]
fprintf (stderr, " gdb -p %d\n\n", getpid ());
~^ ~~~~~~~~~
%ld
At top level:
jit.c:1018:1: warning: 'sp_s32_operand' defined but not used [-Wunused-function]
sp_s32_operand (scm_jit_state *j, uint32_t src)
^~~~~~~~~~~~~~
jit.c:964:1: warning: 'sp_u64_operand' defined but not used [-Wunused-function]
sp_u64_operand (scm_jit_state *j, uint32_t slot)
^~~~~~~~~~~~~~
make[3]: *** [Makefile:3126: libguile_3.0_la-jit.lo] Error 1
make[3]: Leaving directory '/tmp/guile-2.9.6/libguile'
make[2]: *** [Makefile:2426: all] Error 2
make[2]: Leaving directory '/tmp/guile-2.9.6/libguile'
make[1]: *** [Makefile:1849: all-recursive] Error 1
make[1]: Leaving directory '/tmp/guile-2.9.6'
make: *** [Makefile:1735: all] Error 2
Make passes with 64 bit mode, such as
$ ./configure --prefix=/opt/local/amd64
--with-libiconv-prefix=/opt/local/locale/amd64
--with-libunistring-prefix=/opt/local/amd64
--with-libltdl-prefix=/opt/local/amd64 --with-libgmp-prefix=/opt/local/amd64
--with-libintl-prefix=/opt/local/locale/amd64
--with-libreadline-prefix=/opt/local/amd64 CC="gcc -m64" CXX="g++ -m64"
Regards,
--- Kiyoshi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#38516: [guile-2.9.6] make failed on Solaris x86/x64,
Kiyoshi KANAZAWA <=