bug#24681: undefined reference to `mktime_internal' on solaris sparc

2017-03-15 Thread Christian Jullien
Hello Handy,

I'm afraid that 2.2 also suffers from the same issue:

  CCLD guile
./.libs/libguile-2.2.so: undefined reference to `mktime_internal'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:2435: guile] Error 1
make[3]: Leaving directory '/export/home/jullien/guile-2.2.0/libguile'
make[2]: *** [Makefile:2294: all] Error 2
make[2]: Leaving directory '/export/home/jullien/guile-2.2.0/libguile'
make[1]: *** [Makefile:1857: all-recursive] Error 1
make[1]: Leaving directory '/export/home/jullien/guile-2.2.0'
make: *** [Makefile:1743: all] Error 2

Regards.

-Original Message-
From: Christian Jullien [mailto:eli...@orange.fr] 
Sent: jeudi 2 mars 2017 06:20
To: 'Andy Wingo'
Cc: '24...@debbugs.gnu.org'
Subject: RE: bug#24681: undefined reference to `mktime_internal' on solaris 
sparc

Thank you Andy,

By stable-2.0 branch, if you mean guile-2.0.14.tar.gz, I'm afraid this issue is 
still there.

[jullien@pastre]~$ cd guile-2.0.14

[jullien@pastre]guile-2.0.14$ uname -a
SunOS pastre 5.10 Generic_147147-26 sun4u sparc SUNW,Ultra-5_10 Solaris

[jullien@pastre]guile-2.0.14$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/sparc-sun-solaris2.10/6.2.0/lto-wrapper
Target: sparc-sun-solaris2.10
Configured with: ../configure --with-gnu-as --with-as=/usr/local/bin/as 
--with-gnu-ld --with-ld=/usr/local/bin/ld --enable-shared --disable-lto 
--disable-nls --enable-languages=c,c++ Thread model: posix gcc version 6.2.0 
(GCC)

[jullien@pastre]PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure; time make 
...
make[2]: Entering directory '/export/home/jullien/guile-2.0.14/libguile'
make  all-am
make[3]: Entering directory '/export/home/jullien/guile-2.0.14/libguile'
  CCLD guile
./.libs/libguile-2.0.so: undefined reference to `mktime_internal'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:2327: guile] Error 1
make[3]: Leaving directory '/export/home/jullien/guile-2.0.14/libguile'
make[2]: *** [Makefile:2186: all] Error 2
make[2]: Leaving directory '/export/home/jullien/guile-2.0.14/libguile'
make[1]: *** [Makefile:1841: all-recursive] Error 1
make[1]: Leaving directory '/export/home/jullien/guile-2.0.14'
make: *** [Makefile:1727: all] Error 2

I'll be glad to help you and to make more tests (Btw I'm also a lisp compiler 
writer https://en.wikipedia.org/wiki/OpenLisp)

-Original Message-
From: Andy Wingo [mailto:wi...@pobox.com]
Sent: mercredi 1 mars 2017 13:46
To: Christian Jullien
Cc: 24...@debbugs.gnu.org
Subject: Re: bug#24681: undefined reference to `mktime_internal' on solaris 
sparc

Hi Christian,

On Thu 13 Oct 2016 08:03, "Christian Jullien"  writes:

> Trying to compile guile on solaris sparcs (I’m using gcc 6.2) I get:
>
> CC guile-guile.o
>
> CCLD guile
>
> ./.libs/libguile-2.0.so: undefined reference to `mktime_internal'
>
> collect2: error: ld returned 1 exit status

This appears to be a Gnulib problem of some kind.  See:

  https://lists.gnu.org/archive/html/guile-devel/2016-07/msg00012.html

I believe that after updating gnulib, one of the modules we pulled in added 
this mktime-internal dependency.  It should be built on platforms that require 
it, and not otherwise.  It appears that your platform requires it but is not 
building it; irritating!  

I just updated Gnulib again today; I wonder if it fixes this problem.
Are you able to build from git?  If so can you try the stable-2.0 branch?

Andy






bug#24681: RE : Re: bug#24681: undefined reference to `mktime_internal' on solaris sparc

2017-03-02 Thread Christian JULLIEN
Ok don't hesitate to ping me for any test you want me to do.

C.



 Le : 02 mars 2017 à 08:38 (GMT +01:00)
De : "Andy Wingo" <wi...@pobox.com>
À : "Christian Jullien" <eli...@orange.fr>
Cc : "24...@debbugs.gnu.org" <24...@debbugs.gnu.org>
Objet : Re: bug#24681: undefined reference to `mktime_internal' on 
solaris sparc


On Thu 02 Mar 2017 06:19, "Christian Jullien" <eli...@orange.fr> writes:

> Thank you Andy,
>
> By stable-2.0 branch, if you mean guile-2.0.14.tar.gz, I'm afraid this 
issue is still there.

Thanks for checking.  The changes I refer to haven't been released yet
and will be in 2.0.15.

Cheers,

Andy

bug#24681: undefined reference to `mktime_internal' on solaris sparc

2017-03-01 Thread Andy Wingo
On Thu 02 Mar 2017 06:19, "Christian Jullien"  writes:

> Thank you Andy,
>
> By stable-2.0 branch, if you mean guile-2.0.14.tar.gz, I'm afraid this issue 
> is still there.

Thanks for checking.  The changes I refer to haven't been released yet
and will be in 2.0.15.

Cheers,

Andy





bug#24681: undefined reference to `mktime_internal' on solaris sparc

2017-03-01 Thread Christian Jullien
Thank you Andy,

By stable-2.0 branch, if you mean guile-2.0.14.tar.gz, I'm afraid this issue is 
still there.

[jullien@pastre]~$ cd guile-2.0.14

[jullien@pastre]guile-2.0.14$ uname -a
SunOS pastre 5.10 Generic_147147-26 sun4u sparc SUNW,Ultra-5_10 Solaris

[jullien@pastre]guile-2.0.14$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/sparc-sun-solaris2.10/6.2.0/lto-wrapper
Target: sparc-sun-solaris2.10
Configured with: ../configure --with-gnu-as --with-as=/usr/local/bin/as 
--with-gnu-ld --with-ld=/usr/local/bin/ld --enable-shared --disable-lto 
--disable-nls --enable-languages=c,c++
Thread model: posix
gcc version 6.2.0 (GCC)

[jullien@pastre]PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure; time make
...
make[2]: Entering directory '/export/home/jullien/guile-2.0.14/libguile'
make  all-am
make[3]: Entering directory '/export/home/jullien/guile-2.0.14/libguile'
  CCLD guile
./.libs/libguile-2.0.so: undefined reference to `mktime_internal'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:2327: guile] Error 1
make[3]: Leaving directory '/export/home/jullien/guile-2.0.14/libguile'
make[2]: *** [Makefile:2186: all] Error 2
make[2]: Leaving directory '/export/home/jullien/guile-2.0.14/libguile'
make[1]: *** [Makefile:1841: all-recursive] Error 1
make[1]: Leaving directory '/export/home/jullien/guile-2.0.14'
make: *** [Makefile:1727: all] Error 2

I'll be glad to help you and to make more tests (Btw I'm also a lisp compiler 
writer https://en.wikipedia.org/wiki/OpenLisp)

-Original Message-
From: Andy Wingo [mailto:wi...@pobox.com] 
Sent: mercredi 1 mars 2017 13:46
To: Christian Jullien
Cc: 24...@debbugs.gnu.org
Subject: Re: bug#24681: undefined reference to `mktime_internal' on solaris 
sparc

Hi Christian,

On Thu 13 Oct 2016 08:03, "Christian Jullien"  writes:

> Trying to compile guile on solaris sparcs (I’m using gcc 6.2) I get:
>
> CC guile-guile.o
>
> CCLD guile
>
> ./.libs/libguile-2.0.so: undefined reference to `mktime_internal'
>
> collect2: error: ld returned 1 exit status

This appears to be a Gnulib problem of some kind.  See:

  https://lists.gnu.org/archive/html/guile-devel/2016-07/msg00012.html

I believe that after updating gnulib, one of the modules we pulled in added 
this mktime-internal dependency.  It should be built on platforms that require 
it, and not otherwise.  It appears that your platform requires it but is not 
building it; irritating!  

I just updated Gnulib again today; I wonder if it fixes this problem.
Are you able to build from git?  If so can you try the stable-2.0 branch?

Andy






bug#24681: undefined reference to `mktime_internal' on solaris sparc

2017-03-01 Thread Andy Wingo
Hi Christian,

On Thu 13 Oct 2016 08:03, "Christian Jullien"  writes:

> Trying to compile guile on solaris sparcs (I’m using gcc 6.2) I get:
>
> CC guile-guile.o
>
> CCLD guile
>
> ./.libs/libguile-2.0.so: undefined reference to `mktime_internal'
>
> collect2: error: ld returned 1 exit status

This appears to be a Gnulib problem of some kind.  See:

  https://lists.gnu.org/archive/html/guile-devel/2016-07/msg00012.html

I believe that after updating gnulib, one of the modules we pulled in
added this mktime-internal dependency.  It should be built on platforms
that require it, and not otherwise.  It appears that your platform
requires it but is not building it; irritating!  

I just updated Gnulib again today; I wonder if it fixes this problem.
Are you able to build from git?  If so can you try the stable-2.0
branch?

Andy





bug#24681: undefined reference to `mktime_internal' on solaris sparc

2016-10-12 Thread Christian Jullien
Hi,

 

Trying to compile guile on solaris sparcs (I'm using gcc 6.2) I get:

  CC   guile-guile.o

  CCLD guile

./.libs/libguile-2.0.so: undefined reference to `mktime_internal'

collect2: error: ld returned 1 exit status

make[3]: *** [Makefile:2327: guile] Error 1

 

with guile-2.0.12.tar.gz and guile-2.0.11.tar.gz but works with
guile-2.0.10.tar.gz

 

Is there any configure flag I can use. Currently, I'm using:

 

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure; time make

 

$ gcc -v

Using built-in specs.

COLLECT_GCC=gcc

COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/sparc-sun-solaris2.10/6.2.0/lto-w
rapper

Target: sparc-sun-solaris2.10

Configured with: ../configure --with-gnu-as --with-as=/usr/local/bin/as
--with-gnu-ld --with-ld=/usr/local/bin/ld --enable-shared --disable-lto
--disable-nls --enable-languages=c,c++

Thread model: posix

gcc version 6.2.0 (GCC)