Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/doc Add a hack entry for libpthread one section



details:   https://anonhg.NetBSD.org/src/rev/ec2051e87eaa
branches:  trunk
changeset: 451288:ec2051e87eaa
user:      maya <maya%NetBSD.org@localhost>
date:      Tue May 14 02:53:16 2019 +0000

description:
Add a hack entry for libpthread one section

diffstat:

 doc/HACKS |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 8d7e743b2b05 -r ec2051e87eaa doc/HACKS
--- a/doc/HACKS Mon May 13 18:53:10 2019 +0000
+++ b/doc/HACKS Tue May 14 02:53:16 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index