From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dagobert Michelsen Newsgroups: gmane.lisp.guile.bugs Subject: bug#10518: Failing compile of guile-2.0.3.157-1bd9a on Solaris 9 Sparc Date: Sun, 15 Jan 2012 22:53:53 +0100 Message-ID: <7CDBF280-606E-4CEC-8CC6-C6E6CE3F97D1@opencsw.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1326674308 23567 80.91.229.12 (16 Jan 2012 00:38:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jan 2012 00:38:28 +0000 (UTC) To: 10518@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Jan 16 01:38:19 2012 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RmaaW-0005bQ-GY for guile-bugs@m.gmane.org; Mon, 16 Jan 2012 01:38:16 +0100 Original-Received: from localhost ([::1]:49918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmaaW-0007FL-0u for guile-bugs@m.gmane.org; Sun, 15 Jan 2012 19:38:16 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:53691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmY2j-0006r8-9b for bug-guile@gnu.org; Sun, 15 Jan 2012 16:55:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmY2i-00059B-0T for bug-guile@gnu.org; Sun, 15 Jan 2012 16:55:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmY2h-000597-V2 for bug-guile@gnu.org; Sun, 15 Jan 2012 16:55:11 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RmY3W-0001NG-57 for bug-guile@gnu.org; Sun, 15 Jan 2012 16:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dagobert Michelsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 15 Jan 2012 21:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10518 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13266645115221 (code B ref -1); Sun, 15 Jan 2012 21:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Jan 2012 21:55:11 +0000 Original-Received: from localhost ([127.0.0.1]:58947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RmY2g-0001M9-8I for submit@debbugs.gnu.org; Sun, 15 Jan 2012 16:55:10 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:49731) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RmY2d-0001M1-Da for submit@debbugs.gnu.org; Sun, 15 Jan 2012 16:55:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmY1n-00050v-MU for submit@debbugs.gnu.org; Sun, 15 Jan 2012 16:54:16 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:46681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmY1n-00050r-KQ for submit@debbugs.gnu.org; Sun, 15 Jan 2012 16:54:15 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:54031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmY1k-0006jb-Sm for bug-guile@gnu.org; Sun, 15 Jan 2012 16:54:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmY1j-00050L-IU for bug-guile@gnu.org; Sun, 15 Jan 2012 16:54:12 -0500 Original-Received: from mail.opencsw.org ([82.220.5.51]:42733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmY1i-0004zc-HC for bug-guile@gnu.org; Sun, 15 Jan 2012 16:54:11 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.opencsw.org (Postfix) with ESMTP id 5E12EA0D for ; Sun, 15 Jan 2012 22:54:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=opencsw.org; h= x-mailer:mime-version:to:message-id:date:date:subject:subject :content-transfer-encoding:content-type:content-type:from:from; s=csw02; t=1326664434; bh=RemJu9rEtpOxyFJksg+1FTwJknO+jEBvQmCEz IVG7XA=; b=jzExvAvAgR7IWg5TzoMmaWpxtxeR3BMdHSA5TANg2l2w+Uvt68p1O 50a1vyQCbp8pp5C4PyIyrOpYwEGV8D8ZKu8Ou2QYq7jzk7t9vQT9ReyKGrmYPXEl mXqKCvDNKJAkTdITWDoUc4breYuyvVelACDx2PLDXGs/MjKUEfNKZA= X-Virus-Scanned: amavisd-new at opencsw.org Original-Received: from mail.opencsw.org ([127.0.0.1]) by localhost (mail.opencsw.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id uBEApyvd357m for ; Sun, 15 Jan 2012 22:53:54 +0100 (CET) Original-Received: from wumba.local (87-157-103-86.dynamic.dsl.tng.de [86.103.157.87]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.opencsw.org (Postfix) with ESMTPSA id C1AD4A0C for ; Sun, 15 Jan 2012 22:53:53 +0100 (CET) X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Sun, 15 Jan 2012 19:38:12 -0500 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-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:6040 Archived-At: Hi, I am currently trying to compile the "call-for-testers" = guile-2.0.3.157-1bd9a on Solaris 9 Sparc with Sun Studio 12 and get a compilation error: > CC libguile_2.0_la-bytevectors.lo > CC libguile_2.0_la-chars.lo > CC libguile_2.0_la-control.lo > "control.c", line 267: directive not honored in macro argument list > "control.c", line 280: directive not honored in macro argument list > "control.c", line 287: EOF in argument list of macro: SCM_SNARF_INIT > "control.c", line 287: EOF in argument list of macro: SCM_SNARF_INIT > "control.c", line 114: syntax error before or at: =3D > "control.c", line 114: warning: old-style declaration or incorrect = type for: SCM_SNARF_INIT > "control.c", line 114: syntax error before or at: sizeof > "control.c", line 114: warning: undefined or missing type for: sizeof > "control.c", line 114: warning: old-style declaration or incorrect = type for: memcpy > "control.c", line 114: identifier redeclared: memcpy > current : function() returning int > previous: function(pointer to void, pointer to const void, = unsigned int) returning pointer to void : = "/usr/include/iso/string_iso.h", line 61 > "control.c", line 114: warning: syntax error: empty declaration > "control.c", line 114: non-constant initializer: op "NAME" > "control.c", line 114: non-constant initializer: op "NAME" > "control.c", line 114: syntax error before or at: =3D > "control.c", line 114: warning: old-style declaration or incorrect = type for: SCM_SNARF_INIT > "control.c", line 114: syntax error before or at: sizeof > "control.c", line 114: warning: undefined or missing type for: sizeof > "control.c", line 114: warning: old-style declaration or incorrect = type for: memcpy > "control.c", line 114: identifier redefined: memcpy > current : function() returning int > previous: function() returning int : "control.c", line 114 > "control.c", line 114: warning: syntax error: empty declaration > "control.c", line 287: syntax error before or at: > cc: acomp failed for control.c > gmake[3]: *** [libguile_2.0_la-control.lo] Error 1 > gmake[3]: Leaving directory = `/home/dam/mgar/pkg/guile/trunk/work/solaris9-sparc/build-isa-sparcv8/guil= e-2.0.3.157-1bd9a/libguile' > gmake[2]: *** [all] Error 2 > gmake[2]: Leaving directory = `/home/dam/mgar/pkg/guile/trunk/work/solaris9-sparc/build-isa-sparcv8/guil= e-2.0.3.157-1bd9a/libguile' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory = `/home/dam/mgar/pkg/guile/trunk/work/solaris9-sparc/build-isa-sparcv8/guil= e-2.0.3.157-1bd9a' > gmake: *** [all] Error 2 > gmake: Leaving directory = `/home/dam/mgar/pkg/guile/trunk/work/solaris9-sparc/build-isa-sparcv8/guil= e-2.0.3.157-1bd9a' The generated code in line 114 looks like this: > static scm_t_uint8 * cont_objcode__bytecode ; SCM_SNARF_INIT ( = cont_objcode__cells =3D scm_malloc_pointerless ( sizeof ( = cont_objcode__cells__unaligned ) ; memcpy ( cont_objcode__cells , = cont_objcode__cells__unaligned , sizeof ( cont_objcode__cells__unaligned = ) ) ; ) static scm_t_cell * cont_objcode__cells =3D 0 ; static const = scm_t_cell cont_objcode__cells__unaligned [ ] =3D { { ( ( SCM ) ( ( 53 | = ( ( 3 ) << 8 ) | ( 0 << 16 ) ) ) ) , ( ( SCM ) ( cont_objcode__bytecode = ) ) } , { ( ( SCM ) ( ( ( ( ( ( 0 ) ) << 8 ) + scm_tc8_flag ) ) ) ) , ( = ( SCM ) ( 0 ) ) } } ; static const SCM cont_objcode =3D ( ( SCM ) ( = cont_objcode__cells ) ) ; SCM_SNARF_INIT ( cont_objcode__bytecode =3D = scm_malloc_pointerless ( sizeof ( cont_objcode__bytecode__unaligned ) ; = memcpy ( cont_objcode__bytecode , cont_objcode__bytecode__unaligned , = sizeof ( cont_objcode__bytecode__unaligned ) ) ; ) static scm_t_uint8 * = cont_objcode__bytecode =3D 0 ; static const scm_t_uint8 = cont_objcode__bytecode__unaligned [ ] =3D { >=20 > 0 , 0 , 0 , 8 , 0 , 0 , 0 , 19 + 8 , >=20 > scm_op_object_ref , 0 , > scm_op_object_ref , 1 , > scm_op_partial_cont_call , > scm_op_nop , scm_op_nop , scm_op_nop , >=20 >=20 >=20 > # 126 > 0 , 0 , 0 , 19 , 0 , 0 , 0 , 0 , > scm_op_make_eol , > scm_op_make_eol , > scm_op_make_int8 , 0 , scm_op_make_int8 , 5 , > scm_op_make_int8_0 , > scm_op_make_int8_0 , > scm_op_make_true , > scm_op_list , 0 , 5 , > scm_op_list , 0 , 1 , > scm_op_list , 0 , 3 , > scm_op_return >=20 > }; Unfortunately I don't see whats wrong here, maybe you can give me an = insight? If necessary I can provide more information or an account on the = buildfarm. Best regards -- Dago --=20 "You don't become great by trying to be great, you become great by = wanting to do something, and then doing it so hard that you become great in the process." - xkcd = #896