From: Stanislav Ievlev <stanislav.ievlev@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] undefined symbol: pthread_attr_getstacksize
Date: Thu, 12 Nov 2009 11:00:12 +0300
Message-ID: <c5318fd90911120000q4612c946re646da0078a3c9b9@mail.gmail.com> (raw)
In-Reply-To: <4AFAD695.1020307@altlinux.ru>
11 ноября 2009 г. 18:21 пользователь Denis Kirienko <dk@altlinux.ru> написал:
> 11.11.2009 17:20, Dmitry V. Levin пишет:
>
>>> ./fib: symbol lookup error: /home/dk/go/pkg/linux_386/libcgo.so:
>>> undefined symbol: pthread_attr_getstacksize
>>>
>>> Кто-нибудь может помочь?
>>
>> This symbol is provided by glibc-pthread, so it looks like an incarnation
>> of the --as-needed issue.
>
> Не очень понял, что с этим делать, но на самом деле сам go собирается.
>
> Проблемы возникают, при попытке собрать "a trivial example of wrapping a
> C library in Go".
>
> В общем, это уже не столь важно.
Библиотека недолинкована с pthread, поэтому все примеры не
компилируются. Исправление - тривиальный фикс в сборке этого go.
next prev parent reply other threads:[~2009-11-12 8:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-11 14:03 Denis Kirienko
2009-11-11 14:06 ` Led
2009-11-11 15:14 ` Denis Kirienko
2009-11-11 14:20 ` Dmitry V. Levin
2009-11-11 15:21 ` Denis Kirienko
2009-11-11 15:30 ` Led
2009-11-11 15:54 ` Denis Kirienko
2009-11-12 8:00 ` Stanislav Ievlev [this message]
2009-11-12 10:00 ` Denis Kirienko
2009-11-12 10:34 ` Stanislav Ievlev
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c5318fd90911120000q4612c946re646da0078a3c9b9@mail.gmail.com \
--to=stanislav.ievlev@gmail.com \
--cc=devel@lists.altlinux.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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git