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]

Problems with tcb-offsets.h


Hi,
cvs head of today doesn't compile on s390-32 and probably other
architectures as well because tcb-offsets.h doesn't get generated from
tcb-offsets.sym. The reason seems to be one of the latest changes
in Makerules:

@@ -662,8 +666,13 @@
 endif
 +depfiles := $(addprefix $(objpfx),\
 			 $(filter-out $(addsuffix .d,$(omit-deps)),\
-				      $(+depfiles))) \
-	     $(addprefix $(common-objpfx),$(gen-as-const-headers:.sym=.h.d))
+				      $(+depfiles)))
+
+# Avoid the .h.d files for any .sym files whose .h files don't exist yet.
+# They will be generated when they're needed, and trying too early won't work.
++gen-as-const := $(gen-as-const-headers:%.sym=$(common-objpfx)%.h)
++depfiles += $(addsuffix .d,$(filter $(wildcard $(+gen-as-const)),\
+						$(+gen-as-const)))
 
 ifdef +depfiles
 ifneq ($(no_deps),t)

Without this it compiles fine. Any ideas ?

blue skies,
  Martin.


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