guile-user
[Top][All Lists]
Advanced

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

Re: debugging guile test failure and segfault.


From: Dan McMahill
Subject: Re: debugging guile test failure and segfault.
Date: Sun, 10 Jun 2007 12:37:18 -0400
User-agent: Mail/News 1.5.0.10 (X11/20070512)

Ludovic Courtès wrote:
Hi,

Dan McMahill <address@hidden> writes:

I'm also working on getting this going on Solaris-2.9/sparc but am not
quite to the testsuite part.  I have a few bug fix patches there
too. Once I get my various problems worked out, I'll submit a more
cleaned up set of patches.
see the attached file for most of my patches.

[...]

--- guile-config/guile-config.in.orig   2006-09-20 00:19:02.000000000 +0000
+++ guile-config/guile-config.in
@@ -155,7 +155,7 @@
                (if (or (string=? libdir "/usr/lib")
                        (string=? libdir "/usr/lib/"))
                   ""
-                  (string-append "-L" (get-build-info 'libdir)))
+                  (string-append "-Wl,-R" (get-build-info 'libdir) "
-L" (get-build-info 'libdir)))
               (string-join other-flags)

               )))

Can you explain why this is needed?  `guile-config' is only used by
applications that link against Guile.  Did you have troubles compiling
such applications?

With that I don't have to modify the guile-config output. In other words by default I might just get "-L/my/guile/path/lib" where I may actually want "-L/my/guile/path/lib -Wl,-R/my/guile/path/lib".

Besides, `-Wl,-R' can probably not be considered portable.
which is why one would need a test for it.

Anyway, I figured this one was questionable for general consumption which is why I kept it apart from the others.

-Dan






reply via email to

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