Re: Building 'custom' glibc
Anders Karlsson <anders@trudheim.com> wrote:
> Hallo,
>
> Dangerous thing to do, I know, but I thought that if any distribution
> can do it it would be Debian.
>
> What I would like to do, is build a glibc optimised for Pentium-M and
> SSE2 (if this now at all is possible, it seemed feasible anyway).
>
> I started off the build last night, reading the man-page for
> dpkg-buildpackage and I think I got it mainly right. The problem is that
> it fails when building 'rtld-all'. The tail of the output is as follows:
>
> make[5]: Entering directory
> `/build/Build/glibc-2.3.2.ds1/build-tree/glibc-2.3.2/string'
> make[5]: Nothing to be done for `rtld-all'.
> make[5]: Leaving directory
> `/build/Build/glibc-2.3.2.ds1/build-tree/glibc-2.3.2/string'
> /usr/bin/make -C ../time
> objdir=/build/Build/glibc-2.3.2.ds1/build-tree/i386-nptl -f Makefile -f
> ../elf/rtld-Rules rtld-all rtld-modules='rtld-setitimer.os'
> make[5]: Entering directory
> `/build/Build/glibc-2.3.2.ds1/build-tree/glibc-2.3.2/time'
> make[5]: Nothing to be done for `rtld-all'.
> make[5]: Leaving directory
> `/build/Build/glibc-2.3.2.ds1/build-tree/glibc-2.3.2/time'
> make[4]: Leaving directory
> `/build/Build/glibc-2.3.2.ds1/build-tree/glibc-2.3.2/elf'
> make[3]: *** No rule to make target
> `/build/Build/glibc-2.3.2.ds1/build-tree/i386-nptl/dlfcn/libdl.so.2',
> needed by
> `/build/Build/glibc-2.3.2.ds1/build-tree/i386-nptl/elf/sprof'. Stop.
> make[3]: Leaving directory
> `/build/Build/glibc-2.3.2.ds1/build-tree/glibc-2.3.2/elf'
> make[2]: *** [elf/subdir_install] Error 2
> make[2]: Leaving directory
> `/build/Build/glibc-2.3.2.ds1/build-tree/glibc-2.3.2'make[1]: ***
> [install] Error 2
> make[1]: Leaving directory
> `/build/Build/glibc-2.3.2.ds1/build-tree/i386-nptl'
> make: *** [/build/Build/glibc-2.3.2.ds1/stamp-dir/install_nptl] Error 2
>
>
> Is there anything I have done wrong, or is the package broken somehow?
> If someone can give me some pointers I would appreciate it. :)
How did you started the build? Yesterday I rebuilt the testing glibc
package (libc6), with apt-build, succesfully on a Pentium II and on a
Pentium IV.
--
Mathieu Roy
+---------------------------------------------------------------------+
| General Homepage: http://yeupou.coleumes.org/ |
| Computing Homepage: http://alberich.coleumes.org/ |
| Not a native english speaker: |
| http://stock.coleumes.org/doc.php?i=/misc-files/flawed-english |
+---------------------------------------------------------------------+
Reply to: