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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: "Christian Jullien" <eligis@HIDDEN>; dated Thu, 13 Oct 2016 06:05:02 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at 24681 <at> debbugs.gnu.org:


Received: (at 24681) by debbugs.gnu.org; 16 Mar 2017 05:33:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 16 01:33:57 2017
Received: from localhost ([127.0.0.1]:57865 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1coO2v-0008RI-3O
	for submit <at> debbugs.gnu.org; Thu, 16 Mar 2017 01:33:57 -0400
Received: from smtp01.smtpout.orange.fr ([80.12.242.123]:60040
 helo=smtp.smtpout.orange.fr)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eligis@HIDDEN>) id 1coO2s-0008R2-VL
 for 24681 <at> debbugs.gnu.org; Thu, 16 Mar 2017 01:33:55 -0400
Received: from young ([217.128.172.94]) by mwinf5d77 with ME
 id wVZN1u00G22ZY4h03VZZoW; Thu, 16 Mar 2017 06:33:48 +0100
X-ME-Helo: young
X-ME-Date: Thu, 16 Mar 2017 06:33:48 +0100
X-ME-IP: 217.128.172.94
From: "Christian Jullien" <eligis@HIDDEN>
To: "'Andy Wingo'" <wingo@HIDDEN>
References: <001f01d22517$9302de80$b9089b80$@orange.fr>
 <871suhi2r2.fsf@HIDDEN> 
In-Reply-To: 
Subject: RE: bug#24681: undefined reference to `mktime_internal' on solaris
 sparc
Date: Thu, 16 Mar 2017 06:33:19 +0100
Message-ID: <001c01d29e16$e17fbd80$a47f3880$@orange.fr>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQIh8Pri2PV54llNLs4+X91VdchPxAHPd//ToNPJ1oCAFgXL8A==
Content-Language: fr
X-Spam-Score: -2.8 (--)
X-Debbugs-Envelope-To: 24681
Cc: 24681 <at> debbugs.gnu.org, jullien@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.8 (--)

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@HIDDEN]=20
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@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=3Dgcc
COLLECT_LTO_WRAPPER=3D/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=3D/usr/local/bin/as --with-gnu-ld =
--with-ld=3D/usr/local/bin/ld --enable-shared --disable-lto =
--disable-nls --enable-languages=3Dc,c++ Thread model: posix gcc version =
6.2.0 (GCC)

[jullien@pastre]PKG_CONFIG_PATH=3D/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@HIDDEN]
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@HIDDEN> writes:

