* [devel] sysklogd и get_kernel_syms
@ 2017-01-07 20:02 Michael Shigorin
2017-01-07 20:18 ` Vladimir D. Seleznev
2017-01-07 22:39 ` Dmitry V. Levin
0 siblings, 2 replies; 6+ messages in thread
From: Michael Shigorin @ 2017-01-07 20:02 UTC (permalink / raw)
To: devel
Здравствуйте.
Всех причастных поздравляю с Рождеством!
А пишу с вот каким вопросом -- огрёб развал сборки
sysklogd-1.4.1-alt30.src.rpm на e2k после обновления
glibc с 2.21 до 2.23 (возможно, что-то из патчей посеял
в процессе); выглядит вот так:
---
gcc -o klogd klogd.o syslog.o pidfile.o ksym.o \
ksym_mod.o
ksym_mod.o: In function `InitMsyms':
/usr/src/RPM/BUILD/sysklogd-1.4.1/ksym_mod.c:185: undefined reference to `get_kernel_syms'
/usr/src/RPM/BUILD/sysklogd-1.4.1/ksym_mod.c:185: undefined reference to `get_kernel_syms'
/usr/src/RPM/BUILD/sysklogd-1.4.1/ksym_mod.c:185: undefined reference to `get_kernel_syms'
make: *** [klogd] Error 1
---
На x86_64 у нас такое с год тому было:
---
sysklogd-1.4.1-alt30
ksym_mod.o: In function `InitMsyms':
/usr/src/RPM/BUILD/sysklogd-1.4.1/ksym_mod.c:213: undefined reference to `get_kernel_syms'
/usr/src/RPM/BUILD/sysklogd-1.4.1/ksym_mod.c:235: undefined reference to `get_kernel_syms'
collect2: error: ld returned 1 exit status
make: *** [klogd] Error 1
--- https://lists.altlinux.org/pipermail/sisyphus-cybertalk/2016-February/096358.html
КВиЧД?
--
---- WBR, Michael Shigorin / http://altlinux.org
------ http://opennet.ru / http://anna-news.info
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] sysklogd и get_kernel_syms
2017-01-07 20:02 [devel] sysklogd и get_kernel_syms Michael Shigorin
@ 2017-01-07 20:18 ` Vladimir D. Seleznev
2017-01-07 22:10 ` Michael Shigorin
2017-01-07 22:39 ` Dmitry V. Levin
1 sibling, 1 reply; 6+ messages in thread
From: Vladimir D. Seleznev @ 2017-01-07 20:18 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Sat, Jan 07, 2017 at 11:02:23PM +0300, Michael Shigorin wrote:
> Здравствуйте.
> Всех причастных поздравляю с Рождеством!
>
> А пишу с вот каким вопросом -- огрёб развал сборки
> sysklogd-1.4.1-alt30.src.rpm на e2k после обновления
> glibc с 2.21 до 2.23 (возможно, что-то из патчей посеял
> в процессе); выглядит вот так:
>
> ---
> gcc -o klogd klogd.o syslog.o pidfile.o ksym.o \
> ksym_mod.o
> ksym_mod.o: In function `InitMsyms':
> /usr/src/RPM/BUILD/sysklogd-1.4.1/ksym_mod.c:185: undefined reference to `get_kernel_syms'
> /usr/src/RPM/BUILD/sysklogd-1.4.1/ksym_mod.c:185: undefined reference to `get_kernel_syms'
> /usr/src/RPM/BUILD/sysklogd-1.4.1/ksym_mod.c:185: undefined reference to `get_kernel_syms'
> make: *** [klogd] Error 1
> ---
>
> На x86_64 у нас такое с год тому было:
>
> ---
> sysklogd-1.4.1-alt30
> ksym_mod.o: In function `InitMsyms':
> /usr/src/RPM/BUILD/sysklogd-1.4.1/ksym_mod.c:213: undefined reference to `get_kernel_syms'
> /usr/src/RPM/BUILD/sysklogd-1.4.1/ksym_mod.c:235: undefined reference to `get_kernel_syms'
> collect2: error: ld returned 1 exit status
> make: *** [klogd] Error 1
> --- https://lists.altlinux.org/pipermail/sisyphus-cybertalk/2016-February/096358.html
>
> КВиЧД?
А какая версия ядра?
--
С уважением,
Владимир Селезнев
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] sysklogd и get_kernel_syms
2017-01-07 20:18 ` Vladimir D. Seleznev
@ 2017-01-07 22:10 ` Michael Shigorin
0 siblings, 0 replies; 6+ messages in thread
From: Michael Shigorin @ 2017-01-07 22:10 UTC (permalink / raw)
To: devel
On Sat, Jan 07, 2017 at 11:18:15PM +0300, Vladimir D. Seleznev wrote:
> А какая версия ядра?
Одно и то же в обоих случаях (как и заголовки):
2.6.33-elbrus.033.6.57
kernel-headers-3.14-alt1.592653
--
---- WBR, Michael Shigorin / http://altlinux.org
------ http://opennet.ru / http://anna-news.info
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] sysklogd и get_kernel_syms
2017-01-07 20:02 [devel] sysklogd и get_kernel_syms Michael Shigorin
2017-01-07 20:18 ` Vladimir D. Seleznev
@ 2017-01-07 22:39 ` Dmitry V. Levin
2017-01-07 23:05 ` Vladimir D. Seleznev
1 sibling, 1 reply; 6+ messages in thread
From: Dmitry V. Levin @ 2017-01-07 22:39 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 691 bytes --]
On Sat, Jan 07, 2017 at 11:02:23PM +0300, Michael Shigorin wrote:
[...]
> На x86_64 у нас такое с год тому было:
>
> ---
> sysklogd-1.4.1-alt30
> ksym_mod.o: In function `InitMsyms':
> /usr/src/RPM/BUILD/sysklogd-1.4.1/ksym_mod.c:213: undefined reference to `get_kernel_syms'
> /usr/src/RPM/BUILD/sysklogd-1.4.1/ksym_mod.c:235: undefined reference to `get_kernel_syms'
> collect2: error: ld returned 1 exit status
> make: *** [klogd] Error 1
> --- https://lists.altlinux.org/pipermail/sisyphus-cybertalk/2016-February/096358.html
>
> КВиЧД?
https://bugzilla.altlinux.org/show_bug.cgi?id=31636#c17
В пакете накопилось много проблем, и эта не главная.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] sysklogd и get_kernel_syms
2017-01-07 22:39 ` Dmitry V. Levin
@ 2017-01-07 23:05 ` Vladimir D. Seleznev
2017-01-08 5:36 ` Michael Shigorin
0 siblings, 1 reply; 6+ messages in thread
From: Vladimir D. Seleznev @ 2017-01-07 23:05 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Sun, Jan 08, 2017 at 01:39:49AM +0300, Dmitry V. Levin wrote:
> On Sat, Jan 07, 2017 at 11:02:23PM +0300, Michael Shigorin wrote:
> [...]
> > На x86_64 у нас такое с год тому было:
> >
> > ---
> > sysklogd-1.4.1-alt30
> > ksym_mod.o: In function `InitMsyms':
> > /usr/src/RPM/BUILD/sysklogd-1.4.1/ksym_mod.c:213: undefined reference to `get_kernel_syms'
> > /usr/src/RPM/BUILD/sysklogd-1.4.1/ksym_mod.c:235: undefined reference to `get_kernel_syms'
> > collect2: error: ld returned 1 exit status
> > make: *** [klogd] Error 1
> > --- https://lists.altlinux.org/pipermail/sisyphus-cybertalk/2016-February/096358.html
> >
> > КВиЧД?
>
> https://bugzilla.altlinux.org/show_bug.cgi?id=31636#c17
>
> В пакете накопилось много проблем, и эта не главная.
Михаил, отсюда [1]:
* The obsolete functions bdflush, create_module, get_kernel_syms,
query_module and uselib are no longer available to newly linked binaries;
the header <sys/kdaemon.h> has been removed. These functions and header
were specific to systems using the Linux kernel and could not usefully be
used with the GNU C Library on systems with version 2.6 or later of the
Linux kernel.
[1] https://www.sourceware.org/ml/libc-alpha/2016-02/msg00502.html
--
С уважением,
Владимир Селезнев
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] sysklogd и get_kernel_syms
2017-01-07 23:05 ` Vladimir D. Seleznev
@ 2017-01-08 5:36 ` Michael Shigorin
0 siblings, 0 replies; 6+ messages in thread
From: Michael Shigorin @ 2017-01-08 5:36 UTC (permalink / raw)
To: devel
On Sun, Jan 08, 2017 at 02:05:26AM +0300, Vladimir D. Seleznev wrote:
> > > sysklogd-1.4.1-alt30
> > > ksym_mod.o: In function `InitMsyms':
> > > /usr/src/RPM/BUILD/sysklogd-1.4.1/ksym_mod.c:213: undefined reference to `get_kernel_syms'
> > > --- https://lists.altlinux.org/pipermail/sisyphus-cybertalk/2016-February/096358.html
> > > КВиЧД?
> > https://bugzilla.altlinux.org/show_bug.cgi?id=31636#c17
> > В пакете накопилось много проблем, и эта не главная.
Понял.
> [1] https://www.sourceware.org/ml/libc-alpha/2016-02/msg00502.html
Спасибо.
--
---- WBR, Michael Shigorin / http://altlinux.org
------ http://opennet.ru / http://anna-news.info
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-01-08 5:36 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-07 20:02 [devel] sysklogd и get_kernel_syms Michael Shigorin
2017-01-07 20:18 ` Vladimir D. Seleznev
2017-01-07 22:10 ` Michael Shigorin
2017-01-07 22:39 ` Dmitry V. Levin
2017-01-07 23:05 ` Vladimir D. Seleznev
2017-01-08 5:36 ` Michael Shigorin
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