* [devel] Ошибка линковки
@ 2007-05-17 7:12 Avramenko Andrew
2007-05-17 7:28 ` Avramenko Andrew
2007-05-17 7:28 ` Damir Shayhutdinov
0 siblings, 2 replies; 6+ messages in thread
From: Avramenko Andrew @ 2007-05-17 7:12 UTC (permalink / raw)
To: ALT Devel discussion list
Доброго всем дня!
При сборке пакетика, вылазит вот такая вот ошибка:
Adjusting library links in /home/andrew/tmp/libunwind-buildroot
./usr/lib:
libunwind.so.7 -> libunwind.so.7.0.0
libunwind-ptrace.so.0 -> libunwind-ptrace.so.0.0.0
libunwind-x86.so.7 -> libunwind-x86.so.7.0.0
Verifying ELF objects in /home/andrew/tmp/libunwind-buildroot
(arch=normal,fhs=normal,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
verify-elf: ERROR: ./usr/lib/libunwind-ptrace.so.0.0.0: undefined
symbol: _Ux86_local_addr_space
verify-elf: ERROR: ./usr/lib/libunwind-ptrace.so.0.0.0: undefined
symbol: _Ux86_dwarf_search_unwind_table
...
Все бы ничего и я полез бы глубоко в исходники, но данный пакетик
великолепно пересобирается в среде Red Hat. Сначала я грешил на
--as-needed, но export LDFLAGS="$LDFLAGS -Wl,--no-as-needed" не принес
ожидаемого результата. Может быть такая проблема известна и лекарство
самому искать не надо?
Заранее спасибо.
--
С уважением,
Андрей
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] Ошибка линковки
2007-05-17 7:12 [devel] Ошибка линковки Avramenko Andrew
@ 2007-05-17 7:28 ` Avramenko Andrew
2007-05-17 7:28 ` Damir Shayhutdinov
1 sibling, 0 replies; 6+ messages in thread
From: Avramenko Andrew @ 2007-05-17 7:28 UTC (permalink / raw)
To: ALT Devel discussion list
> Все бы ничего и я полез бы глубоко в исходники, но данный пакетик
> великолепно пересобирается в среде Red Hat. Сначала я грешил на
Наверное это все же потому что там не выполняется verify-elf. Результат
все равно один и тот же...
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] Ошибка линковки
2007-05-17 7:12 [devel] Ошибка линковки Avramenko Andrew
2007-05-17 7:28 ` Avramenko Andrew
@ 2007-05-17 7:28 ` Damir Shayhutdinov
2007-05-17 7:29 ` Damir Shayhutdinov
1 sibling, 1 reply; 6+ messages in thread
From: Damir Shayhutdinov @ 2007-05-17 7:28 UTC (permalink / raw)
To: ALT Devel discussion list
> Доброго всем дня!
И тебе привет!
> При сборке пакетика, вылазит вот такая вот ошибка:
>
> Adjusting library links in /home/andrew/tmp/libunwind-buildroot
> ./usr/lib:
> libunwind.so.7 -> libunwind.so.7.0.0
> libunwind-ptrace.so.0 -> libunwind-ptrace.so.0.0.0
> libunwind-x86.so.7 -> libunwind-x86.so.7.0.0
> Verifying ELF objects in /home/andrew/tmp/libunwind-buildroot
> (arch=normal,fhs=normal,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
> verify-elf: ERROR: ./usr/lib/libunwind-ptrace.so.0.0.0: undefined
> symbol: _Ux86_local_addr_space
> verify-elf: ERROR: ./usr/lib/libunwind-ptrace.so.0.0.0: undefined
> symbol: _Ux86_dwarf_search_unwind_table
> ...
>
>
> Все бы ничего и я полез бы глубоко в исходники, но данный пакетик
> великолепно пересобирается в среде Red Hat.
Потому что в великолепной среде Red Hat нету verify-elf. Если ты соберешь с
%set_verify_elf_method unresolved=relaxed - то получишь то же самое
что и в среде Red Hat - "великолепную" сборку ;)
> Сначала я грешил на
> --as-needed, но export LDFLAGS="$LDFLAGS -Wl,--no-as-needed" не принес
> ожидаемого результата. Может быть такая проблема известна и лекарство
> самому искать не надо?
Долинковывать надо. В Редхате видимо просто недолинковывают. Попробуй
на эту самую библиотеку в Редхате натравить ldd -r, чтобы в этом
убедиться.
Как долинковать - см. архивы этой рассылки (hint: search.altlinux.ru).
Лично я не раз объяснял, как это можно сделать.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [devel] Ошибка линковки
2007-05-17 7:28 ` Damir Shayhutdinov
@ 2007-05-17 7:29 ` Damir Shayhutdinov
2007-05-17 7:33 ` Avramenko Andrew
2007-05-17 9:57 ` Michael Shigorin
0 siblings, 2 replies; 6+ messages in thread
From: Damir Shayhutdinov @ 2007-05-17 7:29 UTC (permalink / raw)
To: ALT Devel discussion list
> Доброго всем дня!
И тебе привет!
> При сборке пакетика, вылазит вот такая вот ошибка:
>
> Adjusting library links in /home/andrew/tmp/libunwind-buildroot
> ./usr/lib:
> libunwind.so.7 -> libunwind.so.7.0.0
> libunwind-ptrace.so.0 -> libunwind-ptrace.so.0.0.0
> libunwind-x86.so.7 -> libunwind-x86.so.7.0.0
> Verifying ELF objects in /home/andrew/tmp/libunwind-buildroot
> (arch=normal,fhs=normal,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
> verify-elf: ERROR: ./usr/lib/libunwind-ptrace.so.0.0.0: undefined
> symbol: _Ux86_local_addr_space
> verify-elf: ERROR: ./usr/lib/libunwind-ptrace.so.0.0.0: undefined
> symbol: _Ux86_dwarf_search_unwind_table
> ...
>
>
> Все бы ничего и я полез бы глубоко в исходники, но данный пакетик
> великолепно пересобирается в среде Red Hat.
Потому что в великолепной среде Red Hat нету verify-elf. Если ты соберешь с
%set_verify_elf_method unresolved=relaxed - то получишь то же самое
что и в среде Red Hat - "великолепную" сборку ;)
> Сначала я грешил на
> --as-needed, но export LDFLAGS="$LDFLAGS -Wl,--no-as-needed" не принес
> ожидаемого результата. Может быть такая проблема известна и лекарство
> самому искать не надо?
Долинковывать надо. В Редхате видимо просто недолинковывают. Попробуй
на эту самую библиотеку в Редхате натравить ldd -r, чтобы в этом
убедиться.
Как долинковать - см. архивы этой рассылки (hint: search.altlinux.ru).
Лично я не раз объяснял, как это можно сделать.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-05-17 9:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-17 7:12 [devel] Ошибка линковки Avramenko Andrew
2007-05-17 7:28 ` Avramenko Andrew
2007-05-17 7:28 ` Damir Shayhutdinov
2007-05-17 7:29 ` Damir Shayhutdinov
2007-05-17 7:33 ` Avramenko Andrew
2007-05-17 9:57 ` 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