> Trying to compile guile on solaris sparcs (I=E2=80=99m 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! =20

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@HIDDEN:
bug#24681; Package guile. Full text available.

Message received at 24681 <at> debbugs.gnu.org:


Received: (at 24681) by debbugs.gnu.org; 2 Mar 2017 08:04:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 02 03:04:26 2017
Received: from localhost ([127.0.0.1]:35277 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cjLir-0002eF-VX
	for submit <at> debbugs.gnu.org; Thu, 02 Mar 2017 03:04:26 -0500
Received: from smtp08.smtpout.orange.fr ([80.12.242.130]:40937
 helo=smtp.smtpout.orange.fr)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eligis@HIDDEN>) id 1cjLiq-0002e2-ME
 for 24681 <at> debbugs.gnu.org; Thu, 02 Mar 2017 03:04:25 -0500
Received: from wwinf1w09 ([10.223.69.52]) by mwinf5d68 with ME
 id qw4E1u00k17g9Xu03w4F49; Thu, 02 Mar 2017 09:04:15 +0100
X-ME-Helo: wwinf1w09
X-ME-Auth: ZWxpZ2lzQG9yYW5nZS5mcg==
X-ME-Date: Thu, 02 Mar 2017 09:04:15 +0100
X-ME-IP: 90.63.224.191
Date: Thu, 2 Mar 2017 09:04:14 +0100 (CET)
From: Christian JULLIEN <eligis@HIDDEN>
To: Andy Wingo <wingo@HIDDEN>
Message-ID: <1631798652.2532.1488441854896.JavaMail.www@wwinf1w09>
Subject: RE : Re: bug#24681: undefined reference to `mktime_internal' on
 solaris sparc
MIME-Version: 1.0
Content-Type: multipart/alternative; 
 boundary="----=_Part_2531_1988247596.1488441854893"
X-Country-Code: 
X-me-spamlevel: not-spam
X-Cache-ID: 
Message-Context: email-message
X-Message-Size: 
X-WUM-SignatureAdded: 
X-SAVECOPY: true
X-National-Code: 
X-Cache-Entry: 
X-Wum-ChannelType: 
X-Originating-IP: 90.63.224.191
X-Wum-Nature: EMAIL-NATURE
X-WUM-FROM: |~|
X-WUM-TO: |~|
X-WUM-CC: |~|
X-WUM-REPLYTO: |~|
X-Spam-Score: -0.1 (/)
X-Debbugs-Envelope-To: 24681
Cc: "24681 <at> debbugs.gnu.org" <24681 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Christian JULLIEN <eligis@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

------=_Part_2531_1988247596.1488441854893
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Ok don't hesitate to ping me for any test you want me to do.

C.



 Le&nbsp;:&nbsp;02 mars 2017 =C3=A0 08:38 (GMT +01:00)
De&nbsp;:&nbsp;"Andy Wingo" &lt;wingo@HIDDEN&gt;
=C3=80&nbsp;:&nbsp;"Christian Jullien" &lt;eligis@HIDDEN&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' o=
n solaris sparc


On Thu 02 Mar 2017 06:19, "Christian Jullien" &lt;eligis@HIDDEN&gt; writ=
es:

&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
------=_Part_2531_1988247596.1488441854893
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font size=3D"2">Ok don't hesitate to ping me for any test you want me to d=
o.<br><br>C.<br></font><br><div class=3D"oo-writer-signature-70aca08999f710=
6f04cbae43d014b1e260e97207" data-oo-sig-id=3D"34819"></div><br><br><blockqu=
ote style=3D"border-left:2px solid #f16e00; padding-left:15px; margin:20px =
0 0 0;"> <b>Le&nbsp;:&nbsp;</b>02 mars 2017 =C3=A0 08:38 (GMT +01:00)<br><b=
>De&nbsp;:&nbsp;</b><span dir=3D"ltr">"Andy Wingo"</span> <span dir=3D"lrt"=
>&lt;wingo@HIDDEN&gt;</span><br><b>=C3=80&nbsp;:&nbsp;</b><span style=3D=
"white-space: nowrap; display: inline-block;"><span dir=3D"ltr">"Christian =
Jullien"</span> <span dir=3D"lrt">&lt;eligis@HIDDEN&gt;</span></span><br=
><b>Cc&nbsp;:&nbsp;</b><span style=3D"white-space: nowrap; display: inline-=
block;"><span dir=3D"ltr">"24681 <at> debbugs.gnu.org"</span> <span dir=3D"lrt">=
&lt;24681 <at> debbugs.gnu.org&gt;</span></span><br><b>Objet&nbsp;:&nbsp;</b>Re:=
 bug#24681: undefined reference to `mktime_internal' on solaris sparc<br><b=
r><br>On Thu 02 Mar 2017 06:19, "Christian Jullien" &lt;eligis@HIDDEN&gt=
; writes:<br><br>&gt; Thank you Andy,<br>&gt;<br>&gt; By stable-2.0 branch,=
 if you mean guile-2.0.14.tar.gz, I'm afraid this issue is still there.<br>=
<br>Thanks for checking.  The changes I refer to haven't been released yet<=
br>and will be in 2.0.15.<br><br>Cheers,<br><br>Andy</blockquote>
------=_Part_2531_1988247596.1488441854893--




Information forwarded to bug-guile@HIDDEN:
bug#24681; Package guile. Full text available.

Message received at 24681 <at> debbugs.gnu.org:


Received: (at 24681) by debbugs.gnu.org; 2 Mar 2017 07:38:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 02 02:38:22 2017
Received: from localhost ([127.0.0.1]:35256 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cjLJe-00021z-EU
	for submit <at> debbugs.gnu.org; Thu, 02 Mar 2017 02:38:22 -0500
Received: from pb-sasl2.pobox.com ([64.147.108.67]:56129
 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <wingo@HIDDEN>) id 1cjLJd-00021s-GW
 for 24681 <at> debbugs.gnu.org; Thu, 02 Mar 2017 02:38:21 -0500
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1])
 by pb-sasl2.pobox.com (Postfix) with ESMTP id DD20068151;
 Thu,  2 Mar 2017 02:38:19 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc
 :subject:references:date:in-reply-to:message-id:mime-version
 :content-type; s=sasl; bh=PYVHWUNWvVY79MwZI7U7A7T8fcc=; b=BC2TeY
 B1KyYe6G/o/VCYKH42Cdk+jYAIl/F4UDy4XZiEJirnUKdapNbX6EXdmB33nRDCiD
 vsYcpelpm59PuVnLvkITKpX3XxLX19sTJPnGjnA7Hp17a6VPNRMqQ6j6P0uSzy8G
 K5LcNFJJIY+cxkYJMEUMFtdIX6cquMHS9QAeM=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc
 :subject:references:date:in-reply-to:message-id:mime-version
 :content-type; q=dns; s=sasl; b=BuJRzkhPafKEmsh7CuTdVXvVWo2ERltk
 E+snncka46O9JY88t2F3fL5mtEEkDzJEEiVlSk552i7JDm3n+0o8Qkv34I4zInLI
 nTRwnMMQfu4aIB+ukUb6ufFAdZvlQxrXt3aEYYST46egwSRH9fGWk8KSS1WKBzDu
 IBk5qD0tkZ8=
