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:
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to