Author: markj
Date: Sat Jul 21 22:10:28 2018
New Revision: 336591
URL: https://svnweb.freebsd.org/changeset/base/336591

Log:
  Disable optimization of the libproc test program.
  
  Dead code elimination may remove symbols that are required by the tests.
  
  Reported by:  Jenkins, via asomers
  MFC after:    1 week

Modified:
  head/lib/libproc/tests/Makefile

Modified: head/lib/libproc/tests/Makefile
==============================================================================
--- head/lib/libproc/tests/Makefile     Sat Jul 21 21:34:10 2018        
(r336590)
+++ head/lib/libproc/tests/Makefile     Sat Jul 21 22:10:28 2018        
(r336591)
@@ -12,5 +12,6 @@ LIBADD=       elf proc rtld_db util
 # Ensure that symbols aren't stripped from the test program, as they're needed
 # for testing symbol lookup.
 STRIP=
+CFLAGS.target_prog.c+= -O0
 
 .include <bsd.test.mk>
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to