Once I work around the previous failure, I quickly get another one on
FreeBSD 8.4/amd64:

/scratch/tmp/gerald/gcc-HEAD/libgomp/target.c:67:12: error: 
\xe2\x80\x98num_devices\xe2\x80\x99 defined but not used 
[-Werror=unused-variable]
 static int num_devices;
            ^

This one did not require autoconf, so I went ahead and fixed it myself. 
;-)  Committed after successful bootstrap on x86_64-unknown-freebsd8.4 
(after hacking around the other failure).

Gerald


2015-01-16  Gerald Pfeifer  <ger...@pfeifer.com>

        * target.c (num_devices): Guard with PLUGIN_SUPPORT.

Index: target.c
===================================================================
--- target.c    (revision 219741)
+++ target.c    (revision 219742)
@@ -63,8 +63,10 @@
 /* Array of descriptors for all available devices.  */
 static struct gomp_device_descr *devices;
 
+#ifdef PLUGIN_SUPPORT
 /* Total number of available devices.  */
 static int num_devices;
+#endif
 
 /* Number of GOMP_OFFLOAD_CAP_OPENMP_400 devices.  */
 static int num_devices_openmp;

Reply via email to