[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Building 'custom' glibc



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

-- 
Anders Karlsson <anders@trudheim.com>
Trudheim Technology Limited

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: