/usr/lib/libstdc++.so.6: no version information available
hydazz opened this issue · 2 comments
hydazz commented
I have ESPHome installed on alpine, with this glibc package so that compiling works. compiling for the ESP8266 works but when I try compiling for the ESP32 I get the below error.
I have scoured the issues here and have found similar issues, however, none of them seems to work in fixing this.
xtensa-esp32-elf-g++: /usr/lib/libstdc++.so.6: no version information available (required by xtensa-esp32-elf-g++)
xtensa-esp32-elf-g++: Relink `/usr/lib/libgcc_s.so.1' with `/usr/glibc-compat/lib/libc.so.6' for IFUNC symbol `memset'
sgerrand commented
@hydazz: Would you please provide a minimal example Dockerfile
which demonstrates the problem you're experiencing it. Without that I am unable to investigate this matter further.
b01 commented
I believe I have found the reason for this, which has to do with the g++ compiler. In order to have this fixed, you'd have to compile the g++ in a way to ensure that it adds the version information correctly before using it to build glibc.