From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: Building Guile on IA64 HPUX Date: Thu, 02 Nov 2006 21:15:23 +0000 Message-ID: <873b91czys.fsf@ossau.uklinux.net> References: <200611012157.NAA20914@hpsje.cup.hp.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1162502196 1422 80.91.229.2 (2 Nov 2006 21:16:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Nov 2006 21:16:36 +0000 (UTC) Cc: hrvoje.niksic@avl.com, guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Nov 02 22:16:34 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 1Gfjuu-0004HQ-MC for guile-devel@m.gmane.org; Thu, 02 Nov 2006 22:16:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gfjuu-0005tf-3F for guile-devel@m.gmane.org; Thu, 02 Nov 2006 16:16:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gfjur-0005tC-Lx for guile-devel@gnu.org; Thu, 02 Nov 2006 16:16:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gfjup-0005qV-37 for guile-devel@gnu.org; Thu, 02 Nov 2006 16:16:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gfjuo-0005qI-S6 for guile-devel@gnu.org; Thu, 02 Nov 2006 16:15:58 -0500 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gfjuj-0005Y5-TX for guile-devel@gnu.org; Thu, 02 Nov 2006 16:15:57 -0500 Original-Received: from laruns (host86-145-51-69.range86-145.btcentralplus.com [86.145.51.69]) by mail3.uklinux.net (Postfix) with ESMTP id 6F11740A6C3; Thu, 2 Nov 2006 21:15:36 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id 8969D6F58C; Thu, 2 Nov 2006 21:15:23 +0000 (GMT) Original-To: sje@cup.hp.com In-Reply-To: <200611012157.NAA20914@hpsje.cup.hp.com> (Steve Ellcey's message of "Wed, 1 Nov 2006 13:57:57 -0800 (PST)") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) 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:6199 Archived-At: Steve Ellcey writes: > I have downloaded the latest guile sources > (guile-core.unstable-20060828.tar.gz) and am trying to build them on an > HP-UX 11.23 system with GCC and the HP C compiler. So far neither has > built. As Hrvoje has said, there have been some significant changes since that date, so you might have more luck with latest CVS. > HP C compiler: > ------------- > > The compiler is being passed the '-mthreads' which is not an HP C option > but a GCC option, it should use -mt for multi-threaded compiles with HP > C. That's frustrating. Surely this is a libtool-determined detail, so is the problem that we're not using the right libtool, or do libtool builds fail for all free software tarballs when building with the HP C compiler? > The compile of libguile/environments.c has several warnings and an > error: I think we should just remove environments.c from the build, as it isn't even used yet, and only causes us problems. I've just done this in CVS HEAD, and will do so in the branches also if no one objects. > The error seems to be complaining about different return types for the > macro expressions SCM_SET_CORE_ENVIRONMENT_WEAK_OBSERVERS and > SCM_SET_CORE_ENVIRONMENT_OBSERVERS. > SCM_SET_CORE_ENVIRONMENT_WEAK_OBSERVERS expands to scm_c_vector_set_x > which is a void routine and SCM_SET_CORE_ENVIRONMENT_OBSERVERS expands > to an assignment expression with an SCM type. > > I am not sure which type should be changed. I just don't think this is worth worrying about, until we decide _really_ to plumb environments.[ch] into the rest of libguile. > > GCC Compiler (prerelease 4.2) > ----------------------------- > > With GCC I died in continuations.c: > > /tmp/guile/guile-core.unstable-20060828/libguile/continuations.c: In function 'scm_make_continuation': > /tmp/guile/guile-core.unstable-20060828/libguile/continuations.c:151: error: 'mcontext_t' has no member named 'sc_ar_bsp' > > I assume this is because the code is still checking for __ia64__ instead > of __ia64. HP C defines __ia64 but not __ia64__. GCC defines both. > Some files use __ia64 (gs_os_dep.c, __scm.h) but most still use > __ia64__, i.e. continuations.c, gc.c, gc-malloc.c, threads.c. > > I will change the __ia64__ uses and see if I can then compile with GCC. This is the problem that has since been fixed in CVS. Regards, Neil _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel