This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Sun, Jun 24, 2012 at 07:22:48AM +0300, Timothy Madden wrote:
> >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)

It is standard GNU Make behaviour to stop at the first build
failure. If you want to build and run all the tests use 
`make -k` instead.

Please note that you should not install the built glibc until you 
understand the cause of the failures for your particular 
environment.

> 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 ..

That's also expected. Running `make check` will not re-run a
test case you have already run. To re-run all of the test you
must remove all of the output files to trigger the tests to run
again e.g. `find . -name '*.out' | xargs rm`.
 
> Do I really need tools compiled statically, like the Linux-HOWTO
> used to say in 2004 ?

If you run the install as root you will need some assurances
that you can recover your system, and statically linked
executables are one assurance.

> 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 ?

What documentation are you reading that says to use `install_root`?

As a GNU project we conform to the GNU Coding Standards.

Does installing with DESTDIR (as documented) do what you need?

e.g. make DESTDIR=/tmp/stage1 install

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]