* bug#24681: undefined reference to `mktime_internal' on solaris sparc
@ 2016-10-13 6:03 Christian Jullien
2017-03-01 12:46 ` Andy Wingo
2017-03-02 8:04 ` bug#24681: RE : " Christian JULLIEN
0 siblings, 2 replies; 6+ messages in thread
From: Christian Jullien @ 2016-10-13 6:03 UTC (permalink / raw)
To: 24681
[-- Attachment #1: Type: text/plain, Size: 904 bytes --]
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)
[-- Attachment #2: Type: text/html, Size: 3369 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#24681: undefined reference to `mktime_internal' on solaris sparc
2016-10-13 6:03 bug#24681: undefined reference to `mktime_internal' on solaris sparc Christian Jullien
@ 2017-03-01 12:46 ` Andy Wingo
2017-03-02 5:19 ` Christian Jullien
2017-03-16 5:33 ` Christian Jullien
2017-03-02 8:04 ` bug#24681: RE : " Christian JULLIEN
1 sibling, 2 replies; 6+ messages in thread
From: Andy Wingo @ 2017-03-01 12:46 UTC (permalink / raw)
To: Christian Jullien; +Cc: 24681
Hi Christian,
On Thu 13 Oct 2016 08:03, "Christian Jullien" <eligis@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#24681: undefined reference to `mktime_internal' on solaris sparc
2017-03-01 12:46 ` Andy Wingo
@ 2017-03-02 5:19 ` Christian Jullien
2017-03-02 7:38 ` Andy Wingo
2017-03-16 5:33 ` Christian Jullien
1 sibling, 1 reply; 6+ messages in thread
From: Christian Jullien @ 2017-03-02 5:19 UTC (permalink / raw)
To: 'Andy Wingo'; +Cc: 24681
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:wingo@pobox.com]
Sent: mercredi 1 mars 2017 13:46
To: Christian Jullien
Cc: 24681@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@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#24681: undefined reference to `mktime_internal' on solaris sparc
2017-03-02 5:19 ` Christian Jullien
@ 2017-03-02 7:38 ` Andy Wingo
0 siblings, 0 replies; 6+ messages in thread
From: Andy Wingo @ 2017-03-02 7:38 UTC (permalink / raw)
To: Christian Jullien; +Cc: 24681
On Thu 02 Mar 2017 06:19, "Christian Jullien" <eligis@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#24681: RE : Re: bug#24681: undefined reference to `mktime_internal' on solaris sparc
2016-10-13 6:03 bug#24681: undefined reference to `mktime_internal' on solaris sparc Christian Jullien
2017-03-01 12:46 ` Andy Wingo
@ 2017-03-02 8:04 ` Christian JULLIEN
1 sibling, 0 replies; 6+ messages in thread
From: Christian JULLIEN @ 2017-03-02 8:04 UTC (permalink / raw)
To: Andy Wingo; +Cc: 24681@debbugs.gnu.org
[-- Attachment #1: Type: text/plain, Size: 730 bytes --]
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" <wingo@pobox.com>
À : "Christian Jullien" <eligis@orange.fr>
Cc : "24681@debbugs.gnu.org" <24681@debbugs.gnu.org>
Objet : Re: bug#24681: undefined reference to `mktime_internal' on solaris sparc
On Thu 02 Mar 2017 06:19, "Christian Jullien" <eligis@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
[-- Attachment #2: Type: text/html, Size: 1308 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#24681: undefined reference to `mktime_internal' on solaris sparc
2017-03-01 12:46 ` Andy Wingo
2017-03-02 5:19 ` Christian Jullien
@ 2017-03-16 5:33 ` Christian Jullien
1 sibling, 0 replies; 6+ messages in thread
From: Christian Jullien @ 2017-03-16 5:33 UTC (permalink / raw)
To: 'Andy Wingo'; +Cc: 24681, 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:eligis@orange.fr]
Sent: jeudi 2 mars 2017 06:20
To: 'Andy Wingo'
Cc: '24681@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:wingo@pobox.com]
Sent: mercredi 1 mars 2017 13:46
To: Christian Jullien
Cc: 24681@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@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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-03-16 5:33 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-13 6:03 bug#24681: undefined reference to `mktime_internal' on solaris sparc Christian Jullien
2017-03-01 12:46 ` Andy Wingo
2017-03-02 5:19 ` Christian Jullien
2017-03-02 7:38 ` Andy Wingo
2017-03-16 5:33 ` Christian Jullien
2017-03-02 8:04 ` bug#24681: RE : " Christian JULLIEN
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).