This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MCU-PLUS-SDK-AM273X: ARMCLANG compiler errors when compiling C++ code

Part Number: MCU-PLUS-SDK-AM273X

Hi team,

I am compiling a simple cpp program (given below) involving the "complex" in it.

#include <iostream>
#include <complex>

int main() {
    std::complex<double> num1(2.0, 3.0);
    std::complex<double> num2(4.0, -1.0);

    std::cout << "num1: " << num1 << std::endl;
    std::cout << "num2: " << num2 << std::endl;

    std::cout << "num1 + num2: " << num1 + num2 << std::endl;
    std::cout << "num1 - num2: " << num1 - num2 << std::endl;
    std::cout << "num1 * num2: " << num1 * num2 << std::endl;
    std::cout << "num1 / num2: " << num1 / num2 << std::endl;

    return 0;
}

I have compiled it with 2 different commands,

Command 1:

/home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang -DOPENCV_ALLOCATOR_STATS_COUNTER_TYPE=int -DOPENCV_DISABLE_THREAD_SUPPORT=1 -DOPENCV_HAVE_FILESYSTEM_SUPPORT=0 -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build -I/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/modules/core/include -I/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/modules/core -I/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/3rdparty/zlib -I/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/3rdparty/zlib -w --specs=nosys.specs -frtti -fshort-enums -fshort-wchar -Wno-unknown-warning-option -Wno-unused-command-line-argument -Wno-suggest-override -mfpu=vfpv3-d16 -Wno-narrowing -fno-pie -fno-pic -fpermissive -mcpu=cortex-r5 -mthumb -mfloat-abi=hard --std=c++11 -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -Wno-deprecated-enum-enum-conversion -Wno-deprecated-anon-enum-enum-conversion -fdiagnostics-show-option -Qunused-arguments -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Ofast -DNDEBUG -fPIC -std=c++11 -o /home/kowshik/Desktop/armclang_error/properly_compiled.obj -c /home/kowshik/Desktop/armclang_error/hi.cpp

When the above command is used the compile is successful and the obj file is created. However when the command-2 is used with a little addition of path to a bunch of header files as I attached, I get the error shown below  

Command -2

/home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang -DOPENCV_ALLOCATOR_STATS_COUNTER_TYPE=int -DOPENCV_DISABLE_THREAD_SUPPORT=1 -DOPENCV_HAVE_FILESYSTEM_SUPPORT=0 -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build -I/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/modules/core/include -I/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/modules/core -I/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/3rdparty/zlib -I/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/3rdparty/zlib -w --specs=nosys.specs -frtti -fshort-enums -fshort-wchar -Wno-unknown-warning-option -Wno-unused-command-line-argument -Wno-suggest-override -mfpu=vfpv3-d16 -Wno-narrowing -fno-pie -fno-pic -fpermissive -mcpu=cortex-r5 -mthumb -mfloat-abi=hard --std=c++11 -I/home/kowshik/Desktop/armclang_error/fake_root/include -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -Wno-deprecated-enum-enum-conversion -Wno-deprecated-anon-enum-enum-conversion -fdiagnostics-show-option -Qunused-arguments -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Ofast -DNDEBUG -fPIC -std=c++11 -o /home/kowshik/Desktop/armclang_error/hi.cpp.obj -c /home/kowshik/Desktop/armclang_error/hi.cpp


The only change from command-1 and command-2 is the highlighted folder inclusion. I immediately get the below error,

Error Occurred

/home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/include/c++/v1/__locale:136:20: error: use of undeclared identifier 'LC_COLLATE_MASK'
collate = LC_COLLATE_MASK,
^
/home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/include/c++/v1/__locale:137:20: error: use of undeclared identifier 'LC_CTYPE_MASK'
ctype = LC_CTYPE_MASK,
^
/home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/include/c++/v1/__locale:138:20: error: use of undeclared identifier 'LC_MONETARY_MASK'
monetary = LC_MONETARY_MASK,
^
/home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/include/c++/v1/__locale:139:20: error: use of undeclared identifier 'LC_NUMERIC_MASK'
numeric = LC_NUMERIC_MASK,
^
/home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/include/c++/v1/__locale:140:20: error: use of undeclared identifier 'LC_TIME_MASK'
time = LC_TIME_MASK,
^
/home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/include/c++/v1/__locale:141:20: error: use of undeclared identifier 'LC_MESSAGES_MASK'
messages = LC_MESSAGES_MASK,
^
/home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/include/c++/v1/__locale:356:5: error: unknown type name 'locale_t'; did you mean 'locale'?
locale_t __l;
^
/home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/include/c++/v1/__locale:125:24: note: 'locale' declared here
class _LIBCPP_TYPE_VIS locale
^
/home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/include/c++/v1/__locale:376:5: error: unknown type name 'locale_t'; did you mean 'locale'?
locale_t __l;
^
/home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/include/c++/v1/__locale:125:24: note: 'locale' declared here
class _LIBCPP_TYPE_VIS locale
^
/home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/include/c++/v1/__locale:796:5: error: unknown type name 'locale_t'; did you mean 'locale'?
locale_t __l;
^
/home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/include/c++/v1/__locale:125:24: note: 'locale' declared here
class _LIBCPP_TYPE_VIS locale
^
/home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/include/c++/v1/__locale:815:5: error: unknown type name 'locale_t'; did you mean 'locale'?
locale_t __l;
^
/home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/include/c++/v1/__locale:125:24: note: 'locale' declared here
class _LIBCPP_TYPE_VIS locale
^
/home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/include/c++/v1/__locale:1049:5: error: unknown type name 'locale_t'; did you mean 'locale'?
locale_t __l;
^
/home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/include/c++/v1/__locale:125:24: note: 'locale' declared here
class _LIBCPP_TYPE_VIS locale
^
11 errors generated.

I am attaching the files I am using, simply unzip these and run the above commands and to analyze the issue more deeply.

I also came across this article where it says about how to submit a compiler use-case. I have also done this and I am attaching this file as well.

pre-processed output after adding the "-E -C" flags -->  cv_armclang_pre_processed_output.txt

