From: Andy Wingo <wingo@pobox.com>
To: Johan Hidding <johannes.hidding@gmail.com>
Cc: "Ludovic Courtès" <ludo@gnu.org>, guile-user@gnu.org
Subject: Re: using GSL with cblas via FFI
Date: Thu, 31 Mar 2011 17:18:24 +0200 [thread overview]
Message-ID: <m3r59nwc73.fsf@unquote.localdomain> (raw)
In-Reply-To: <AANLkTikAW=WObq+CnaQPaBjnpqCnR93iPi5xSMKV6wPY@mail.gmail.com> (Johan Hidding's message of "Sat, 26 Mar 2011 10:53:52 +0100")
On Sat 26 Mar 2011 10:53, Johan Hidding <johannes.hidding@gmail.com> writes:
> Hello Ludo',
> I had a chat with Mark Weaver on IRC; he could reproduce the error.
> The output shows basic GSL working, but GSL+CBLAS failing. I found a
> way to -combine the static versions into a single shared library using
> a trick I found on StackOverflow:
>
>> gcc -shared -o c.so -Wl,--whole-archive libgsl.a libgslcblas.a -Wl,--no-whole-archive
>
> Then the code works fine. A C program using GSL is normally compiled
> using -lgsl -lgslcblas, as the CBLAS functionality is optional.
Does that mean that gslcblas should be opened with RTDL_GLOBAL or
something?
Andy
--
http://wingolog.org/
next prev parent reply other threads:[~2011-03-31 15:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-24 14:54 using GSL with cblas via FFI Johan Hidding
2011-03-25 20:31 ` Ludovic Courtès
2011-03-26 9:53 ` Johan Hidding
2011-03-31 15:18 ` Andy Wingo [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-06-03 22:04 cong gu
2012-06-04 4:15 ` Thien-Thi Nguyen
2012-06-04 6:11 ` cong gu
2012-06-04 4:22 ` Thien-Thi Nguyen
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=m3r59nwc73.fsf@unquote.localdomain \
--to=wingo@pobox.com \
--cc=guile-user@gnu.org \
--cc=johannes.hidding@gmail.com \
--cc=ludo@gnu.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).