https://issues.apache.org/ooo/show_bug.cgi?id=124712
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #10 from [email protected] --- The solution for this build error is: GLIBC2.2.5 has the function __cxa_atexit actually defined in libc.a and it is called from libc_nonshared.a __atexit function. g++4.8 or g++4.9 don't have the compiler option -fuse-cxa-atexit by default. So we have to add it. Go into the file ./solenv/gbuild/platform/linux.mk, and add -fuse-cxa-atexit to gb_CXXFLAGS. gb_CXXFLAGS := \ -Wall \ -Wendif-labels \ -Wextra \ -Wno-ctor-dtor-privacy \ -Wno-non-virtual-dtor \ -Wshadow \ -fPIC \ -fmessage-length=0 \ -fno-common \ -fno-strict-aliasing \ -fuse-cxa-atexit \ Now g++ will use this symbol defined in libc.a. -- You are receiving this mail because: You are the assignee for the issue. You are watching all issue changes.