Files I've used for this test -->https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/908/armclang_5F00_error.7z

  • Make sure that the headers included from the fake_root directory are not conflicting with the standard C++ library headers. It's possible that some headers in the fake_root directory are redefining or conflicting with definitions in the C++ standard library.

  • I compared this file ...

    pre-processed output after adding the "-E -C" flags -->  cv_armclang_pre_processed_output.txt

    to a similar build (a clean build) of this file ...

    I am compiling a simple cpp program (given below) involving the "complex" in it.

    Search it for LC_COLLATE_MASK, then scan backwards to find where the comparison begins to differ in a meaningful way.  It looks to start here ...

    To consider that further, I bring up a few lines from <compiler_install_root>/include/c++/v1/__locale

    #if defined(_LIBCPP_MSVCRT_LIKE)
    # include <cstring>
    # include <__support/win32/locale_win32.h>
    #elif defined(_AIX) || defined(__MVS__)
    # include <__support/ibm/xlocale.h>
    #elif defined(__ANDROID__)
    # include <__support/android/locale_bionic.h>
    #elif defined(__sun__)
    # include <xlocale.h>
    # include <__support/solaris/xlocale.h>
    #elif defined(_NEWLIB_VERSION)
    # include <__support/newlib/xlocale.h>                          // LINE 34
    #elif defined(__OpenBSD__)
    # include <__support/openbsd/xlocale.h>
    #elif (defined(__APPLE__)      || defined(__FreeBSD__) \
        || defined(__EMSCRIPTEN__) || defined(__IBMCPP__)  \
        || defined(__TI_PLACEHOLDER__))
    # include <xlocale.h>                                           // LINE 40
    #elif defined(__Fuchsia__)
    # include <__support/fuchsia/xlocale.h>
    #elif defined(__wasi__)
    // WASI libc uses musl's locales support.
    # include <__support/musl/xlocale.h>
    #elif defined(_LIBCPP_HAS_MUSL_LIBC)
    # include <__support/musl/xlocale.h>
    #endif
    

    When the problem build occurs, the preprocessor symbol _NEWLIB_VERSION is defined, and so the #include on line 34 is used.  When the clean build occurs, the #include on line 40 is used.  That causes very different variants of xlocale.h to be used.  It goes downhill from there.  I don't know why this happens.

    Please do this again ...

    pre-processed output after adding the "-E -C" flags -->  cv_armclang_pre_processed_output.txt

    But also add these options: -dD -dI.  Those options are documented here.  That adds yet more information to the preprocessor output.  It should show where _NEWLIB_VERSION gets defined.  That may point you to the root of the problem.  If not, please attach the file like you did before.

    Thanks and regards,

    -George

  • Hi George,

    Thanks for the detailed description of the problem. I have run the command as shown below by adding the options you mentioned,

    Command used -

    /home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang -E -C -dD -dI -DOPENCV_ALLOCATOR_STATS_COUNTER_TYPE=int -DOPENCV_DISABLE_THREAD_SUPPORT=1 -DOPENCV_HAVE_FILESYSTEM_SUPPORT=0 -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build -I/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/modules/core/include -I/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/modules/core -I/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/3rdparty/zlib -I/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/3rdparty/zlib -w --specs=nosys.specs -frtti -fshort-enums -fshort-wchar -Wno-unknown-warning-option -Wno-unused-command-line-argument -Wno-suggest-override -mfpu=vfpv3-d16 -Wno-narrowing -fno-pie -fno-pic -fpermissive -mcpu=cortex-r5 -mthumb -mfloat-abi=hard --std=c++11 -I/home/kowshik/Desktop/armclang_error/fake_root/include -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -Wno-deprecated-enum-enum-conversion -Wno-deprecated-anon-enum-enum-conversion -fdiagnostics-show-option -Qunused-arguments -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Ofast -DNDEBUG -fPIC -std=c++11 -o /home/kowshik/Desktop/armclang_error/hi.cpp.obj -c /home/kowshik/Desktop/armclang_error/hi.cpp

    Output file - https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/908/pp_5F00_output_5F00_with_5F00_dD_5F00_dI


  • Thank for the preprocessed file.  I compared it to a known good build.  This lines appear in your preprocessed file ...

    # 36 "/home/kowshik/ti/ti-cgt-armllvm_2.1.2.LTS/include/c/sys/stdint.h" 3
    # 1 "/home/kowshik/Desktop/armclang_error/fake_root/include/sys/cdefs.h" 1 3

    The corresponding lines from the known good build ...

    # 36 "C:\\ti\\compilers\\ti-cgt-armllvm_2.1.2.LTS\\include\\c\\sys/stdint.h" 3
    # 1 "C:\\ti\\compilers\\ti-cgt-armllvm_2.1.2.LTS\\include\\c\\sys/cdefs.h" 1 3

    Here is what is on line 36 of <compiler_root>/include/c/sys/stdint.h ...

    #include <sys/cdefs.h>

    This line brings in a very different file in each build.  It goes downhill from there.

    The best solution I see is, in your directory /home/kowshik/Desktop/armclang_error/fake_root/include/sys, rename the file cdefs.h.  All the places that #include this file have to use the new name.  I'm sorry that is inconvenient.  But I don't see a better solution.

    Thanks and regards,

    -George

  • Hi George,

    I was able to finally resolve all the errors. However, now I proceeded to link these libraries with an empty tiarmclang c++ project in the CCS studio and during the build I get these kind of multiple errors regarding obj file mismatch.

    Can you help me understand what is the issue? Through some web search I understood that the compiler settings I used to build the libraries mismatched with what CCS is using to compile project and I'm facing issues. How do I solve this?

    Description	Resource	Path	Location	Type
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<alloc.cpp.obj>" has a Tag_ABI_PCS_GOT_use attribute value of "2" that is different than one previously seen ("1"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<alloc.cpp.obj>" has a Tag_ABI_PCS_RO_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<alloc.cpp.obj>" has a Tag_ABI_PCS_RW_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<arithm.cpp.obj>" has a Tag_ABI_PCS_GOT_use attribute value of "2" that is different than one previously seen ("1"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<arithm.cpp.obj>" has a Tag_ABI_PCS_RO_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<arithm.cpp.obj>" has a Tag_ABI_PCS_RW_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<arithm.dispatch.cpp.obj>" has a Tag_ABI_PCS_GOT_use attribute value of "2" that is different than one previously seen ("1"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<arithm.dispatch.cpp.obj>" has a Tag_ABI_PCS_RO_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<arithm.dispatch.cpp.obj>" has a Tag_ABI_PCS_RW_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<array.cpp.obj>" has a Tag_ABI_PCS_GOT_use attribute value of "2" that is different than one previously seen ("1"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<array.cpp.obj>" has a Tag_ABI_PCS_RO_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<array.cpp.obj>" has a Tag_ABI_PCS_RW_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<channels.cpp.obj>" has a Tag_ABI_PCS_GOT_use attribute value of "2" that is different than one previously seen ("1"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<channels.cpp.obj>" has a Tag_ABI_PCS_RO_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<channels.cpp.obj>" has a Tag_ABI_PCS_RW_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<check.cpp.obj>" has a Tag_ABI_PCS_GOT_use attribute value of "2" that is different than one previously seen ("1"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<check.cpp.obj>" has a Tag_ABI_PCS_RO_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<check.cpp.obj>" has a Tag_ABI_PCS_RW_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<convert_scale.dispatch.cpp.obj>" has a Tag_ABI_PCS_GOT_use attribute value of "2" that is different than one previously seen ("1"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<convert_scale.dispatch.cpp.obj>" has a Tag_ABI_PCS_RO_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<convert_scale.dispatch.cpp.obj>" has a Tag_ABI_PCS_RW_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<convert.dispatch.cpp.obj>" has a Tag_ABI_PCS_GOT_use attribute value of "2" that is different than one previously seen ("1"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<convert.dispatch.cpp.obj>" has a Tag_ABI_PCS_RO_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<convert.dispatch.cpp.obj>" has a Tag_ABI_PCS_RW_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<copy.cpp.obj>" has a Tag_ABI_PCS_GOT_use attribute value of "2" that is different than one previously seen ("1"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<copy.cpp.obj>" has a Tag_ABI_PCS_RO_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<copy.cpp.obj>" has a Tag_ABI_PCS_RW_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<datastructs.cpp.obj>" has a Tag_ABI_PCS_GOT_use attribute value of "2" that is different than one previously seen ("1"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<datastructs.cpp.obj>" has a Tag_ABI_PCS_RO_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<datastructs.cpp.obj>" has a Tag_ABI_PCS_RW_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<kmeans.cpp.obj>" has a Tag_ABI_PCS_GOT_use attribute value of "2" that is different than one previously seen ("1"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<kmeans.cpp.obj>" has a Tag_ABI_PCS_RO_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<kmeans.cpp.obj>" has a Tag_ABI_PCS_RW_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<logger.cpp.obj>" has a Tag_ABI_PCS_GOT_use attribute value of "2" that is different than one previously seen ("1"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<logger.cpp.obj>" has a Tag_ABI_PCS_RO_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<logger.cpp.obj>" has a Tag_ABI_PCS_RW_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<logtagconfigparser.cpp.obj>" has a Tag_ABI_PCS_GOT_use attribute value of "2" that is different than one previously seen ("1"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<logtagconfigparser.cpp.obj>" has a Tag_ABI_PCS_RO_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<logtagconfigparser.cpp.obj>" has a Tag_ABI_PCS_RW_data attribute value of "1" that is different than one previously seen ("0"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    #16004-D file "/home/kowshik/Desktop/opencv_porting/opencv_with_tiarmclang/build/lib/libopencv_core.a<logtagmanager.cpp.obj>" has a Tag_ABI_PCS_GOT_use attribute value of "2" that is different than one previously seen ("1"); combining incompatible files	opencv_test_code		 	C/C++ Problem
    

  • Hi George,

    Any suggestions or update here please?

    Thanks

  • This issue continues to be discussed through other means.  I'll close this thread for now.

    Thanks and regards,

    -George