Can I compile with MMX and SSE/SSE2 instruction sets ?

Timothy Madden terminatorul@gmail.com
Sun Jun 24 04:22:00 GMT 2012


On 06/24/2012 06:22 AM, Siddhesh Poyarekar wrote:
> On 23 June 2012 19:10, Timothy Madden <terminatorul@gmail.com> wrote:
>>
>> and I got a make error when I tried to do `make check` and no checks were
>> run.
>>
>
> Please post the error message.
>
>>
>> Are my compile flags not supported by glibc ? Is there a way to compile the
>> library with MMX and SSE instruction sets ? Can you please write in the
>> INSTALL file that /lib/libc.so will still be installed with --prefix=/usr,
>> even if install_root=$HOME/usr is used on the `make install` command line ?
>>
>> More importantly: is there a way to get my system back now ? Can I copy
>> /usr/lib/libc.so to /lib/libc.so ?
>>
>
> Boot using a rescue disk and copy over the stock libc files. I know
> Fedora as a rescue mode in its installer disk, so check if slackware
> has something similar.

Yes, here is the error message:

GCONV_PATH=/home/adrian/build/glibc-2.15/iconvdata \
LC_ALL=C \
LOCPATH=/home/adrian/build/glibc-2.15/localedata \
/home/adrian/build/glibc-2.15/elf/ld-linux.so.2 \
--library-path \
/home/adrian/build/glibc-2.15:/home/adrian/build/glibc-2.15/math:/home/adrian/build/glibc-2.15/elf:/home/adrian/build/glibc-2.15/dlfcn:/home/adrian/build/glibc-2.15/nss:/home/adrian/build/glibc-2.15/nis:/home/adrian/build/glibc-2.15/rt:/home/adrian/build/glibc-2.15/resolv:/home/adrian/build/glibc-2.15/crypt:/home/adrian/build/glibc-2.15/nptl 
/home/adrian/build/glibc-2.15/localedata/tst-xlocale1  > 
/home/adrian/build/glibc-2.15/localedata/tst-xlocale1.out
make[2]: *** [/home/adrian/build/glibc-2.15/localedata/tst-xlocale1.out] 
Error 1
make[2]: Leaving directory `/usr/src/glibc-2.15/localedata'
make[1]: *** [localedata/tests] Error 2
make[1]: Leaving directory `/usr/src/glibc-2.15'
make: *** [check] Error 2

and the output file 
/home/adrian/build/glibc-2.15/localedata/tst-xlocale1.out says the 
following:

strcasecmp_l ("TRANSLIT", "translit", loc)
"TRANSLIT" and "translit" expected to be the same, result -1

strcasecmp_l ("TRANSLIT", "translit", loc)
"TRANSLIT" and "translit" expected to be the same, result -1

strcasecmp_l ("TRANSLIT", "trÄnslit", loc)

strcasecmp_l ("TRANSLIT", "translit", loc)
"TRANSLIT" and "translit" expected to be the same, result -1

strcasecmp_l ("ä", "Ä", loc)


After re-installing my entire Slackware-current system (13.37 32-bit) 
and compiling again with only '-mtune=native -O3', it turns out I get 
the same error in make check. Except if I run `make check` again I no 
longer get that error, but another. Really,I do not understand what 
should I do ..

Do I really need tools compiled statically, like the Linux-HOWTO used to 
say in 2004 ?

Can you please include a line in the INSTALL file that --prefix=/usr 
will still install the library directly in the /lib directory, even with 
install_root=$HOME/usr on the make command line ?

Thank you,
Timothy Madden



More information about the Libc-help mailing list