lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiling 2.19.83 needs guile-config < 1.9.0


From: Jonathan Armitage
Subject: Re: compiling 2.19.83 needs guile-config < 1.9.0
Date: Fri, 17 Jan 2020 22:48:40 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.3.1

I hit a similar problem some time ago. I too tried various versions of Guile.

I have no idea whether this helps or not, but here goes:

mymac:guile-1.8.8 jon$ make

/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in oop
Making all in goops
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in libguile
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H   -I.. -I.. -I..  -D_THREAD_SAFE  -g -O2 -Wall -Wmissing-prototypes -Werror -MT libguile_la-numbers.lo -MD -MP -MF .deps/libguile_la-numbers.Tpo -c -o libguile_la-numbers.lo `test -f 'numbers.c' || echo './'`numbers.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I.. -I.. -I.. -D_THREAD_SAFE -g -O2 -Wall -Wmissing-prototypes -Werror -MT libguile_la-numbers.lo -MD -MP -MF .deps/libguile_la-numbers.Tpo -c numbers.c  -fno-common -DPIC -o .libs/libguile_la-numbers.o
numbers.c:434:13: error: shifting a negative signed value is undefined
      [-Werror,-Wshift-negative-value]
            return SCM_I_MAKINUM(-1);
                   ^~~~~~~~~~~~~~~~~
../libguile/numbers.h:74:41: note: expanded from macro 'SCM_I_MAKINUM'
  (SCM_PACK ((((scm_t_signed_bits) (x)) << 2) + scm_tc2_int))
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
../libguile/tags.h:129:32: note: expanded from macro 'SCM_PACK'
#   define SCM_PACK(x) ((SCM) (x))
                               ^
numbers.c:784:22: error: shifting a negative signed value is undefined
      [-Werror,-Wshift-negative-value]
              return SCM_I_MAKINUM (-1);
                     ^~~~~~~~~~~~~~~~~~
../libguile/numbers.h:74:41: note: expanded from macro 'SCM_I_MAKINUM'
  (SCM_PACK ((((scm_t_signed_bits) (x)) << 2) + scm_tc2_int))
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
../libguile/tags.h:129:32: note: expanded from macro 'SCM_PACK'
#   define SCM_PACK(x) ((SCM) (x))
                               ^
numbers.c:1254:9: error: shifting a negative signed value is undefined
      [-Werror,-Wshift-negative-value]
        return SCM_I_MAKINUM (-1);
               ^~~~~~~~~~~~~~~~~~
../libguile/numbers.h:74:41: note: expanded from macro 'SCM_I_MAKINUM'
  (SCM_PACK ((((scm_t_signed_bits) (x)) << 2) + scm_tc2_int))
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
../libguile/tags.h:129:32: note: expanded from macro 'SCM_PACK'
#   define SCM_PACK(x) ((SCM) (x))
                               ^
numbers.c:1745:26: error: shifting a negative signed value is undefined
      [-Werror,-Wshift-negative-value]
  else if (scm_is_eq (n, SCM_I_MAKINUM (-1L)))
           ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
../libguile/numbers.h:74:41: note: expanded from macro 'SCM_I_MAKINUM'
  (SCM_PACK ((((scm_t_signed_bits) (x)) << 2) + scm_tc2_int))
                                        ^
../libguile/tags.h:129:32: note: expanded from macro 'SCM_PACK'
#   define SCM_PACK(x) ((SCM) (x))
                               ^
../libguile/tags.h:145:56: note: expanded from macro 'scm_is_eq'
#define scm_is_eq(x, y) (SCM_UNPACK (x) == SCM_UNPACK (y))
                                           ~~~~~~~~~~~~^~
../libguile/tags.h:122:60: note: expanded from macro 'SCM_UNPACK'
#   define SCM_UNPACK(x) ((scm_t_bits) (0? (*(SCM*)0=(x)): x))
                                                           ^
numbers.c:1865:51: error: shifting a negative signed value is undefined
      [-Werror,-Wshift-negative-value]
            return (nn >= 0 ? SCM_I_MAKINUM (0) : SCM_I_MAKINUM(-1));
                                                  ^~~~~~~~~~~~~~~~~
../libguile/numbers.h:74:41: note: expanded from macro 'SCM_I_MAKINUM'
  (SCM_PACK ((((scm_t_signed_bits) (x)) << 2) + scm_tc2_int))
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
../libguile/tags.h:129:32: note: expanded from macro 'SCM_PACK'
#   define SCM_PACK(x) ((SCM) (x))
                               ^
numbers.c:6206:3: error: shifting a negative signed value is undefined
      [-Werror,-Wshift-negative-value]
                SCM_I_MAKINUM (SCM_MOST_NEGATIVE_FIXNUM));
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libguile/numbers.h:74:41: note: expanded from macro 'SCM_I_MAKINUM'
  (SCM_PACK ((((scm_t_signed_bits) (x)) << 2) + scm_tc2_int))
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
../libguile/tags.h:129:32: note: expanded from macro 'SCM_PACK'
#   define SCM_PACK(x) ((SCM) (x))
                               ^
6 errors generated.
make[3]: *** [libguile_la-numbers.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

On 17/01/2020 22:17, Michael Käppler wrote:
Am 17.01.2020 um 23:01 schrieb Michael Käppler:
Could you please provide some information how your build actually failed?
What was the error message you received?
I mean: how did the >guile< build fail?
Did you try the latest 1.8 release (1.8.8)?
If not, please download http://ftp.gnu.org/gnu/guile/guile-1.8.8.tar.gz
and retry.
Attach your config.log, please.


Cheers,
Michael


Attachment: config.log
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]