From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: guile loses on NetBSD/sparc64 1.6.2 with gcc 3.3.2 Date: Fri, 27 Feb 2004 10:27:54 -0600 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87znb45vxx.fsf@raven.defaultvalue.org> References: <878yiqkbjp.fsf@raven.defaultvalue.org> <87ekshmxem.fsf@raven.defaultvalue.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1077901883 31292 80.91.224.253 (27 Feb 2004 17:11:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Feb 2004 17:11:23 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Feb 27 18:11:15 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AwlW3-0002MM-00 for ; Fri, 27 Feb 2004 18:11:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AwlTr-0007DN-HV for guile-devel@m.gmane.org; Fri, 27 Feb 2004 12:08:55 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1AwlRh-0006Qb-4V for guile-devel@gnu.org; Fri, 27 Feb 2004 12:06:41 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1AwlR3-0006F8-6q for guile-devel@gnu.org; Fri, 27 Feb 2004 12:06:33 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1AwlR2-0006Eg-Tb for guile-devel@gnu.org; Fri, 27 Feb 2004 12:06:01 -0500 Original-Received: from [66.93.216.237] (helo=defaultvalue.org) by mx20.gnu.org with esmtp (Exim 4.30) id 1AwkqI-0001mK-HA for guile-devel@gnu.org; Fri, 27 Feb 2004 11:28:02 -0500 Original-Received: from raven.defaultvalue.org (raven.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id 9ED6D4062; Fri, 27 Feb 2004 10:27:54 -0600 (CST) Original-Received: by raven.defaultvalue.org (Postfix, from userid 1000) id 5901281163; Fri, 27 Feb 2004 10:27:54 -0600 (CST) Original-To: Greg Troxel In-Reply-To: (Greg Troxel's message of "27 Feb 2004 11:23:51 -0500") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3457 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3457 Greg Troxel writes: > I did some more experiments. It seems to be compiler dependent; with > gcc 2.95 it was ok, and with 3.3.2 sometimes (when compiled on some > machines) it segfaults and sometimes I get complaints about tputent > not being bound (and the program exits). So my best guess at the > moment is that something is not right, but that it is ok in many > circumstances anyway. Here's something you might want to try, though it may not be related. Modify your configure.in like this: ## If we're using GCC, ask for aggressive warnings. case "$GCC" in yes ) ## We had -Wstrict-prototypes in here for a bit, but Guile does too ## much stuff with generic function pointers for that to really be ## less than exasperating. ## -Wpointer-arith was here too, but something changed in gcc/glibc ## and it became equally exasperating (gcc 2.95 and/or glibc 2.1.2). ## -fno-strict-aliasing keeps us from having to change our code for now. CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -fno-strict-aliasing" ;; esac and then re-autoconf and re-build. Or, if you don't want to risk your version of autoconf not being compatible, just edit your configure to include -fno-strict-aliasing where it now only has -Wall -Wmissing..., etc. I've modified current 1.6 CVS to include this, and it's something we need for now regardless, but your copy doesn't have it. -- Rob Browning rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel