Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2018 19:55:03 +0000 (UTC)
From:      Alex Richardson <arichardson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r340587 - head
Message-ID:  <201811181955.wAIJt3ib091773@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arichardson
Date: Sun Nov 18 19:55:03 2018
New Revision: 340587
URL: https://svnweb.freebsd.org/changeset/base/340587

Log:
  Fix -DNO_CLEAN amd64 build after r340463
  
  Without this change I got the following error:
  clang-7: error: no such file or directory: '..../lib/libc/amd64/string/bzero.S'
  
  Reviewed By:	mjg
  Differential Revision: https://reviews.freebsd.org/D18031

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Sun Nov 18 14:58:01 2018	(r340586)
+++ head/Makefile.inc1	Sun Nov 18 19:55:03 2018	(r340587)
@@ -962,6 +962,13 @@ _cleanobj_fast_depend_hack: .PHONY
 		   ${LIBCOMPAT:D${LIBCOMPAT_OBJTOP}/lib/libc/.depend.${f}.*}; \
 	fi
 .endfor
+# 20181115  r340463  bzero reimplemented as .c
+	@if [ -e "${OBJTOP}/lib/libc/.depend.bzero.o" ] && \
+	    egrep -qw 'bzero\.[sS]' ${OBJTOP}/lib/libc/.depend.bzero.o; then \
+		echo "Removing stale dependencies for bzero"; \
+		rm -f ${OBJTOP}/lib/libc/.depend.bzero.* \
+		   ${LIBCOMPAT:D${LIBCOMPAT_OBJTOP}/lib/libc/.depend.bzero.*}; \
+	fi
 # 20181009 track migration from ntp's embedded libevent to updated one
 	@if [ -e "${OBJTOP}/usr.sbin/ntp/libntpevent/.depend.bufferevent_openssl.o" ] && \
 	    egrep -q 'contrib/ntp/sntp/libevent/bufferevent_openssl.c' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811181955.wAIJt3ib091773>