eembc / coremark-pro

Containing dozens of real-world and synthetic tests, CoreMark®-PRO (2015) is an industry-standard benchmark that measures the multi-processor performance of central processing units (CPU) and embedded microcrontrollers (MCU)
Other
174 stars 55 forks source link

GLIBC_2.27' not found required by arm-linux-gnueabihf #17

Closed sunildogra1710 closed 2 years ago

sunildogra1710 commented 2 years ago

As you suggest "if you had used arm-linux-eabi then it would have compiled. This is unrelated to the benchmark. Here is a good explanation of the three components in the toolchain name."

I have downloaded GNU tool chain version 11.3 “https://snapshots.linaro.org/gnu-toolchain/ but getting the below error. ./linaro/gcc-linaro-11.3.1-2022.06-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/11.3.1/../../../../arm-linux-gnueabihf/bin/ld: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by ./linaro/gcc-linaro-11.3.1-2022.06-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/11.3.1/../../../../arm-linux-gnueabihf/bin/ld)

I have downloaded “sysroot-glibc-linaro-2.34-2022.06-arm-linux-gnueabihf” from the gnu-tool chain package and changed the path but still getting GLIB_2.27 not found error.

please help me on this.

petertorelli commented 2 years ago

This means the executable requires the GLIB_2.27 libraries. This happens when you run an application on an OS that is not up-to-date. You need to update libc on your machine. This is unrelated to CoreMark-Pro. Please try StackExchange / Google / Etc.