From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Christian Jullien" Newsgroups: gmane.lisp.guile.bugs Subject: 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> References: <001f01d22517$9302de80$b9089b80$@orange.fr> <871suhi2r2.fsf@pobox.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1489642456 9451 195.159.176.226 (16 Mar 2017 05:34:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 16 Mar 2017 05:34:16 +0000 (UTC) Cc: 24681@debbugs.gnu.org, jullien@eligis.com To: "'Andy Wingo'" Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Mar 16 06:34:11 2017 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coO35-0001Xx-8P for guile-bugs@m.gmane.org; Thu, 16 Mar 2017 06:34:07 +0100 Original-Received: from localhost ([::1]:40923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1coO3B-00079G-Cl for guile-bugs@m.gmane.org; Thu, 16 Mar 2017 01:34:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1coO33-00078s-Cl for bug-guile@gnu.org; Thu, 16 Mar 2017 01:34:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1coO30-0004IG-7N for bug-guile@gnu.org; Thu, 16 Mar 2017 01:34:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59666) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1coO30-0004I9-4R for bug-guile@gnu.org; Thu, 16 Mar 2017 01:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1coO2z-0008Rc-Uw for bug-guile@gnu.org; Thu, 16 Mar 2017 01:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Christian Jullien" Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 16 Mar 2017 05:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24681 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 24681-submit@debbugs.gnu.org id=B24681.148964243732448 (code B ref 24681); Thu, 16 Mar 2017 05:34:01 +0000 Original-Received: (at 24681) by debbugs.gnu.org; 16 Mar 2017 05:33:57 +0000 Original-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 Original-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 Original-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 In-Reply-To: X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQIh8Pri2PV54llNLs4+X91VdchPxAHPd//ToNPJ1oCAFgXL8A== Content-Language: fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8692 Archived-At: 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