Alexander Ivchenko
7955b06580
configure.ac: Move pthread affinity test to the place where '-pthread' passed to CFLAGS.
...
libcilkrts/
* configure.ac: Move pthread affinity test to the place where
'-pthread' passed to CFLAGS. Otherwise the test always fails.
(XCFLAGS): New variable for correctly passing
'-pthread'.
(XLDFLAGS): New variable for passing the correct pthread lib.
* configure: Regenerate.
* Makefile.am (AM_CFLAGS): Add $XCFLAGS.
(AM_LDFLAGS): Add $XLDFLAGS.
* Makefile.in: Regenerate.
From-SVN: r213854
2014-08-12 11:06:44 +00:00
John Marino
dbed5a9bff
config.gcc (*-*-dragonfly*): New target.
...
2014-05-21 John Marino <gnugcc@marino.st>
gcc:
* config.gcc (*-*-dragonfly*): New target.
* configure.ac: Detect dl_iterate_phdr (*freebsd*, *dragonfly*).
* configure: Regenerate.
* config/dragonfly-stdint.h: New.
* config/dragonfly.h: New.
* config/dragonfly.opt: New.
* config/i386/dragonfly.h: New.
* ginclude/stddef.h: Detect _PTRDIFF_T_DECLARED for DragonFly.
include:
* liberty.h: Use basename function on DragonFly.
libcilkrts:
* runtime/os-unix.c (__DragonFly__): New target.
libgcc:
* config.host (*-*-dragonfly*): New target.
* crtstuff.c: Make dl_iterate_support generic on *bsd.
* enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
* unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
* config/i386/dragonfly-unwind.h: New.
libitm:
* configure.tgt (*-*-dragonfly*): New target.
libstdc++-v3:
* acinclude.m4 (*-*-dragonfly*): New target.
* configure: Regenerate.
* configure.host (*-*-dragonfly*): New target.
* config/locale/dragonfly/c_locale.cc: New.
* config/locale/dragonfly/ctype_members.cc: New.
* config/os/bsd/dragonfly/ctype_base.h: New.
* config/os/bsd/dragonfly/ctype_configure_char.cc: New.
* config/os/bsd/dragonfly/ctype_inline.h: New.
* config/os/bsd/dragonfly/os_defines.h: New.
From-SVN: r210694
2014-05-21 12:08:58 +01:00
Barry Tannenbaum
b1cd42c580
re PR bootstrap/60644 (Build of i686-pc-linux-android is broken)
...
Fix for PR other/60644.
+2014-04-11 Barry Tannenbaum <barry.m.tannenbaum@intel.com>
+
+ PR other/60644
+ * runtime/os-unix.c: Replaced all occurrances of ANDROID with
+ __ANDROID__.
+ * runtime/bug.h: Likewise.
+ * include/cilk/metaprogramming.h: Likewise.
+ * include/cilk/reducer_min_max.h: Likewise.
+
From-SVN: r209324
2014-04-11 12:56:42 -07:00
Tobias Burnus
6690cb2ea5
Add libcilkrts/libcilkrts.spec.in, missing from r208847
...
From-SVN: r208851
2014-03-26 20:43:17 +01:00
Tobias Burnus
b9487dd868
gcc.c (LINK_COMMAND_SPEC): Use libcilkrts.spec for -fcilkplus.
...
gcc/
2014-03-26 Tobias Burnus <burnus@net-b.de>
* gcc.c (LINK_COMMAND_SPEC): Use libcilkrts.spec for -fcilkplus.
(CILK_SELF_SPECS): New define.
(driver_self_specs): Use it.
libcilkrts/
2014-03-26 Tobias Burnus <burnus@net-b.de>
* libcilkrts.spec.in: New.
* Makefile.am: Handle libcilkrts.spec.
* configure.ac: Determine link options for libcilkrts.spec.
* Makefile.in: Regenerate.
* configure: Regenerate.
* aclocal.m4: Regenerate.
From-SVN: r208847
2014-03-26 20:16:35 +01:00
Tobias Burnus
5fbbf2d9dc
re PR other/60589 (Parallel install fails due to multiple cilk.h installs)
...
2014-03-20 Tobias Burnus <burnus@net-b.de>
PR other/60589
Reverted:
2014-03-09 Tobias Burnus <burnus@net-b.de>
* Makefile.am: Install cilk.h.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
From-SVN: r208736
2014-03-20 20:50:51 +01:00
Tobias Burnus
e132905869
Makefile.am: Install cilk.h.
...
2014-03-09 Tobias Burnus <burnus@net-b.de>
* Makefile.am: Install cilk.h.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
From-SVN: r208440
2014-03-09 08:48:48 +01:00
Balaji V. Iyer
0cfe1b4698
+ * include/cilk/common.h (__CILKRTS_ABI_VERSION): Set the ABI version + to 1 instead of 0.
...
2014-02-18 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * include/cilk/common.h (__CILKRTS_ABI_VERSION): Set the ABI version
+ to 1 instead of 0.
+ * runtime/cilk-abi-cilk-for.cpp (cilk_for_recursive): Added a fix to
+ initialize stack frame correctly.
+
From-SVN: r207870
2014-02-18 19:43:21 -08:00
Balaji V. Iyer
a596d94005
re PR target/59691 (cilk-plus run failures on non-sse processors)
...
Fix for PR target/59691.
+2014-02-10 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ PR target/59691
+ * runtime/config/x86/os-unix-sysdep.c (__builtin_cpu_supports): New
+ function.
+ (restore_x86_fp_state): Added a check if the cpu supports the
+ instruction before emitting it.
+ (sysdep_save_fp_ctrl_state): Likewise.
+
From-SVN: r207664
2014-02-10 08:56:54 -08:00
Balaji V. Iyer
ef132d593e
re PR other/58996 (build failure in libcilkrts)
...
Fix for PR other/58996.
+2014-01-20 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ PR other/58996
+ * configure.ac: Added a check for pthread affinity support.
+ * runtime/os-unix.c: Likewise.
+ * configure: Regenerate.
+
From-SVN: r206846
2014-01-20 09:49:22 -08:00
Balaji V. Iyer
c7b0a171d0
Fix for PR bootstrap/59094 +2014-01-09 Balaji V.
...
Fix for PR bootstrap/59094
+2014-01-09 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ PR bootstrap/59094
+ * Makefile.am (cilkincludedir): Fixed a bug to store version-specific
+ runtime libraries in the correct place.
+ * Makefile.in: Regenerate.
+
From-SVN: r206469
2014-01-09 08:52:23 -08:00
Balaji V. Iyer
1904eff113
Enabled Usage of _Cilk_spawn and _Cilk_sync in Cilk Runtime (libcilkrts).
...
+2013-12-13 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * Makefile.am (GENERAL_FLAGS): Removed undefining of Cilk keywords.
+ * Makefile.in: Reconfigure.
+ * runtime/symbol_test.c: Added a #define to clear out _Cilk_for.
+
From-SVN: r205965
2013-12-13 08:44:02 -08:00
Rainer Orth
1b7b698a06
Remove GCC_LIBSTDCXX_RAW_CXX_FLAGS
...
* configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): Remove.
* configure: Regenerate.
From-SVN: r205357
2013-11-25 16:32:22 +00:00
Rainer Orth
954d457405
Only use visibility if supported
...
* configure.ac (libcilkrts_cv_have_attribute_visibility): Check
for __attribute__((visibility)).
* configure: Regenerate.
* include/cilk/common.h (CILK_EXPORT, CILK_EXPORT_DATA): Only use
__attribute__((visibility)) if HAVE_ATTRIBUTE_VISIBILITY.
From-SVN: r205254
2013-11-22 11:44:56 +00:00
Rainer Orth
517854bc93
Enable libcilkrts multilib build on Solaris
...
* configure.ac (AC_PROG_CXX): Move after AC_PROG_CC.
* configure: Regenerate.
From-SVN: r205253
2013-11-22 11:41:48 +00:00
Balaji V. Iyer
f8ae0b2ac5
Makefile.am (libcilkrts_la_LDFLAGS): Added a check for availability of "-ldl" flag.
...
2013-11-12 Balaji V. Iyer <balaji.v.iyer@intel.com>
* Makefile.am (libcilkrts_la_LDFLAGS): Added a check for availability
of "-ldl" flag.
* configure.ac: Likewise.
* configure: Regenerate
* Makefile.in: Likewise.
From-SVN: r204723
2013-11-12 15:13:13 -08:00
Balaji V. Iyer
d53b3432e2
+2013-11-08 Balaji V.
...
+2013-11-08 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ PR c/59039
+ * runtime/cilk_fiber-unix.cpp: Fixed a crash in run() function
+ when optimization is turned on.
+
From-SVN: r204592
2013-11-08 11:52:27 -08:00
Balaji V. Iyer
6310844b65
fix for PR bootstrap/58951 +2013-11-04 Balaji V.
...
fix for PR bootstrap/58951
+2013-11-04 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ PR bootstrap/58951
+ * Makefile.am (AM_LDFLAGS): Removed -ldl flag.
+ * Makefile.in: Regenerate.
+
From-SVN: r204381
2013-11-04 20:12:53 -08:00
Rainer Orth
2546da0b1d
os-unix.c: Include <sched.h>.
...
* runtime/os-unix.c [__sun__ && __svr4__]: Include <sched.h>.
(__cilkrts_hardware_cpu_count) [__sun__ && __svr4__]: Use sysconf.
(__cilkrts_yield) [__sun__ && __svr4__]: Use sched_yield.
From-SVN: r204347
2013-11-04 10:13:55 +00:00
Balaji V. Iyer
93edf2c8e7
Added PR number (PR bootstrap/58918) to a previous ChangeLog entry.
...
From-SVN: r204284
2013-10-31 17:21:01 -07:00
Balaji V. Iyer
c1cb31a74f
Fix for PR other/58925 +2013-10-31 Balaji V.
...
Fix for PR other/58925
+2013-10-31 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ PR other/58925
+ * configure.ac: Added target_alias and GCC_LIBSTDCXX_RAW_CXX_FLAGS
+ fields.
+ * configure: Regenerated.
+ * aclocal.m4: Likewise.
+ * Makefile.in: Likewise.
+ * Makefile.am: Added gcc_version field.
+
From-SVN: r204280
2013-10-31 16:55:21 -07:00
Balaji V. Iyer
8c1a9d4d38
configure.ac: Changed a case statement to include i386.
...
2013-10-30 Balaji V. Iyer <balaji.v.iyer@intel.com>
* configure.ac: Changed a case statement to include i386.
* configure: Regenerated.
From-SVN: r204246
2013-10-30 20:21:02 -07:00
Balaji V. Iyer
fbdec79172
Fix for bug Bootstrap/58918.
...
+2013-10-30 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * configure: Reconfigured.
+ * configure.ac: Add AC_FUNC_ALLOCA.
+ * runtime/sysdep-unix.c: Added check for alloca.h before
+ including it.
+ * config/x86/cilk-abi-vla.c: Likewise.
+ * runtime/cilk_fiber-unix.cpp: Likewise.
+
From-SVN: r204232
2013-10-30 15:51:29 -07:00
Tobias Burnus
8a1a4544e9
gcc_update (files_and_dependencies): Add rules for libcilkrts.
...
2013-10-29 Tobias Burnus <burnus@net-b.de>
* gcc_update (files_and_dependencies): Add rules for
libcilkrts.
2013-10-29 Tobias Burnus <burnus@net-b.de>
* configure.ac: Add AM_MAINTAINER_MODE.
* aclocal.m4: Regenerate.
* configure.ac: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r204189
2013-10-30 01:09:21 +01:00
Balaji V. Iyer
3038054c68
Added Cilk runtime library (libcilkrts) into GCC.
...
From-SVN: r204173
2013-10-29 11:37:47 -07:00