Author: sthibault Date: 2015-09-03 00:25:12 +0000 (Thu, 03 Sep 2015) New Revision: 6516
Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-bootstrap.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: patches/hurd-i386/submitted-bootstrap.diff: New patch to fix crt*.o build in stage1. Modified: glibc-package/trunk/debian/changelog =================================================================== --- glibc-package/trunk/debian/changelog 2015-09-01 00:26:53 UTC (rev 6515) +++ glibc-package/trunk/debian/changelog 2015-09-03 00:25:12 UTC (rev 6516) @@ -18,6 +18,8 @@ really self-hosted. * patches/hurd-i386/local-clock_gettime_MONOTONIC.diff: Update patch to not advertise _POSIX_CLOCK_SELECTION for vlc + * patches/hurd-i386/submitted-bootstrap.diff: New patch to fix crt*.o build + in stage1. [ Aurelien Jarno ] * Update from upstream stable branch: Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-bootstrap.diff =================================================================== --- glibc-package/trunk/debian/patches/hurd-i386/submitted-bootstrap.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/submitted-bootstrap.diff 2015-09-03 00:25:12 UTC (rev 6516) @@ -0,0 +1,42 @@ +diff --git a/sysdeps/mach/Makefile b/sysdeps/mach/Makefile +index b47cdc6..3323e81 100644 +--- a/sysdeps/mach/Makefile ++++ b/sysdeps/mach/Makefile +@@ -35,7 +35,7 @@ endif + # because it's different in Darwin and the conditional crap is + # too much trouble. This should suffice for getting the mach/Makefile + # rules invoked when they need to be. +-mach-before-compile := $(mach-objpfx)mach-shortcuts.h \ ++mach-before-compile := $(mach-objpfx)mach-shortcuts.h $(mach-objpfx)mach/mach_interface.h \ + $(patsubst %,$(mach-objpfx)mach/mach_%.h,\ + port host) + +@@ -43,7 +43,7 @@ ifneq (mach,$(subdir)) + # This patsubst generates patterns like `m%h-shortcuts.h', which are damn + # likely to match just the corresponding particular file we want. + $(patsubst mach%,m\%h%,$(mach-before-compile)): # Run only if doesn't exist. +- $(MAKE) -C $(..)mach mach-before-compile no_deps=t generating=t ++ $(MAKE) -C $(..)mach subdir=mach mach-before-compile no_deps=t generating=t + + before-compile += $(mach-before-compile) + endif +diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile +index b528815..244ac4b 100644 +--- a/sysdeps/mach/hurd/Makefile ++++ b/sysdeps/mach/hurd/Makefile +@@ -48,13 +48,13 @@ hurd-objpfx = $(common-objpfx)hurd/ + before-compile += $(patsubst %,$(hurd-objpfx)hurd/%.h,auth io fs process) + $(patsubst %,$(hurd-objpfx)hurd/%.%,auth io fs process): \ + $(common-objpfx)mach/mach-shortcuts.h +- $(MAKE) -C $(..)hurd before-compile no_deps=t ++ $(MAKE) -C $(..)hurd subdir=hurd before-compile no_deps=t + endif + + # Hurd profil.c includes this file, so give a rule to make it. + ifeq ($(subdir),gmon) + $(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c: +- $(MAKE) -C $(..)mach before-compile no_deps=t ++ $(MAKE) -C $(..)mach subdir=mach before-compile no_deps=t + endif + + Modified: glibc-package/trunk/debian/patches/series =================================================================== --- glibc-package/trunk/debian/patches/series 2015-09-01 00:26:53 UTC (rev 6515) +++ glibc-package/trunk/debian/patches/series 2015-09-03 00:25:12 UTC (rev 6516) @@ -163,6 +163,7 @@ hurd-i386/cvs-mlock.diff hurd-i386/tg-mmap32th_bit.diff hurd-i386/tg-sysheaders.diff +hurd-i386/submitted-bootstrap.diff i386/local-biarch.diff i386/local-cmov.diff