NetBSD-Bugs archive

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

Re: lib/54001: call_once2_32, call_once2_static test cases failing on amd64 since gcc7 import



The following reply was made to PR lib/54001; it has been noted by GNATS.

From: coypu%sdf.org@localhost
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: lib/54001: call_once2_32, call_once2_static test cases failing
 on amd64 since gcc7 import
Date: Tue, 7 May 2019 17:45:25 +0000

 So, this patch works...
 
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/src/lib/libpthread/Makefile,v
 retrieving revision 1.92
 diff -u -r1.92 Makefile
 --- Makefile	24 Apr 2019 11:43:19 -0000	1.92
 +++ Makefile	7 May 2019 17:45:12 -0000
 @@ -269,6 +269,14 @@
  
  INCS+=		threads.h
  
 +__archivebuild: .USE
 +	${_MKTARGET_BUILD}
 +	@rm -f ${.TARGET}
 +	${LD} -r -o ${.TARGET}.o `NM=${NM} ${LORDER} ${.ALLSRC:M*o} | ${TSORT}`
 +	${AR} ${_ARFL} ${.TARGET} ${.TARGET}.o
 +
 +CLEANFILES+=	${.TARGET}.o
 +
  .include <bsd.lib.mk>
  
  .else
 


Home | Main Index | Thread Index | Old Index