From: Led <ledest@gmail.com>
To: "ALT Linux Team development discussions" <devel@lists.altlinux.org>
Subject: Re: [devel] glibc-kernheaders
Date: Sat, 1 Mar 2008 03:27:01 +0200
Message-ID: <9713cfcc0802291727r7c7c3f9fobb0581ba5fa8b31a@mail.gmail.com> (raw)
In-Reply-To: <20080228122845.GH30111@newmaster.mivlgu.local>
2008/2/28, Sergey Vlasov <vsu@altlinux.ru>:
> On Thu, Feb 28, 2008 at 01:58:59PM +0200, Led wrote:
> > В сообщении от Thursday 28 February 2008 12:19:27 Sergey Vlasov написал(а):
> > > On Thu, Feb 28, 2008 at 04:49:33AM +0200, Led wrote:
> > > > В glibc-kernheaders отсутствует asm/bitops.h - в этом есть какой-то
> > > > глобальный смысл, или просто "потому что это никому не должно быть
> > > > нужно"?
> > >
> > > Функции из <asm/bitops.h> в общем случае не могут быть использованы в
> > > userspace, поскольку для некоторых архитектур обеспечение атомарности
> > > соответствующих операций требует использования команд, доступных
> > > только в режиме ядра.
> >
> > Понятно. Значит буду ставить
> > BuildRequires: kernel-headers-modules-*
>
>
> И это всё равно не поможет - насколько я помню, в последних ядрах эти
> заголовки просто не компилируются в userspace. Необходимо исправить
> код, чтобы <asm/bitops.h> не использовался.
Мне нужны оттуда __set_bit и __clear_bit - они не атомарные. Можно
только их добавить в glibc-kernheaders? Или "справить код" - это
скопипастить эти функции в код и убрать include?
--
Led.
next prev parent reply other threads:[~2008-03-01 1:27 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-28 2:49 Led
2008-02-28 10:00 ` Kirill A. Shutemov
2008-02-28 10:03 ` Led
2008-02-28 10:08 ` Kirill A. Shutemov
2008-02-28 10:06 ` Kirill A. Shutemov
2008-02-28 10:19 ` Sergey Vlasov
2008-02-28 11:58 ` Led
2008-02-28 12:01 ` Kirill A. Shutemov
2008-02-28 12:06 ` Led
2008-02-28 12:15 ` Kirill A. Shutemov
2008-02-28 12:28 ` Sergey Vlasov
2008-03-01 1:27 ` Led [this message]
2008-03-01 2:47 ` Led
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=9713cfcc0802291727r7c7c3f9fobb0581ba5fa8b31a@mail.gmail.com \
--to=ledest@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