This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cilk Library


On 10/23/2013 12:30 PM, Iyer, Balaji V wrote:
> Hi Jeff et al.,
> 	Here is a link to the updated patch (https://docs.google.com/file/d/0BzEpbbnrYKsSbVY2X3ZLUnd4OXM/edit?usp=sharing). We have fixed all the issues that Joseph pointed out in http://gcc.gnu.org/ml/gcc/2013-10/msg00090.html. We have also added symbol versioning and have double-checked (using nm) that all symbols are hidden unless we have explicitly allowed them to be public.
> 


In file included from ../../../git-master/libcilkrts/runtime/cilk-abi.c:52:0:
../../../git-master/libcilkrts/include/cilk/cilk_api.h:59:9: warning: #warning
Cilk API is being used with non-Cilk compiler (or Cilk is disabled) [-Wcpp]
 #       warning Cilk API is being used with non-Cilk compiler (or Cilk is
disabled)

and similar for

 ../../../git-master/libcilkrts/runtime/global_state.cpp:44
 ../../../git-master/libcilkrts/runtime/reducer_impl.cpp:59
 ../../../git-master/libcilkrts/runtime/scheduler.c:74:0:

> CILKABI1
> {
>   global:
>     __cilkrts_bind_thread_1;
>     __cilkrts_bump_loop_rank;
>     __cilkrts_bump_loop_rank_internal;
>     __cilkrts_bump_worker_rank;
>     __cilkrts_bump_worker_rank_internal;
>     __cilkrts_enter_frame_1;
>     __cilkrts_enter_frame_fast_1;
>     __cilkrts_get_pedigree_info;
>     __cilkrts_get_pedigree_internal;
>     __cilkrts_get_sf;
>     __cilkrts_get_stack_size;
>     __cilkrts_get_worker_rank;
>     __cilkrts_save_fp_ctrl_state;
>     __cilkrts_stack_alloc;
>     __cilkrts_stack_free;
>     __cilkrts_watch_stack;
> };

You probably want CILKABI1 to inherit from CILKABI0.  E.g.

  } CLKABI0;

Is there any relation between these and CILKLIB1.02?


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]