unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#38890: 2.9.8 fails to build on 32bit (armv7l and i586)
@ 2020-01-03 11:15 Jonathan Brielmaier
  2020-01-11 17:02 ` Jonathan Brielmaier
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Brielmaier @ 2020-01-03 11:15 UTC (permalink / raw)
  To: 38890

While building guile 2.9.8 on openSUSE Tumbleweed, you get the same
build failure on armv7l and i586. So I assume it has something to do
with 32bit.

libtool: compile:  gcc -std=gnu11 -DHAVE_CONFIG_H -DBUILDING_LIBGUILE=1
-I.. -I.. -I../lib -I../lib -iquote. -I../libguile/lightening
-I/home/abuild/rpmbuild/BUILD/guile-2.9.8 -pthread -Wall
-Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing -fwrapv
-fvisibility=hidden -fomit-frame-pointer -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -Werror=return-type -flto=auto -c jit.c  -fPIC
-DPIC -o .libs/libguile_3.0_la-jit.o
jit.c: In function 'compile_s64_to_f64':
jit.c:5007:27: error: incompatible type for argument 3 of 'emit_sp_ref_s64'
5007 |   emit_sp_ref_s64 (j, T0, src);
     |                           ^~~
     |                           |
     |                           uint16_t {aka short unsigned int}
jit.c:1082:64: note: expected 'jit_gpr_t' {aka 'struct jit_gpr'} but
argument is of type 'uint16_t' {aka 'short unsigned int'}
1082 | emit_sp_ref_s64 (scm_jit_state *j, jit_gpr_t dst_lo, jit_gpr_t
dst_hi,
     |                                                   ~~~~~~~~~^~~~~~
jit.c:5007:3: error: too few arguments to function 'emit_sp_ref_s64'
5007 |   emit_sp_ref_s64 (j, T0, src);
     |   ^~~~~~~~~~~~~~~
jit.c:1082:1: note: declared here
1082 | emit_sp_ref_s64 (scm_jit_state *j, jit_gpr_t dst_lo, jit_gpr_t
dst_hi,
     | ^~~~~~~~~~~~~~~
At top level:
jit.c:1028:1: warning: 'sp_s32_operand' defined but not used
[-Wunused-function]
1028 | sp_s32_operand (scm_jit_state *j, uint32_t src)
     | ^~~~~~~~~~~~~~
jit.c:974:1: warning: 'sp_u64_operand' defined but not used
[-Wunused-function]
974 | sp_u64_operand (scm_jit_state *j, uint32_t slot)
    | ^~~~~~~~~~~~~~





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

* bug#38890: 2.9.8 fails to build on 32bit (armv7l and i586)
  2020-01-03 11:15 bug#38890: 2.9.8 fails to build on 32bit (armv7l and i586) Jonathan Brielmaier
@ 2020-01-11 17:02 ` Jonathan Brielmaier
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Brielmaier @ 2020-01-11 17:02 UTC (permalink / raw)
  To: 38890-close

The build failure was fixed in commit
74f46efc73012c508850749579cef927e895726b.

Build is now fine again on armv7l and i586.





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

end of thread, other threads:[~2020-01-11 17:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-03 11:15 bug#38890: 2.9.8 fails to build on 32bit (armv7l and i586) Jonathan Brielmaier
2020-01-11 17:02 ` Jonathan Brielmaier

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 read-only IMAP folder(s) and NNTP newsgroup(s).