unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#32254: Solaris 11.3 and missing GC_get_heap_usage_safe symbol
       [not found] <CAH8yC8nF6BJz32OMUfFFEAwWXC_Vcws=M2FHm4d-xVaEDdr-9Q@mail.gmail.com>
@ 2018-07-23 22:23 ` Jeffrey Walton
  2018-08-02 15:29   ` Mark H Weaver
  0 siblings, 1 reply; 2+ messages in thread
From: Jeffrey Walton @ 2018-07-23 22:23 UTC (permalink / raw)
  To: 32254

[-- Attachment #1: Type: text/plain, Size: 2952 bytes --]

One more try to the right address.

On Mon, Jul 23, 2018 at 6:08 PM, Jeffrey Walton <noloader@gmail.com> wrote:
> I'm working on Solaris 11.3 with the 2.2.4 tarball. I'm trying to
> build and test Guile.
>
> Make is not completing the build step:
>
> solaris2:guile-2.2.4$ make V=1
> make  all-recursive
> make[1]: Entering directory '/export/home/build/guile-2.2.4'
> Making all in lib
> make[2]: Entering directory '/export/home/build/guile-2.2.4/lib'
> make  all-recursive
> make[3]: Entering directory '/export/home/build/guile-2.2.4/lib'
> make[4]: Entering directory '/export/home/build/guile-2.2.4/lib'
> make[4]: Nothing to be done for 'all-am'.
> make[4]: Leaving directory '/export/home/build/guile-2.2.4/lib'
> make[3]: Leaving directory '/export/home/build/guile-2.2.4/lib'
> make[2]: Leaving directory '/export/home/build/guile-2.2.4/lib'
> Making all in meta
> make[2]: Entering directory '/export/home/build/guile-2.2.4/meta'
> make[2]: Nothing to be done for 'all'.
> make[2]: Leaving directory '/export/home/build/guile-2.2.4/meta'
> Making all in libguile
> make[2]: Entering directory '/export/home/build/guile-2.2.4/libguile'
> make  all-am
> make[3]: Entering directory '/export/home/build/guile-2.2.4/libguile'
> /bin/sh ../libtool  --tag=CC   --mode=link gcc -std=gnu11
> -I/usr/local/include -D_REENTRANT -pthreads -Wall -Wmissing-prototypes
> -Wdeclaration-after-statement -Wpointer-arith -Wswitch-enum
> -fno-strict-aliasing -fwrapv -fvisibility=hidden -g2 -O2 -m64
> -march=native -fPIC -I/usr/local/include -D_REENTRANT -pthreads
> -L/usr/local/lib/64 -m64 -Wl,-R,/usr/local/lib/64 -o guile
> guile-guile.o libguile-2.2.la -lsocket -lnsl -ldl -lpthread -lm
> libtool: link: gcc -std=gnu11 -I/usr/local/include -D_REENTRANT
> -pthreads -Wall -Wmissing-prototypes -Wdeclaration-after-statement
> -Wpointer-arith -Wswitch-enum -fno-strict-aliasing -fwrapv
> -fvisibility=hidden -g2 -O2 -m64 -march=native -fPIC
> -I/usr/local/include -D_REENTRANT -pthreads -m64 -Wl,-R
> -Wl,/usr/local/lib/64 -o .libs/guile guile-guile.o
> -L/usr/local/lib/64 ./.libs/libguile-2.2.so -lbgc
> /usr/local/lib/64/libffi.so /usr/local/lib/64/libunistring.so
> /usr/local/lib/64/libiconv.so /usr/local/lib/64/libgmp.so -lltdl
> -lsocket -lnsl -ldl -lpthread -lm -pthreads -R/usr/local/lib/64
> Undefined                       first referenced
>  symbol                             in file
> GC_get_heap_usage_safe              ./.libs/libguile-2.2.so
> ld: fatal: symbol referencing errors
> collect2: error: ld returned 1 exit status
> make[3]: *** [Makefile:2564: guile] Error 1
> make[3]: Leaving directory '/export/home/build/guile-2.2.4/libguile'
> make[2]: *** [Makefile:2423: all] Error 2
> make[2]: Leaving directory '/export/home/build/guile-2.2.4/libguile'
> make[1]: *** [Makefile:1857: all-recursive] Error 1
> make[1]: Leaving directory '/export/home/build/guile-2.2.4'
> make: *** [Makefile:1743: all] Error 2
> solaris2:guile-2.2.4$

[-- Attachment #2: config.log.zip --]
[-- Type: application/octet-stream, Size: 109758 bytes --]

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

* bug#32254: Solaris 11.3 and missing GC_get_heap_usage_safe symbol
  2018-07-23 22:23 ` bug#32254: Solaris 11.3 and missing GC_get_heap_usage_safe symbol Jeffrey Walton
@ 2018-08-02 15:29   ` Mark H Weaver
  0 siblings, 0 replies; 2+ messages in thread
From: Mark H Weaver @ 2018-08-02 15:29 UTC (permalink / raw)
  To: Jeffrey Walton; +Cc: 32254

Hi Jeffrey,

Jeffrey Walton <noloader@gmail.com> writes:

> I'm working on Solaris 11.3 with the 2.2.4 tarball. I'm trying to
> build and test Guile.
>
> Make is not completing the build step:
>
> solaris2:guile-2.2.4$ make V=1
> make  all-recursive
> make[1]: Entering directory '/export/home/build/guile-2.2.4'
> Making all in lib
> make[2]: Entering directory '/export/home/build/guile-2.2.4/lib'
> make  all-recursive
> make[3]: Entering directory '/export/home/build/guile-2.2.4/lib'
> make[4]: Entering directory '/export/home/build/guile-2.2.4/lib'
> make[4]: Nothing to be done for 'all-am'.
> make[4]: Leaving directory '/export/home/build/guile-2.2.4/lib'
> make[3]: Leaving directory '/export/home/build/guile-2.2.4/lib'
> make[2]: Leaving directory '/export/home/build/guile-2.2.4/lib'
> Making all in meta
> make[2]: Entering directory '/export/home/build/guile-2.2.4/meta'
> make[2]: Nothing to be done for 'all'.
> make[2]: Leaving directory '/export/home/build/guile-2.2.4/meta'
> Making all in libguile
> make[2]: Entering directory '/export/home/build/guile-2.2.4/libguile'
> make  all-am
> make[3]: Entering directory '/export/home/build/guile-2.2.4/libguile'
> /bin/sh ../libtool  --tag=CC   --mode=link gcc -std=gnu11
> -I/usr/local/include -D_REENTRANT -pthreads -Wall -Wmissing-prototypes
> -Wdeclaration-after-statement -Wpointer-arith -Wswitch-enum
> -fno-strict-aliasing -fwrapv -fvisibility=hidden -g2 -O2 -m64
> -march=native -fPIC -I/usr/local/include -D_REENTRANT -pthreads
> -L/usr/local/lib/64 -m64 -Wl,-R,/usr/local/lib/64 -o guile
> guile-guile.o libguile-2.2.la -lsocket -lnsl -ldl -lpthread -lm
> libtool: link: gcc -std=gnu11 -I/usr/local/include -D_REENTRANT
> -pthreads -Wall -Wmissing-prototypes -Wdeclaration-after-statement
> -Wpointer-arith -Wswitch-enum -fno-strict-aliasing -fwrapv
> -fvisibility=hidden -g2 -O2 -m64 -march=native -fPIC
> -I/usr/local/include -D_REENTRANT -pthreads -m64 -Wl,-R
> -Wl,/usr/local/lib/64 -o .libs/guile guile-guile.o
> -L/usr/local/lib/64 ./.libs/libguile-2.2.so -lbgc
> /usr/local/lib/64/libffi.so /usr/local/lib/64/libunistring.so
> /usr/local/lib/64/libiconv.so /usr/local/lib/64/libgmp.so -lltdl
> -lsocket -lnsl -ldl -lpthread -lm -pthreads -R/usr/local/lib/64
> Undefined                       first referenced
>  symbol                             in file
> GC_get_heap_usage_safe              ./.libs/libguile-2.2.so
> ld: fatal: symbol referencing errors
> collect2: error: ld returned 1 exit status

What version of the Boehm-Demers-Weiser garbage collector (BDW-GC
a.k.a. libgc) are you linking with here?

GC_get_heap_usage_safe has been part of BDW-GC's public API since
version 7.2, which is the minimum version supported by Guile 2.2, as
noted in our README.

Guile's configure script attempts to verify that you have BDW-GC 7.2 or
newer with the following code in configure.ac:

  #--------------------------------------------------------------------
  #
  # Boehm's GC library
  #
  #--------------------------------------------------------------------
  AC_MSG_CHECKING(for which bdw-gc pkg-config file to use)
  AC_ARG_WITH(bdw_gc, [  --with-bdw-gc=PKG       name of BDW-GC pkg-config file],
              [bdw_gc="$withval"], [bdw_gc=bdw-gc])
  AC_MSG_RESULT($bdw_gc)
  PKG_CHECK_MODULES([BDW_GC], [$bdw_gc >= 7.2])

However, if you don't have 'pkg-config' installed on your system, I
guess this check will be skipped.

     Regards,
       Mark





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

end of thread, other threads:[~2018-08-02 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAH8yC8nF6BJz32OMUfFFEAwWXC_Vcws=M2FHm4d-xVaEDdr-9Q@mail.gmail.com>
2018-07-23 22:23 ` bug#32254: Solaris 11.3 and missing GC_get_heap_usage_safe symbol Jeffrey Walton
2018-08-02 15:29   ` Mark H Weaver

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).