svn commit: r302398 - head/usr.bin/lorder

Ed Maste emaste at FreeBSD.org
Thu Jul 7 20:51:01 UTC 2016


Author: emaste
Date: Thu Jul  7 20:50:59 2016
New Revision: 302398
URL: https://svnweb.freebsd.org/changeset/base/302398

Log:
  lorder: produce locale-independent symbol ordering
  
  Found by the Debian reproducible builds effort -- Debian bug 830259.
  
  Reported by:	Reiner Herrmann <reiner at reiner-h.de>
  Approved by:	re (gjb)
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/usr.bin/lorder/lorder.sh

Modified: head/usr.bin/lorder/lorder.sh
==============================================================================
--- head/usr.bin/lorder/lorder.sh	Thu Jul  7 20:36:07 2016	(r302397)
+++ head/usr.bin/lorder/lorder.sh	Thu Jul  7 20:50:59 2016	(r302398)
@@ -73,6 +73,7 @@ ${NM} ${NMFLAGS} -go $* | sed "
 	d
 "
 
+export LC_ALL=C
 # eliminate references that can be resolved by the same library.
 if [ $(expr "$*" : '.*\.a[[:>:]]') -ne 0 ]; then
 	sort -u -o $S $S


More information about the svn-src-all mailing list