From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miroslav Lichvar Newsgroups: gmane.lisp.guile.devel Subject: Re: guile 1.8 and x86_64 Date: Sat, 6 May 2006 13:12:21 +0200 Message-ID: <20060506111221.GA16844@bordell.redhat.usu> References: <3E76C952D0DE7C18F2E3A89F@cadabra-sw.stanford.edu> <87acatj19q.fsf@laas.fr> <87hd5111mz.fsf@ossau.uklinux.net> <8656DB86D246C1D9ACD84549@tribes2.stanford.edu> <87zmirvoew.fsf@ossau.uklinux.net> <20060505140534.GA13293@bordell.redhat.usu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146913959 12497 80.91.229.2 (6 May 2006 11:12:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 May 2006 11:12:39 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat May 06 13:12:37 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FcKi5-0000Ov-Up for guile-devel@m.gmane.org; Sat, 06 May 2006 13:12:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FcKi5-0002cK-4F for guile-devel@m.gmane.org; Sat, 06 May 2006 07:12:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FcKi1-0002Zk-HJ for guile-devel@gnu.org; Sat, 06 May 2006 07:12:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FcKi0-0002Xx-A6 for guile-devel@gnu.org; Sat, 06 May 2006 07:12:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FcKi0-0002Xj-5I for guile-devel@gnu.org; Sat, 06 May 2006 07:12:24 -0400 Original-Received: from [66.187.233.31] (helo=mx1.redhat.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FcKiN-0006wC-4z for guile-devel@gnu.org; Sat, 06 May 2006 07:12:47 -0400 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k46BCNS1032220 for ; Sat, 6 May 2006 07:12:23 -0400 Original-Received: from pobox.stuttgart.redhat.com (pobox.stuttgart.redhat.com [172.16.2.10]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k46BCM4i013083 for ; Sat, 6 May 2006 07:12:23 -0400 Original-Received: from dummy (vpn-4-19.stuttgart.redhat.com [10.32.4.19]) by pobox.stuttgart.redhat.com (8.12.8/8.12.8) with ESMTP id k46BCLrY005109 for ; Sat, 6 May 2006 13:12:22 +0200 Original-To: guile-devel@gnu.org Content-Disposition: inline In-Reply-To: <20060505140534.GA13293@bordell.redhat.usu> User-Agent: Mutt/1.4.2.1i X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5908 Archived-At: On Fri, May 05, 2006 at 04:05:34PM +0200, Miroslav Lichvar wrote: > The scm_mark_locations function in gc-mark.c calls scm_gc_mark on > everything located in one of the allocated segments. Shouldn't there > be a check if the address is at least scm_t_cell aligned? Looks like the CELL_P macro is there exactly for this purpose, the following change in private-gc.h is probably the right thing to do. 137c137 < #define CELL_P(x) (SCM_ITAG3 (x) == scm_tc3_cons) --- > #define CELL_P(x) (!(SCM_UNPACK (x) & (sizeof (scm_t_cell) - 1))) -- Miroslav Lichvar _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel