I am trying to run a simple hello world program for Open MP on a C6678 core.
I am compiling using CGT7.4.0B2.
I am using the OMP package 1.00.01.05
In the project properties, under C6000 Compiler -> Advanced Options ->Advanced Optimizations , I selected 'Enable Support for OpenMP 3.0.
I receive the following errors and warning:
<Linking>
error #10378: non-TLS reference "errno" in
"/opt/ti/omp_1_00_01_05_eng/packages/ti/omp/lib/release/ti.omp.ae66<env.oe66
>" mismatches TLS definition in
"/opt/ti/C6000CGT7.4.0B2/lib/rts6600_elf_mt.lib<errno.obj>"
warning #10247-D: creating output section ".TI.tls" without a SECTIONS
specification
warning #10247-D: creating output section ".TI.tls_init" without a SECTIONS
specification
I am unsure what to do to resolve these errors and warnings.
Thanks,
Elaina