Received: from pb-sasl2.nyi.icgroup.com (unknown [127.0.0.1])
 by pb-sasl2.pobox.com (Postfix) with ESMTP id D5E7068150;
 Thu,  2 Mar 2017 02:38:19 -0500 (EST)
Received: from clucks (unknown [88.160.190.192])
 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by pb-sasl2.pobox.com (Postfix) with ESMTPSA id BCEF96814F;
 Thu,  2 Mar 2017 02:38:17 -0500 (EST)
From: Andy Wingo <wingo@HIDDEN>
To: "Christian Jullien" <eligis@HIDDEN>
Subject: Re: bug#24681: undefined reference to `mktime_internal' on solaris
 sparc
References: <001f01d22517$9302de80$b9089b80$@orange.fr>
 <871suhi2r2.fsf@HIDDEN> <003a01d29314$a37bbc30$ea733490$@orange.fr>
Date: Thu, 02 Mar 2017 08:38:09 +0100
In-Reply-To: <003a01d29314$a37bbc30$ea733490$@orange.fr> (Christian Jullien's
 message of "Thu, 2 Mar 2017 06:19:58 +0100")
Message-ID: <87varsb02m.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Pobox-Relay-ID: 33DA4BD0-FF1B-11E6-A286-85AB91A0D1B0-02397024!pb-sasl2.pobox.com
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 24681
Cc: 24681 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

On Thu 02 Mar 2017 06:19, "Christian Jullien" <eligis@HIDDEN> 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@HIDDEN:
bug#24681; Package guile. Full text available.

Message received at 24681 <at> debbugs.gnu.org:


Received: (at 24681) by debbugs.gnu.org; 2 Mar 2017 05:20:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 02 00:20:10 2017
Received: from localhost ([127.0.0.1]:35219 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cjJ9u-00072V-GJ
	for submit <at> debbugs.gnu.org; Thu, 02 Mar 2017 00:20:10 -0500
Received: from smtp01.smtpout.orange.fr ([80.12.242.123]:50175
 helo=smtp.smtpout.orange.fr)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eligis@HIDDEN>) id 1cjJ9q-00071v-RC
 for 24681 <at> debbugs.gnu.org; Thu, 02 Mar 2017 00:20:08 -0500
Received: from young ([217.128.172.94]) by mwinf5d36 with ME
 id qtKz1u00J22ZY4h03tKzBF; Thu, 02 Mar 2017 06:20:00 +0100
X-ME-Helo: young
X-ME-Date: Thu, 02 Mar 2017 06:20:00 +0100
X-ME-IP: 217.128.172.94
From: "Christian Jullien" <eligis@HIDDEN>
To: "'Andy Wingo'" <wingo@HIDDEN>
References: <001f01d22517$9302de80$b9089b80$@orange.fr>
 <871suhi2r2.fsf@HIDDEN>
In-Reply-To: <871suhi2r2.fsf@HIDDEN>
Subject: RE: bug#24681: undefined reference to `mktime_internal' on solaris
 sparc
