From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 13 02:04:17 2016 Received: (at submit) by debbugs.gnu.org; 13 Oct 2016 06:04:17 +0000 Received: from localhost ([127.0.0.1]:53653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1buZ7o-0006i1-Q1 for submit@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 ) id 1buZ7m-0006ho-P3 for submit@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 ) id 1buZ7f-00019x-QX for submit@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 ) id 1buZ7f-00019O-Ny for submit@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 ) id 1buZ7c-0001PD-GQ for bug-guile@gnu.org; Thu, 13 Oct 2016 02:04:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buZ7Z-00016p-61 for bug-guile@gnu.org; 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 ) id 1buZ7Y-00015L-S1 for bug-guile@gnu.org; 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" To: 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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

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=3D/usr/local/lib/pkgconfig = ./configure; time make

 

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

 

 

------=_NextPart_000_0020_01D22528.568BAE80-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 01 07:46:23 2017 Received: (at 24681) by debbugs.gnu.org; 1 Mar 2017 12:46:23 +0000 Received: from localhost ([127.0.0.1]:32938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cj3eB-0006Si-3E for submit@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 ) id 1cj3e8-0006SZ-Vk for 24681@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 To: "Christian Jullien" 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@pobox.com> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Hi Christian, On Thu 13 Oct 2016 08:03, "Christian Jullien" 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 02 00:20:10 2017 Received: (at 24681) by debbugs.gnu.org; 2 Mar 2017 05:20:11 +0000 Received: from localhost ([127.0.0.1]:35219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjJ9u-00072V-GJ for submit@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 ) id 1cjJ9q-00071v-RC for 24681@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" To: "'Andy Wingo'" References: <001f01d22517$9302de80$b9089b80$@orange.fr> <871suhi2r2.fsf@pobox.com> In-Reply-To: <871suhi2r2.fsf@pobox.com> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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@pobox.com]=20 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" 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 02 02:38:22 2017 Received: (at 24681) by debbugs.gnu.org; 2 Mar 2017 07:38:22 +0000 Received: from localhost ([127.0.0.1]:35256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjLJe-00021z-EU for submit@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 ) id 1cjLJd-00021s-GW for 24681@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 To: "Christian Jullien" Subject: Re: bug#24681: undefined reference to `mktime_internal' on solaris sparc References: <001f01d22517$9302de80$b9089b80$@orange.fr> <871suhi2r2.fsf@pobox.com> <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@pobox.com> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 02 03:04:26 2017 Received: (at 24681) by debbugs.gnu.org; 2 Mar 2017 08:04:26 +0000 Received: from localhost ([127.0.0.1]:35277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjLir-0002eF-VX for submit@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 ) id 1cjLiq-0002e2-ME for 24681@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 To: Andy Wingo 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@debbugs.gnu.org" <24681@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Christian JULLIEN Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 : 02 mars 2017 =C3=A0 08:38 (GMT +01:00) De : "Andy Wingo" <wingo@pobox.com> =C3=80 : "Christian Jullien" <eligis@orange.fr> Cc : "24681@debbugs.gnu.org" <24681@debbugs.gnu.org> Objet : Re: bug#24681: undefined reference to `mktime_internal' o= n solaris sparc On Thu 02 Mar 2017 06:19, "Christian Jullien" <eligis@orange.fr> writ= es: > 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 ------=_Part_2531_1988247596.1488441854893 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ok don't hesitate to ping me for any test you want me to d= o.

C.



Le : 02 mars 2017 =C3=A0 08:38 (GMT +01:00)
De : "Andy Wingo" <wingo@pobox.com>
=C3=80 : "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<= br>and will be in 2.0.15.

Cheers,

Andy ------=_Part_2531_1988247596.1488441854893-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 01:33:57 2017 Received: (at 24681) by debbugs.gnu.org; 16 Mar 2017 05:33:57 +0000 Received: from localhost ([127.0.0.1]:57865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coO2v-0008RI-3O for submit@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 ) id 1coO2s-0008R2-VL for 24681@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" To: "'Andy Wingo'" References: <001f01d22517$9302de80$b9089b80$@orange.fr> <871suhi2r2.fsf@pobox.com> 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@debbugs.gnu.org, jullien@eligis.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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@orange.fr]=20 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=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@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" 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