IceTrooper hat geschrieben:Werft mal einen Blick in die /cdkroot/lib/libpthread.so. Bei mir war dort die Pfadangabe unvollständig.
Danke, das war ein guter Tip.
Ich habe auch die Ursache für die unvollständige Pfadangabe gefunden. Da fehlte was in cdk/Patches/cygwin/glibc.diff:
Code: Alles auswählen
diff -Naur glibc-2.2.5.org/Makeconfig glibc-2.2.5/Makeconfig
--- glibc-2.2.5.org/Makeconfig Wed Sep 12 18:49:45 2001
+++ glibc-2.2.5/Makeconfig Sun Mar 3 00:11:44 2002
@@ -433,13 +433,13 @@
# run the linked programs.
link-libc = -Wl,-rpath-link=$(rpath-link) \
$(common-objpfx)libc.so$(libc.so-version) \
- $(common-objpfx)$(patsubst %,$(libtype.oS),c) $(gnulib)
+ $(common-objpfx)$(patsubst %,$(libtype.ot),c) $(gnulib)
# This is how to find at build-time things that will be installed there.
rpath-dirs = math elf dlfcn nss nis rt resolv crypt
else
ifneq (,$(filter aix aix%,$(config-os)))
link-libc = $(common-objpfx)libc.a \
- $(common-objpfx)$(patsubst %,$(libtype.oS),c) $(gnulib)
+ $(common-objpfx)$(patsubst %,$(libtype.ot),c) $(gnulib)
rpath-dirs = math dlfcn nss nis rt resolv crypt
endif
endif
@@ -652,7 +652,7 @@
# The compilation rules use $(CPPFLAGS-${SUFFIX}) and $(CFLAGS-${SUFFIX})
# to pass different flags for each flavor.
libtypes = $(foreach o,$(object-suffixes-for-libc),$(libtype$o))
-all-object-suffixes := .o .os .op .og .ob .oS
+all-object-suffixes := .o .os .op .og .ob .ot
object-suffixes :=
CPPFLAGS-.o = $(pic-default)
CFLAGS-.o = $(filter %frame-pointer,$(+cflags))
@@ -706,14 +706,14 @@
ifeq (yes,$(build-shared))
# Build special library that contains the static-only routines for libc.
-object-suffixes-for-libc += .oS
+object-suffixes-for-libc += .ot
# Must build the routines as PIC, though, because they can end up in (users')
# shared objects. We don't want to use CFLAGS-os because users may, for
# example, make that processor-specific.
-CFLAGS-.oS = $(CFLAGS-.o) $(pic-ccflag)
-CPPFLAGS-.oS = $(CPPFLAGS-.o) -DPIC -DLIBC_NONSHARED=1
-libtype.oS = lib%_nonshared.a
+CFLAGS-.ot = $(CFLAGS-.o) $(pic-ccflag)
+CPPFLAGS-.ot = $(CPPFLAGS-.o) -DPIC -DLIBC_NONSHARED=1
+libtype.ot = lib%_nonshared.a
endif
diff -Naur glibc-2.2.5.org/Makerules glibc-2.2.5/Makerules
--- glibc-2.2.5.org/Makerules Sun Mar 3 00:08:12 2002
+++ glibc-2.2.5/Makerules Sun Mar 3 00:12:40 2002
@@ -446,7 +446,7 @@
# Bounded pointer thunks are only built for *.ob
elide-bp-thunks = $(addprefix $(bppfx),$(bp-thunks))
-elide-routines.oS += $(filter-out $(static-only-routines),\
+elide-routines.ot += $(filter-out $(static-only-routines),\
$(routines) $(aux) $(sysdep_routines)) \
$(elide-bp-thunks)
elide-routines.os += $(static-only-routines) $(elide-bp-thunks)
@@ -958,7 +958,7 @@
install: $(inst_libdir)/libc.so
$(inst_libdir)/libc.so: $(common-objpfx)format.lds \
$(common-objpfx)libc.so$(libc.so-version) \
- $(inst_libdir)/$(patsubst %,$(libtype.oS),\
+ $(inst_libdir)/$(patsubst %,$(libtype.ot),\
$(libprefix)$(libc-name)) \
$(+force)
(echo '/* GNU ld script';\
@@ -966,7 +966,7 @@
echo ' the static library, so try that secondarily. */';\
cat $<; \
echo 'GROUP ( $(inst_libdir)/libc.so$(libc.so-version)' \
- '$(inst_libdir)/$(patsubst %,$(libtype.oS),$(libprefix)$(libc-name))'\
+ '$(inst_libdir)/$(patsubst %,$(libtype.ot),$(libprefix)$(libc-name))'\
')' \
) > $@.new
mv -f $@.new $@
diff -Naur glibc-2.3.2/linuxthreads/Makefile glibc-2.3.2.patched/linuxthreads/Makefile
--- glibc-2.3.2/linuxthreads/Makefile 2003-02-22 02:01:16.000000000 +0100
+++ glibc-2.3.2.patched/linuxthreads/Makefile 2003-10-12 14:13:50.000000000 +0200
@@ -114,7 +114,7 @@
install: $(inst_libdir)/libpthread.so
$(inst_libdir)/libpthread.so: $(common-objpfx)format.lds \
$(objpfx)libpthread.so$(libpthread.so-version) \
- $(inst_libdir)/$(patsubst %,$(libtype.oS),\
+ $(inst_libdir)/$(patsubst %,$(libtype.ot),\
$(libprefix)pthread) \
$(+force)
(echo '/* GNU ld script';\
@@ -122,7 +122,7 @@
echo ' the static library, so try that secondarily. */';\
cat $<; \
echo 'GROUP ( $(inst_libdir)/libpthread.so$(libpthread.so-version)' \
- '$(inst_libdir)/$(patsubst %,$(libtype.oS),$(libprefix)pthread)'\
+ '$(inst_libdir)/$(patsubst %,$(libtype.ot),$(libprefix)pthread)'\
')' \
) > $@.new
mv -f $@.new $@
diff -Naur glibc-2.2.5.org/sysdeps/sparc/sparc32/sparcv9/Makefile glibc-2.2.5/sysdeps/sparc/sparc32/sparcv9/Makefile
--- glibc-2.2.5.org/sysdeps/sparc/sparc32/sparcv9/Makefile Tue Apr 10 00:11:57 2001
+++ glibc-2.2.5/sysdeps/sparc/sparc32/sparcv9/Makefile Sun Mar 3 00:13:42 2002
@@ -10,4 +10,4 @@
ASFLAGS-.op += -Wa,-Av9a
ASFLAGS-.og += -Wa,-Av9a
ASFLAGS-.ob += -Wa,-Av9a
-ASFLAGS-.oS += -Wa,-Av9a
+ASFLAGS-.ot += -Wa,-Av9a
Die Änderungen sind an die Devs unterwegs.
dbluelle