Date: Thu, 2 Mar 2017 06:19:58 +0100
Message-ID: <003a01d29314$a37bbc30$ea733490$@orange.fr>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQIh8Pri2PV54llNLs4+X91VdchPxAHPd//ToNPJ1oA=
Content-Language: fr
X-Spam-Score: -0.1 (/)
X-Debbugs-Envelope-To: 24681
Cc: 24681 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

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=3Dgcc
COLLECT_LTO_WRAPPER=3D/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=3D/usr/local/bin/as --with-gnu-ld =
--with-ld=3D/usr/local/bin/ld --enable-shared --disable-lto =
--disable-nls --enable-languages=3Dc,c++
Thread model: posix
gcc version 6.2.0 (GCC)

[jullien@pastre]PKG_CONFIG_PATH=3D/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@HIDDEN]=20
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@HIDDEN> writes:

> Trying to compile guile on solaris sparcs (I=E2=80=99m 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! =20

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@HIDDEN:
bug#24681; Package guile. Full text available.

Message received at 24681 <at> debbugs.gnu.org:


Received: (at 24681) by debbugs.gnu.org; 1 Mar 2017 12:46:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 01 07:46:23 2017
Received: from localhost ([127.0.0.1]:32938 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cj3eB-0006Si-3E
	for submit <at> debbugs.gnu.org; Wed, 01 Mar 2017 07:46:23 -0500
Received: from pb-sasl1.pobox.com ([64.147.108.66]:61112
 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <wingo@HIDDEN>) id 1cj3e8-0006SZ-Vk
 for 24681 <at> debbugs.gnu.org; Wed, 01 Mar 2017 07:46:21 -0500
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1])
 by pb-sasl1.pobox.com (Postfix) with ESMTP id 4CD005E6FF;
 Wed,  1 Mar 2017 07:46:18 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc
 :subject:references:date:in-reply-to:message-id:mime-version
 :content-type:content-transfer-encoding; s=sasl; bh=EwiZfDafSxa9
 YEb6lpxxH1JVLtA=; b=a684kdq0NSF4wMlT0ouq5TX4BLItSiWRMXGnu6Z2vI7a
 I6QLjnUZqdtTvH0fXyf2BWVxx4yNSBxNxce1eSE5rL0c+c4h6EV33swvKg1MlLDF
 oaBfU4cGSD/rC7OBhtX5B3d27+9WRVMyUakAUeNEPBYO6nf/+QbzLeMQ22FH6Rc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc
 :subject:references:date:in-reply-to:message-id:mime-version
 :content-type:content-transfer-encoding; q=dns; s=sasl; b=acCno0
 O+KUszjn6JxMJaECs4mrTI8s7aCizGxZYuN40cAYdArldkoS0OO+6csJRkIDvPXJ
 K/fsRSxt7l0xkkSkUuvCUC/4F/kVSyJ84eqjU2elCwHUmznkBwnSzPSrKMWxlBxl
 dPy0+VoJyILWHWrohSDDCYukzfMTCVKhpR8zo=
Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1])
 by pb-sasl1.pobox.com (Postfix) with ESMTP id 334C85E6FD;
 Wed,  1 Mar 2017 07:46:18 -0500 (EST)
Received: from clucks (unknown [109.190.228.233])
 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 531A85E6FC;
 Wed,  1 Mar 2017 07:46:17 -0500 (EST)
From: Andy Wingo <wingo@HIDDEN>
To: "Christian Jullien" <eligis@HIDDEN>
Subject: Re: bug#24681: undefined reference to `mktime_internal' on solaris
 sparc
References: <001f01d22517$9302de80$b9089b80$@orange.fr>
Date: Wed, 01 Mar 2017 13:46:09 +0100
In-Reply-To: <001f01d22517$9302de80$b9089b80$@orange.fr> (Christian Jullien's
 message of "Thu, 13 Oct 2016 08:03:45 +0200")
Message-ID: <871suhi2r2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Pobox-Relay-ID: 10148308-FE7D-11E6-B01B-B667064AB293-02397024!pb-sasl1.pobox.com
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 24681
Cc: 24681 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Hi Christian,

On Thu 13 Oct 2016 08:03, "Christian Jullien" <eligis@HIDDEN> writes:

