From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] glibc-2.8.90-alt1
Date: Tue, 21 Oct 2008 15:17:22 +0300
Message-ID: <20081021121722.GE24469@localhost.localdomain> (raw)
In-Reply-To: <20081020012040.GA22062@wo.int.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 4830 bytes --]
On Mon, Oct 20, 2008 at 05:20:40AM +0400, Dmitry V. Levin wrote:
> On Fri, Oct 17, 2008 at 01:30:28AM +0400, Dmitry V. Levin wrote:
> > On Mon, Oct 13, 2008 at 04:23:11PM +0400, Dmitry V. Levin wrote:
> > > On Mon, Oct 13, 2008 at 03:17:17PM +0300, Kirill A. Shutemov wrote:
> > > > On Mon, Oct 13, 2008 at 03:25:35PM +0400, Dmitriy M. Maslennikov wrote:
> > > > > 13 октября 2008 г. 12:31 пользователь Dmitry V. Levin
> > > > > <ldv@altlinux.org> написал:
> > > > > > Новый toolchain уже не за горами, <...>
> > > > > И когда же?
> > > >
> > > > Ответ очевиден -- когда будет готов. :)
> > >
> > > Обладателям диковинных архитектур просьба протестировать
> > > http://git.altlinux.org/people/ldv/packages/?p=binutils.git;h=next
> >
> > Обладателям диковинных архитектур просьба протестировать собираемость и
> > минимальную работоспособность gcc-4.3.2-alt1:
> > http://git.altlinux.org/people/ldv/packages/?p=gcc4.git;h=master
> >
> > Для более массового тестирования нужен более новый glibc-devel,
> > который ожидается на следующей неделе.
>
> Обладателям диковинных архитектур просьба протестировать собираемость и
> минимальную работоспособность glibc-2.8.90-alt1:
> http://git.altlinux.org/people/ldv/packages/?p=glibc.git;h=master
Споткнулся на странной проблеме. При линковке, к примеру, libcrypt.so
получаю кучу сообoщений об ошибке следующего вида:
/usr/lib/gcc/arm-alt-linux-gnueabi/4.3.2/libgcc.a(_udivsi3.o): In function
`__aeabi_uidiv':
/usr/src/RPM/BUILD/gcc-4.3.2-20081008/obj-arm-alt-linux-gnueabi/arm-alt-linux-gnueabi/libgcc/../../../libgcc/../gcc/config/arm/lib1funcs.asm:810:
multiple definition of `__udivsi3'
/usr/lib/gcc/arm-alt-linux-gnueabi/4.3.2/libgcc.a(_udivsi3.o):/usr/src/RPM/BUILD/gcc-4.3.2-20081008/obj-arm-alt-linux-gnueabi/arm-alt-linux-gnueabi/libgcc/../../../libgcc/../gcc/config/arm/lib1funcs.asm:810:
first defined here
Т.е. что-то типа конфликта libgcc.a с libgcc.a %-(
Линковка происходит командой вида:
gcc -shared -static-libgcc -Wl,-O1 -Wl,-z,defs -Wl,-dynamic-linker=/lib/ld-linux.so.3 -B/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/csu/ -Wl,--version-script=/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/libcrypt.map -Wl,-soname=libcrypt.so.1 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -e __libc_main -L/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux -L/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/math -L/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/elf -L/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/dlfcn -L/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/nss -L/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/nis -L/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/rt -L/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/resolv -L/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/crypt -L/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/nptl -Wl,-rpath-link=/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux:/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/math:/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/elf:/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/dlfcn:/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/nss:/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/nis:/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/rt:/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/resolv:/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/crypt:/usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/nptl -o /usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/crypt/libcrypt.so -T /usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/shlib.lds /usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/csu/abi-note.o -Wl,--whole-archive /usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/crypt/libcrypt_pic.a /usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/elf/interp.os /usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/libc.so /usr/src/RPM/BUILD/glibc-2.8.90-alt1/build-arm-linux/libc_nonshared.a
Я не знаю, зачем нужен -Wl,--whole-archive, но если его удалить -- помогает.
Есть идеи как с этим разобраться?
--
Regards, Kirill A. Shutemov
+ Belarus, Minsk
+ ALT Linux Team, http://www.altlinux.com/
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-10-21 12:17 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-16 21:30 [devel] gcc-4.3.2-alt1 Dmitry V. Levin
2008-10-17 11:23 ` Wartan Hachaturow
2008-10-17 11:31 ` Dmitry V. Levin
2008-10-17 11:50 ` Wartan Hachaturow
2008-10-17 12:15 ` Kirill A. Shutemov
2008-10-17 12:49 ` Dmitry V. Levin
2008-10-17 13:57 ` Wartan Hachaturow
2008-10-17 14:13 ` Dmitry V. Levin
2008-10-18 12:11 ` Wartan Hachaturow
2008-10-18 12:17 ` Dmitry V. Levin
2008-10-18 15:18 ` wartan.hachaturow
2008-10-18 15:32 ` Anton Farygin
2008-10-17 12:14 ` Kirill A. Shutemov
2008-10-17 12:49 ` Dmitry V. Levin
2008-10-17 13:44 ` Kirill A. Shutemov
2008-10-17 14:09 ` Dmitry V. Levin
2008-10-17 18:30 ` Kirill A. Shutemov
2008-10-17 18:56 ` Kirill A. Shutemov
2008-10-20 1:20 ` [devel] glibc-2.8.90-alt1 Dmitry V. Levin
2008-10-20 7:29 ` Kirill A. Shutemov
2008-10-20 9:04 ` Kirill A. Shutemov
2008-10-20 9:07 ` Dmitry V. Levin
2008-10-21 12:17 ` Kirill A. Shutemov [this message]
2008-10-21 12:45 ` Dmitry V. Levin
2008-10-21 12:51 ` Kirill A. Shutemov
2008-10-21 13:46 ` Sergey Vlasov
2008-10-21 14:21 ` Kirill A. Shutemov
2008-10-26 17:23 ` Igor Zubkov
2008-10-20 9:03 ` [devel] gcc-4.3.2-alt1 Kirill A. Shutemov
2008-10-20 15:28 ` Dmitry V. Levin
2008-10-20 11:46 ` Kirill A. Shutemov
2008-10-20 15:14 ` Dmitry V. Levin
2008-10-20 20:03 ` Dmitry V. Levin
2008-10-22 5:39 ` Alexey Tourbin
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=20081021121722.GE24469@localhost.localdomain \
--to=kirill@shutemov.name \
--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