From: Bruce Korb <bkorb@gnu.org>
Cc: Harlan Stenn <stenn@ntp.isc.org>, Reg Clemens <reg@dwf.com>,
guile-devel@gnu.org
Subject: Re: [ntp:hackers/Guile devel] ntp-dev changes
Date: Sun, 16 Apr 2006 09:36:59 -0700 [thread overview]
Message-ID: <444272AB.3070703@gnu.org> (raw)
In-Reply-To: <44426C0F.8000600@gnu.org>
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
next prev parent reply other threads:[~2006-04-16 16:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20060413200537.1D78D39B52@ntp1.ntp.isc.org>
2006-04-15 15:39 ` [ntp:hackers/Guile devel] ntp-dev changes Bruce Korb
2006-04-15 17:25 ` Reg Clemens
2006-04-15 17:40 ` Bruce Korb
2006-04-15 22:37 ` Reg Clemens
2006-04-16 16:08 ` Bruce Korb
2006-04-16 16:36 ` Bruce Korb [this message]
2006-04-16 16:50 ` Rob Browning
2006-04-16 16:55 ` Bruce Korb
2006-04-17 1:02 ` Kevin Ryde
2006-04-16 22:34 ` Kevin Ryde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=444272AB.3070703@gnu.org \
--to=bkorb@gnu.org \
--cc=guile-devel@gnu.org \
--cc=reg@dwf.com \
--cc=stenn@ntp.isc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).