GNU bug report logs - #24681
undefined reference to `mktime_internal' on solaris sparc

Previous Next

Package: guile;

Reported by: "Christian Jullien" <eligis <at> orange.fr>

Date: Thu, 13 Oct 2016 06:05:02 UTC

Severity: normal

To reply to this bug, email your comments to 24681 AT debbugs.gnu.org.

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#24681; Package guile. (Thu, 13 Oct 2016 06:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Christian Jullien" <eligis <at> orange.fr>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Thu, 13 Oct 2016 06:05:02 GMT) Full text and rfc822 format available.

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

From: "Christian Jullien" <eligis <at> orange.fr>
To: <bug-guile <at> gnu.org>
Subject: undefined reference to `mktime_internal' on solaris sparc
Date: Thu, 13 Oct 2016 08:03:45 +0200
[Message part 1 (text/plain, inline)]
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)

 

 

[Message part 2 (text/html, inline)]

Information forwarded to bug-guile <at> gnu.org:
bug#24681; Package guile. (Wed, 01 Mar 2017 12:47:01 GMT) Full text and rfc822 format available.

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

From: Andy Wingo <wingo <at> pobox.com>
To: "Christian Jullien" <eligis <at> orange.fr>
Cc: 24681 <at> debbugs.gnu.org
Subject: Re: bug#24681: undefined reference to `mktime_internal' on solaris
 sparc
Date: Wed, 01 Mar 2017 13:46:09 +0100
Hi Christian,

On Thu 13 Oct 2016 08:03, "Christian Jullien" <eligis <at> orange.fr> 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




Information forwarded to bug-guile <at> gnu.org:
bug#24681; Package guile. (Thu, 02 Mar 2017 05:21:01 GMT) Full text and rfc822 format available.

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

From: "Christian Jullien" <eligis <at> orange.fr>
To: "'Andy Wingo'" <wingo <at> pobox.com>
Cc: 24681 <at> debbugs.gnu.org
Subject: RE: bug#24681: undefined reference to `mktime_internal' on solaris
 sparc
Date: Thu, 2 Mar 2017 06:19:58 +0100
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 <at> pastre]~$ cd guile-2.0.14

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

[jullien <at> 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 <at> 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:wingo <at> pobox.com] 
Sent: mercredi 1 mars 2017 13:46
To: Christian Jullien
Cc: 24681 <at> 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" <eligis <at> orange.fr> 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





Information forwarded to bug-guile <at> gnu.org:
bug#24681; Package guile. (Thu, 02 Mar 2017 07:39:01 GMT) Full text and rfc822 format available.

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

From: Andy Wingo <wingo <at> pobox.com>
To: "Christian Jullien" <eligis <at> orange.fr>
Cc: 24681 <at> debbugs.gnu.org
Subject: Re: bug#24681: undefined reference to `mktime_internal' on solaris
 sparc
Date: Thu, 02 Mar 2017 08:38:09 +0100
On Thu 02 Mar 2017 06:19, "Christian Jullien" <eligis <at> 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




Information forwarded to bug-guile <at> gnu.org:
bug#24681; Package guile. (Thu, 02 Mar 2017 08:05:01 GMT) Full text and rfc822 format available.

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

From: Christian JULLIEN <eligis <at> orange.fr>
To: Andy Wingo <wingo <at> pobox.com>
Cc: "24681 <at> debbugs.gnu.org" <24681 <at> debbugs.gnu.org>
Subject: RE : Re: bug#24681: undefined reference to `mktime_internal' on
 solaris sparc
Date: Thu, 2 Mar 2017 09:04:14 +0100 (CET)
[Message part 1 (text/plain, inline)]
Ok don't hesitate to ping me for any test you want me to do.

C.



 Le&nbsp;:&nbsp;02 mars 2017 à 08:38 (GMT +01:00)
De&nbsp;:&nbsp;"Andy Wingo" &lt;wingo <at> pobox.com&gt;
À&nbsp;:&nbsp;"Christian Jullien" &lt;eligis <at> orange.fr&gt;
Cc&nbsp;:&nbsp;"24681 <at> debbugs.gnu.org" &lt;24681 <at> debbugs.gnu.org&gt;
Objet&nbsp;:&nbsp;Re: bug#24681: undefined reference to `mktime_internal' on solaris sparc


On Thu 02 Mar 2017 06:19, "Christian Jullien" &lt;eligis <at> orange.fr&gt; writes:

&gt; Thank you Andy,
&gt;
&gt; 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
[Message part 2 (text/html, inline)]

Information forwarded to bug-guile <at> gnu.org:
bug#24681; Package guile. (Thu, 16 Mar 2017 05:34:01 GMT) Full text and rfc822 format available.

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

From: "Christian Jullien" <eligis <at> orange.fr>
To: "'Andy Wingo'" <wingo <at> pobox.com>
Cc: 24681 <at> debbugs.gnu.org, jullien <at> eligis.com
Subject: RE: bug#24681: undefined reference to `mktime_internal' on solaris
 sparc
Date: Thu, 16 Mar 2017 06:33:19 +0100
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:eligis <at> orange.fr] 
Sent: jeudi 2 mars 2017 06:20
To: 'Andy Wingo'
Cc: '24681 <at> 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 <at> pastre]~$ cd guile-2.0.14

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

[jullien <at> 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 <at> 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:wingo <at> pobox.com]
Sent: mercredi 1 mars 2017 13:46
To: Christian Jullien
Cc: 24681 <at> 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" <eligis <at> orange.fr> 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





This bug report was last modified 8 years and 91 days ago.

Previous Next


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