svn commit: r351093 - head/libexec/rtld-elf/rtld-libc

Kyle Evans kevans at FreeBSD.org
Thu Aug 15 17:35:25 UTC 2019


Author: kevans
Date: Thu Aug 15 17:35:24 2019
New Revision: 351093
URL: https://svnweb.freebsd.org/changeset/base/351093

Log:
  rtld-elf: fix build with xtoolchain-llvm90
  
  strstr ends up using bcmp when compiled with llvm90; pull it in from libc
  as well.
  
  MFC after:	3 days

Modified:
  head/libexec/rtld-elf/rtld-libc/Makefile.inc

Modified: head/libexec/rtld-elf/rtld-libc/Makefile.inc
==============================================================================
--- head/libexec/rtld-elf/rtld-libc/Makefile.inc	Thu Aug 15 17:32:39 2019	(r351092)
+++ head/libexec/rtld-elf/rtld-libc/Makefile.inc	Thu Aug 15 17:35:24 2019	(r351093)
@@ -40,7 +40,7 @@ CFLAGS.errlst.c+=-I${LIBC_SRCTOP}/include
 
 # Use the string and memory .o files from libc instead of rebuilding them (they
 # might be using optimized assembly and duplicating that logic here is awkward).
-_libc_string_objects=	bcopy memchr memcmp memcpy memmove stpncpy strcat \
+_libc_string_objects=	bcmp bcopy memchr memcmp memcpy memmove stpncpy strcat \
     strchr strcmp stpcpy strcpy strcspn strdup strlcat strlcpy strlen strncmp \
     strncpy strrchr strsep strspn strstr strtok
 # Also use all the syscall .o files from libc_nossp_pic:


More information about the svn-src-all mailing list