From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 15 16:55:10 2012 Received: (at submit) by debbugs.gnu.org; 15 Jan 2012 21:55:11 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_DKIM_INVALID,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 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 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 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 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 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 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) 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) From: Dagobert Michelsen Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: 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> To: bug-guile@gnu.org Mime-Version: 1.0 (Apple Message framework v1084) 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-Received-From: 140.186.70.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 03 14:28:21 2012 Received: (at 10518-done) by debbugs.gnu.org; 3 Feb 2012 19:28:21 +0000 Received: from localhost ([127.0.0.1]:52617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtOo1-0001Os-An for submit@debbugs.gnu.org; Fri, 03 Feb 2012 14:28:21 -0500 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:56812 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtOny-0001Ok-R4 for 10518-done@debbugs.gnu.org; Fri, 03 Feb 2012 14:28:19 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 0017091A2; Fri, 3 Feb 2012 14:27:43 -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=IHJt+t58/AF1a8t2GNOEBfGL41g=; b=hkOLpx iuivlQgMGnSGFlsOw5lIKQEGJ6nPAPAGIkhQMK+LI8JXuLMWQB/LO9APJkYoxfqN M6GVE8qanX6BfFLhONMriOkfLJmSXg0Asr6AML6rHa4lCAV6jxJDUxCMdrDgckZd tBCEQkzSnrtMgQgREwi4Aoye5dsYrxFEaWweo= 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=R51eosdZlxYOjoR0Eo3l+JgkKZn1TBfW sGShAtR1pRJrMUSsRCkZ6nt7v0rpFoNrZuAqgx0txep7h090zPfOIVzjqtZsb7TX zDERd4AhYYj/idHeKGq3XpxZ8bmLJEYcR+Z7CuIgwvBHAeEYNosRfi1W6Vd/Rcmp tdQ9PwV0xVU= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id EB21C91A1; Fri, 3 Feb 2012 14:27:43 -0500 (EST) Received: from badger (unknown [94.139.51.40]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 5EE9191A0; Fri, 3 Feb 2012 14:27:43 -0500 (EST) From: Andy Wingo To: Dagobert Michelsen Subject: Re: bug#10518: Failing compile of guile-2.0.3.157-1bd9a on Solaris 9 Sparc References: <7CDBF280-606E-4CEC-8CC6-C6E6CE3F97D1@opencsw.org> Date: Fri, 03 Feb 2012 14:11:27 +0100 In-Reply-To: <7CDBF280-606E-4CEC-8CC6-C6E6CE3F97D1@opencsw.org> (Dagobert Michelsen's message of "Sun, 15 Jan 2012 22:53:53 +0100") Message-ID: <87y5skjc3k.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Pobox-Relay-ID: 24FBBB78-4E9D-11E1-80EE-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 10518-done Cc: 10518-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.4 (/) On Sun 15 Jan 2012 22:53, Dagobert Michelsen writes: > 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: Thanks for giving it a try! It's a bit embarassing that this didn't work, but I did track down the issue today. Some parts of Guile want byte arrays aligned on 8-byte boundaries. We use __attribute__((aligned(8))) on GCC to do that. Probably your compiler has something similar; it would be great if you could contribute a patch to libguile/__scm.h to define SCM_ALIGNED there. We do have a fallback that involves mallocing a buffer, and copying the unaligned buffer into the malloc'd buffer. That code was not working in a couple of cases. I think I have fixed it; at least, I tried it out locally, and it worked for me. Thanks for the report, Andy -- http://wingolog.org/ From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 06 14:57:49 2012 Received: (at 10518-done) by debbugs.gnu.org; 6 Feb 2012 19:57:49 +0000 Received: from localhost ([127.0.0.1]:57558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RuUhA-0006sE-TR for submit@debbugs.gnu.org; Mon, 06 Feb 2012 14:57:49 -0500 Received: from mail.opencsw.org ([82.220.5.51]:40708) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RuUh4-0006rq-P9 for 10518-done@debbugs.gnu.org; Mon, 06 Feb 2012 14:57:47 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.opencsw.org (Postfix) with ESMTP id 62EC8C92; Mon, 6 Feb 2012 20:56:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=opencsw.org; h= x-mailer:to:references:message-id:date:date:in-reply-to:from :from:content-type:content-type:mime-version:subject:subject; s= csw02; t=1328558196; bh=mRVuf/0713BWR1gq3ex0Gt5aNPQ20pJYxzbowipj fQE=; b=W+noH+epr78IZ7gX/bX4MfVzk5jjcZ2RvKeRqXAaBgYYPu5K30/m9va6 KTDGVWUNn9LSW6QbmlewtmHbll5rtYGUd3/fccHoXM6NOASr584RulQoFbTpX3ud KGSicXjyCOUOMIDiHqTSkOIRN0m/KLAkj73U/FYq7Og+7VP6go8= X-Virus-Scanned: amavisd-new at opencsw.org 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 EdgzagPWY54Z; Mon, 6 Feb 2012 20:56:36 +0100 (CET) Received: from wumba.local (245-149-103-86.dynamic.dsl.tng.de [86.103.149.245]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.opencsw.org (Postfix) with ESMTPSA id 550E0C90; Mon, 6 Feb 2012 20:56:36 +0100 (CET) Subject: Re: bug#10518: Failing compile of guile-2.0.3.157-1bd9a on Solaris 9 Sparc Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/mixed; boundary=Apple-Mail-499-171200294 From: Dagobert Michelsen In-Reply-To: <87y5skjc3k.fsf@pobox.com> Date: Mon, 6 Feb 2012 09:50:34 +0100 Message-Id: <812F4569-7A8A-4C1C-B4F7-2588110B5F72@opencsw.org> References: <7CDBF280-606E-4CEC-8CC6-C6E6CE3F97D1@opencsw.org> <87y5skjc3k.fsf@pobox.com> To: Andy Wingo X-Mailer: Apple Mail (2.1084) X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 10518-done Cc: 10518-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) --Apple-Mail-499-171200294 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hi Andy, Am 03.02.2012 um 14:11 schrieb Andy Wingo: > On Sun 15 Jan 2012 22:53, Dagobert Michelsen writes: >> 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: >=20 > Thanks for giving it a try! It's a bit embarassing that this didn't > work, but I did track down the issue today. >=20 > Some parts of Guile want byte arrays aligned on 8-byte boundaries. We > use __attribute__((aligned(8))) on GCC to do that. Probably your > compiler has something similar; it would be great if you could > contribute a patch to libguile/__scm.h to define SCM_ALIGNED there. The attached patch should take care of the issue, although I couldn't verify it as I now get another error. > We do have a fallback that involves mallocing a buffer, and copying = the > unaligned buffer into the malloc'd buffer. That code was not working = in > a couple of cases. I think I have fixed it; at least, I tried it out > locally, and it worked for me. If it helps I can offer an account on our Solaris buildfarm where it should be much easier for you to track issues without me fiddling in the middle :-) Ludovic Court=E8s from your project already has an = account there and if you want I can set up one for you too: http://www.opencsw.org/extend-it/signup/to-upstream-maintainers/ Best regards -- Dago --Apple-Mail-499-171200294 Content-Disposition: attachment; filename=0001-Add-alignment-for-Sun-Studio-12.patch Content-Type: application/octet-stream; name="0001-Add-alignment-for-Sun-Studio-12.patch" Content-Transfer-Encoding: quoted-printable =46rom=202c71b93b215b8180cc06dae9a7c8610a17f0ffdd=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Dagobert=20Michelsen=20=0A= Date:=20Mon,=206=20Feb=202012=2009:45:41=20+0100=0ASubject:=20[PATCH]=20= Add=20alignment=20for=20Sun=20Studio=2012=0A=0A---=0A=20libguile/__scm.h=20= |=20=20=20=203=20++-=0A=201=20files=20changed,=202=20insertions(+),=201=20= deletions(-)=0A=0Adiff=20--git=20a/libguile/__scm.h=20b/libguile/__scm.h=0A= index=20c4f2a1a..fbc6fa9=20100644=0A---=20a/libguile/__scm.h=0A+++=20= b/libguile/__scm.h=0A@@=20-126,7=20+126,8=20@@=0A=20=0A=20/*=20The=20= SCM_ALIGNED=20macro,=20when=20defined,=20can=20be=20used=20to=20instruct=20= the=20compiler=0A=20=20*=20to=20honor=20the=20given=20alignment=20= constraint.=20=20*/=0A-#if=20defined=20__GNUC__=0A+/*=20Sun=20Studio=20= supports=20alignment=20since=20Sun=20Studio=2012=20*/=0A+#if=20defined=20= __GNUC__=20||=20(defined(=20__SUNPRO_C=20)=20&&=20(__SUNPRO_C=20-=200=20= >=3D=200x590))=0A=20#=20define=20SCM_ALIGNED(x)=20=20__attribute__=20= ((aligned=20(x)))=0A=20#elif=20defined=20__INTEL_COMPILER=0A=20#=20= define=20SCM_ALIGNED(x)=20=20__declspec=20(align=20(x))=0A--=20=0A= 1.7.8.3=0A=0A= --Apple-Mail-499-171200294 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii --=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 --Apple-Mail-499-171200294-- From unknown Sun Jun 15 08:49:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 06 Mar 2012 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator