GNU bug report logs - #38516
[guile-2.9.6] make failed on Solaris x86/x64

Previous Next

Package: guile;

Reported by: Kiyoshi KANAZAWA <yoi_no_myoujou <at> yahoo.co.jp>

Date: Sat, 7 Dec 2019 00:13:01 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38516 in the body.
You can then email your comments to 38516 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#38516; Package guile. (Sat, 07 Dec 2019 00:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kiyoshi KANAZAWA <yoi_no_myoujou <at> yahoo.co.jp>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Sat, 07 Dec 2019 00:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kiyoshi KANAZAWA <yoi_no_myoujou <at> yahoo.co.jp>
To: "bug-guile <at> gnu.org" <bug-guile <at> gnu.org>
Subject: [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





Reply sent to Andy Wingo <wingo <at> pobox.com>:
You have taken responsibility. (Sun, 12 Jan 2020 21:10:02 GMT) Full text and rfc822 format available.

Notification sent to Kiyoshi KANAZAWA <yoi_no_myoujou <at> yahoo.co.jp>:
bug acknowledged by developer. (Sun, 12 Jan 2020 21:10:02 GMT) Full text and rfc822 format available.

Message #10 received at 38516-done <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: Kiyoshi KANAZAWA <yoi_no_myoujou <at> yahoo.co.jp>
Cc: 38516-done <at> debbugs.gnu.org
Subject: Re: bug#38516: [guile-2.9.6] make failed on Solaris x86/x64
Date: Sun, 12 Jan 2020 22:09:34 +0100
On Sat 07 Dec 2019 01:12, Kiyoshi KANAZAWA <yoi_no_myoujou <at> yahoo.co.jp> writes:

> Hello,
>
> Trying guile-2.9.6.
> Make fails on Solaris x86/64 with 32 bit mode.
> It does not happen with 64 bit mode.
>
> $ 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);

Fixed in git.  Thanks for the report!

Andy




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 10 Feb 2020 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 70 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.