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, 13 Oct 2016 08:03:45 +0200 Message-ID: <001f01d22517$9302de80$b9089b80$@orange.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0020_01D22528.568BAE80" X-Trace: blaine.gmane.org 1476339086 2058 195.159.176.226 (13 Oct 2016 06:11:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 13 Oct 2016 06:11:26 +0000 (UTC) To: 24681@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Oct 13 08:11:22 2016 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 1buZEb-0007iU-Mr for guile-bugs@m.gmane.org; Thu, 13 Oct 2016 08:11:17 +0200 Original-Received: from localhost ([::1]:37815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buZEa-0007OJ-3H for guile-bugs@m.gmane.org; Thu, 13 Oct 2016 02:11:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buZ8f-0002Fv-Hn for bug-guile@gnu.org; Thu, 13 Oct 2016 02:05:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buZ8Y-0001bj-Sw for bug-guile@gnu.org; Thu, 13 Oct 2016 02:05:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buZ8Y-0001bd-Q0 for bug-guile@gnu.org; Thu, 13 Oct 2016 02:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1buZ8Y-0006jD-HV for bug-guile@gnu.org; Thu, 13 Oct 2016 02:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Christian Jullien" Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 13 Oct 2016 06:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24681 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.147633865725797 (code B ref -1); Thu, 13 Oct 2016 06:05:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Oct 2016 06:04:17 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 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-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:8430 Archived-At: 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--