> Trying to compile guile on solaris sparcs (I=E2=80=99m using gcc 6.2) I g=
et:
>
> 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!=20=20

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@HIDDEN:
bug#24681; Package guile. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Oct 2016 06:04:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 13 02:04:17 2016
Received: from localhost ([127.0.0.1]:53653 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1buZ7o-0006i1-Q1
	for submit <at> debbugs.gnu.org; Thu, 13 Oct 2016 02:04:16 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55201)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eligis@HIDDEN>) id 1buZ7m-0006ho-P3
 for submit <at> debbugs.gnu.org; Thu, 13 Oct 2016 02:04:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eligis@HIDDEN>) id 1buZ7f-00019x-QX
 for submit <at> debbugs.gnu.org; Thu, 13 Oct 2016 02:04:09 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM,
 HTML_MESSAGE autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:52509)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <eligis@HIDDEN>) id 1buZ7f-00019O-Ny
 for submit <at> debbugs.gnu.org; Thu, 13 Oct 2016 02:04:07 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46133)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <eligis@HIDDEN>) id 1buZ7c-0001PD-GQ
 for bug-guile@HIDDEN; Thu, 13 Oct 2016 02:04:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eligis@HIDDEN>) id 1buZ7Z-00016p-61
 for bug-guile@HIDDEN; Thu, 13 Oct 2016 02:04:04 -0400
Received: from smtp08.smtpout.orange.fr ([80.12.242.130]:21123
 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <eligis@HIDDEN>) id 1buZ7Y-00015L-S1
 for bug-guile@HIDDEN; Thu, 13 Oct 2016 02:04:01 -0400
Received: from young ([217.128.172.94]) by mwinf5d16 with ME
 id uu3u1t00M22ZY4h03u3ukY; Thu, 13 Oct 2016 08:03:58 +0200
X-ME-Helo: young
X-ME-Date: Thu, 13 Oct 2016 08:03:58 +0200
X-ME-IP: 217.128.172.94
From: "Christian Jullien" <eligis@HIDDEN>
To: <bug-guile@HIDDEN>
Subject: undefined reference to `mktime_internal' on solaris sparc
Date: Thu, 13 Oct 2016 08:03:45 +0200
Message-ID: <001f01d22517$9302de80$b9089b80$@orange.fr>
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="----=_NextPart_000_0020_01D22528.568BAE80"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AdIlF46k4e2pSUU4QWGfoVYc0MOo2Q==
Content-Language: fr
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

This is a multipart message in MIME format.

------=_NextPart_000_0020_01D22528.568BAE80
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

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)

 

 


------=_NextPart_000_0020_01D22528.568BAE80
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
lang=3DFR>Hi,<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DFR><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal>Trying to =
compile guile on solaris sparcs (I&#8217;m using gcc 6.2) I =
get:<o:p></o:p></p><p class=3DMsoNormal> =
&nbsp;&nbsp;CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
guile-guile.o<o:p></o:p></p><p class=3DMsoNormal>&nbsp; =
CCLD&nbsp;&nbsp;&nbsp;&nbsp; guile<o:p></o:p></p><p =
class=3DMsoNormal>./.libs/libguile-2.0.so: undefined reference to =
`mktime_internal'<o:p></o:p></p><p class=3DMsoNormal>collect2: error: ld =
returned 1 exit status<o:p></o:p></p><p class=3DMsoNormal>make[3]: *** =
[Makefile:2327: guile] Error 1<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>with =
guile-2.0.12.tar.gz and guile-2.0.11.tar.gz but works with =
guile-2.0.10.tar.gz<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Is there any =
configure flag I can use. Currently, I&#8217;m using:<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>PKG_CONFIG_PATH=3D/usr/local/lib/pkgconfig =
./configure; time make<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>$ gcc =
-v<o:p></o:p></p><p class=3DMsoNormal>Using built-in =
specs.<o:p></o:p></p><p =
class=3DMsoNormal>COLLECT_GCC=3Dgcc<o:p></o:p></p><p =
class=3DMsoNormal>COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc/sparc-sun-=
solaris2.10/6.2.0/lto-wrapper<o:p></o:p></p><p class=3DMsoNormal>Target: =
sparc-sun-solaris2.10<o:p></o:p></p><p class=3DMsoNormal>Configured =
with: ../configure --with-gnu-as --with-as=3D/usr/local/bin/as =
--with-gnu-ld --with-ld=3D/usr/local/bin/ld --enable-shared =
--disable-lto --disable-nls --enable-languages=3Dc,c++<o:p></o:p></p><p =
class=3DMsoNormal>Thread model: posix<o:p></o:p></p><p =
class=3DMsoNormal>gcc version 6.2.0 (GCC)<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>
------=_NextPart_000_0020_01D22528.568BAE80--





Acknowledgement sent to "Christian Jullien" <eligis@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#24681; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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