guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUILE 1.6 CVS doesn't compile


From: Kevin Ryde
Subject: Re: GUILE 1.6 CVS doesn't compile
Date: Tue, 12 Jul 2005 09:41:21 +1000
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Han-Wen Nienhuys <address@hidden> writes:
>
> Shouldn't this be excercised by a test as well?

Maybe, but I don't see an easy way to do that in the normal svr4
linker case.  If we had a static-only platform and were using libtool
-dlopen the way it's meant to be then I guess it'd bomb.

> I'm loosing you here, AFAIK, the C compiler treats
>
>   extern struct bla foo[] ;
>   extern struct bla *foo ;
>
> exactly the same in a function call of the form
>
>   preload (foo)

No, the first says at foo you'll find a struct bla (or several).  The
second says at foo you'll find 4 bytes, those being an address (of a
struct, or several).  The generated code differs accordingly (an extra
fetch for the latter).

> Anyway, it seems to work. Will you commit?

My change?  Yes, I think so.  The radical alternative would be to
ditch the private ltdl the same as in the head, but Rob can thin about
that.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]