Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/usr/lib/libstdc++.so.6: no version information available #193

Open
hydazz opened this issue Jan 20, 2023 · 2 comments
Open

/usr/lib/libstdc++.so.6: no version information available #193

hydazz opened this issue Jan 20, 2023 · 2 comments
Labels

Comments

@hydazz
Copy link

hydazz commented Jan 20, 2023

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
Copy link
Owner

@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
Copy link

b01 commented Apr 17, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants