From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruce Korb Newsgroups: gmane.lisp.guile.devel Subject: Re: [ntp:hackers/Guile devel] ntp-dev changes Date: Sun, 16 Apr 2006 09:36:59 -0700 Organization: FSF Message-ID: <444272AB.3070703@gnu.org> References: <20060413200537.1D78D39B52@ntp1.ntp.isc.org> <444113CE.1030306@gnu.org> <200604151725.k3FHPGg0020631@deneb.dwf.com> <44413015.4000809@gnu.org> <200604152237.k3FMbWoQ024530@deneb.dwf.com> <44426C0F.8000600@gnu.org> Reply-To: bkorb@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1145205437 27087 80.91.229.2 (16 Apr 2006 16:37:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 16 Apr 2006 16:37:17 +0000 (UTC) Cc: Harlan Stenn , Reg Clemens , guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Apr 16 18:37:15 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 1FVAFN-0000Ia-HR for guile-devel@m.gmane.org; Sun, 16 Apr 2006 18:37:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FVAFL-0007hN-TM for guile-devel@m.gmane.org; Sun, 16 Apr 2006 12:37:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FVAFJ-0007go-3A for guile-devel@gnu.org; Sun, 16 Apr 2006 12:37:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FVAFH-0007gQ-GX for guile-devel@gnu.org; Sun, 16 Apr 2006 12:37:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FVAFH-0007gN-9x for guile-devel@gnu.org; Sun, 16 Apr 2006 12:37:07 -0400 Original-Received: from [207.115.57.32] (helo=ylpvm01.prodigy.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FVAFj-0002QN-Sh for guile-devel@gnu.org; Sun, 16 Apr 2006 12:37:36 -0400 Original-Received: from pimout1-ext.prodigy.net (pimout1-int.prodigy.net [207.115.5.65]) by ylpvm01.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id k3GGb1am000833 for ; Sun, 16 Apr 2006 12:37:04 -0400 X-ORBL: [75.2.140.173] Original-Received: from [192.168.1.4] (adsl-75-2-140-173.dsl.pltn13.sbcglobal.net [75.2.140.173]) by pimout1-ext.prodigy.net (8.13.6 out.dk/8.13.6) with ESMTP id k3GGb0xC028198; Sun, 16 Apr 2006 12:37:00 -0400 User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en Original-To: bkorb@gnu.org, mdjurfeldt@gmail.com, neil@ossau.uklinux.net In-Reply-To: <44426C0F.8000600@gnu.org> 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:5868 Archived-At: Bruce Korb wrote: > > So, it seems to me that there is an inconsistency in the build > environment > and the defining of DYNAMIC_LINKING. The problem is almost certainly > in Guile. But, I have heard complaints (that I only fuzzily remember) > that Guile does not build with GCC-4. Assuming I am remembering > correctly :) , the headers that GCC-4 bring along with itself are > causing "scm_lt_dlsymlist" to be an incomplete type and > "scm_lt_dlpreload_default" > to be a macro that expands to the empty string (unreferenced variable). > > I'll poke into this a bit more, but I do wish a Guile developer could > chime in with a word or two. In guile-ltdl.h: > typedef struct scm_i_lt_dlsymlist_struct scm_lt_dlsymlist; In guile-ltdl.c /* NOTE: ".c" not ".h" */: > #define SCM_INSERTED_DLSYMLIST_STRUCT_DECL scm_i_lt_dlsymlist_struct In raw-ltdl.h: > /* --- PRELOADED MODULE SUPPORT --- */ > /* A preopened symbol. Arrays of this type comprise the exported > symbols for a dlpreopened module. */ > typedef struct SCM_INSERTED_DLSYMLIST_STRUCT_DECL { > const char *name; > lt_ptr address; > } lt_dlsymlist; Guile folks, please, how is this supposed to work? The guile.c module needs to see all three of these code fragments to compile correctly. Anyway, for me it builds with GCC 3.x and fails with 4.x, but looks like it should fail no matter what the compiler. What gives? Thanks - Bruce _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel