Module Name: src
Committed By: maya
Date: Tue May 14 02:53:16 UTC 2019
Modified Files:
src/doc: HACKS
Log Message:
Add a hack entry for libpthread one section
To generate a diff of this commit:
cvs rdiff -u -r1.189 -r1.190 src/doc/HACKS
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/doc/HACKS
diff -u src/doc/HACKS:1.189 src/doc/HACKS:1.190
--- src/doc/HACKS:1.189 Wed Apr 3 21:40:24 2019
+++ src/doc/HACKS Tue May 14 02:53:16 2019
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.189 2019/04/03 21:40:24 christos Exp $
+# $NetBSD: HACKS,v 1.190 2019/05/14 02:53:16 maya Exp $
#
# This file is intended to document workarounds for currently unsolved
# (mostly) compiler bugs.
@@ -27,6 +27,15 @@
#
# this is a comment.
+hack static linking with libpthread
+mdate 7 May 2019
+who maya
+file lib/libpthread/Makefile 1.92 -> 1.94
+descr
+ To avoid some libc thread stub functions being picked up
+ in static builds, link pthread as one section.
+kcah
+
hack gcc-5.3 optimizes memset+malloc -> calloc inside calloc
mdate 4 May 2016
who christos