This is the mail archive of the libc-alpha@sources.redhat.com 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: [PATCH] Small fix for cppflags-iterator.mk


   /build3/glibc-cross/mach/libmachuser.so.1: undefined reference to `__umoddi3_internal'
   /build3/glibc-cross/mach/libmachuser.so.1: undefined reference to `__udivdi3_internal'
   /build3/glibc-cross/mach/libmachuser.so.1: undefined reference to `__divdi3_internal'
   /build3/glibc-cross/mach/libmachuser.so.1: undefined reference to `__moddi3_internal'

I can reproduce this, the patch Jeroen posted fixed the problem from
the looks (I only tested it lightly).  Could someone please apply the
patch?  I included it (the patch) for completeness.

2004-03-11  Jeroen Dekkers  <jeroen@dekkers.cx>

	* cppflags-iterator.mk: Change libof-$(cpp-src) to
	libof-$(notdir $(cpp-src)).

Index: cppflags-iterator.mk
===================================================================
RCS file: /cvs/glibc/libc/cppflags-iterator.mk,v
retrieving revision 1.7
diff -u -p -r1.7 cppflags-iterator.mk
--- cppflags-iterator.mk	16 Oct 2002 22:09:47 -0000	1.7
+++ cppflags-iterator.mk	11 Mar 2004 17:33:58 -0000
@@ -4,4 +4,4 @@
 cpp-src := $(firstword $(cpp-srcs-left))
 cpp-srcs-left := $(filter-out $(cpp-src),$(cpp-srcs-left))
 
-libof-$(cpp-src) := $(lib)
+libof-$(notdir $(cpp-src)) := $(lib)


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