Hi! On Wed, 24 Jun 2015 11:37:00 +0300, Manolis Ragkousis <manolis...@gmail.com> wrote: > On 23 June 2015 at 16:10, Samuel Thibault <samuel.thiba...@gnu.org> wrote: > > Ok, the change which made my glibc work with static linking is: > > > > --host=i586-gnu --build=i586-gnu > > > > I guess the default i686 variant introduces bugs. > > > > Trying to run "make lib" in darnassus using i586-gnu, with the debian > sources, fails with > > /home/phant0mas/sources/debian-glibc/glibc-2.19/build/libc_pic.os: In > function `__strcspn_sse42': > (.text.sse4.2+0x1d73): undefined reference to `__strcspn_ia32' > /home/phant0mas/sources/debian-glibc/glibc-2.19/build/libc_pic.os: In > function `__strpbrk_sse42': > (.text.sse4.2+0x1eb0): undefined reference to `__strpbrk_ia32' > /home/phant0mas/sources/debian-glibc/glibc-2.19/build/libc_pic.os: In > function `__strspn_sse42': > (.text.sse4.2+0x1fe8): undefined reference to `__strspn_ia32' > collect2: error: ld returned 1 exit status
That looks like something's going wrong with IFUNCs, <http://www.gnu.org/software/hurd/open_issues/ifunc.html>. What's your exact configure command line? In particular, are you using --disable-multi-arch (if I remember correctly)? > and the same command with the tarballs sources end up with > > http://paste.lisp.org/display/150437 That looks like <https://sourceware.org/PR15605>, <http://news.gmane.org/find-root.php?message_id=%3CE1VU3KH-00083u-04%40vasks.debian.org%3E>, <http://news.gmane.org/find-root.php?message_id=%3CE1VU9tp-0007UR-IS%40vasks.debian.org%3E>. Grüße, Thomas
signature.asc
Description: PGP signature