This is the mail archive of the gcc-patches@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: [Build, Driver] Add -lcilkrts for -fcilkplus


On Mon, Mar 10, 2014 at 11:42 PM, Tobias Burnus <burnus@net-b.de> wrote:
> When using Cilk Plus (-fcilkplus), it makes sense to automatically link the
> run-time library (-lcilkrts).
>
> This patch mimics libgomp by adding a .spec file; I am not 100% sure whether
> the .spec file is needed, but the pthread tests in libgomp imply that it
> makes sense. (libgomp also checks for -lrt for the high-performance timers,
> a check which is not required for libcilkrts.)
>
> Bootstrapped on x86-64-gnu-linux.
> OK for the trunk?
>

All cilk-plus link tests failed with

xgcc: error: libcilkrts.spec: No such file or directory

Don't you need to add -B............/libcilkrts for this?


-- 
H.J.


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