public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* libgo patch committed: Build testprogcgo with -pthread
@ 2017-06-22 14:24 Ian Lance Taylor
  0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2017-06-22 14:24 UTC (permalink / raw)
  To: gcc-patches, gofrontend-dev

[-- Attachment #1: Type: text/plain, Size: 234 bytes --]

This libgo patch builds the runtime test testprogcgo with -pthread, as
is required by gccgo.  This test is not currently run, but it will be
soon.  Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu.
Committed to mainline.

Ian

[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 801 bytes --]

Index: gcc/go/gofrontend/MERGE
===================================================================
--- gcc/go/gofrontend/MERGE	(revision 249495)
+++ gcc/go/gofrontend/MERGE	(working copy)
@@ -1,4 +1,4 @@
-f70ef19badafb85b1caa72b51b0082deb48d433a
+bbc4f30a027ee09475d08aa4aeed1f2f7067e2e9
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
Index: libgo/go/runtime/testdata/testprogcgo/callback.go
===================================================================
--- libgo/go/runtime/testdata/testprogcgo/callback.go	(revision 249205)
+++ libgo/go/runtime/testdata/testprogcgo/callback.go	(working copy)
@@ -7,6 +7,9 @@
 package main
 
 /*
+#cgo CFLAGS: -pthread
+#cgo LDFLAGS: -pthread
+
 #include <pthread.h>
 
 void go_callback();

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-22 14:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-22 14:24 libgo patch committed: Build testprogcgo with -pthread Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).