Forum Discussion
A quick update, I just tried compiling the whole thing with the latest GCC obtained from the ARM website. What happens are linker errors like that
pathToNewGcc-ARM/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: intelFPGARootDir/18.1/hld/host/arm32/lib/libalteracl.so: undefined reference to `__cxa_end_catch@CXXABI_1.3'
pathToNewGcc-ARM/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: intelFPGARootDir/18.1/hld/host/arm32/lib/libalteracl.so: undefined reference to `std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::string const&, std::_Ios_Openmode)@GLIBCXX_3.4'
pathToNewGcc-ARM/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: intelFPGARootDir/18.1/hld/host/arm32/lib/libalteracl.so: undefined reference to `std::cerr@GLIBCXX_3.4'
pathToNewGcc-ARM/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: intelFPGARootDir/18.1/hld/host/arm32/lib/libalteracl.so: undefined reference to `operator delete(void*)@GLIBCXX_3.4'Never saw such errors before, however I never tried something like that before. Seems like libalteracl.so expects some symbols in some explicit glibc version it doesn't find as the new compiler toolchain comes with a different version, or do I get it wrong? By the way if anyone wants to reproduce it, this is the CMake file I'm using to build everything, I'm using it in JetBrains CLion and set up the various compilers as various toolchains in CLion.
Hi,
Apologize for the inconvenience, I believe it is not possible to have a more updated GCC in the nearest future.
For known the error or issue you can check it here:
https://www.intel.com/content/www/us/en/programmable/support/support-resources/knowledge-base/kdb-filter.html
You can search for example, "libalteracl.so" and a known issue regarding that will be displayed:
https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base/embedded/2018/-segmentation-fault-in-acleventisvalid----using-clenqueuefillbuf.html
Regards.