[Mesa-dev] [Bug 101851] [regression] libEGL_common.a undefined reference to '__gxx_personality_v0'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 19 23:31:30 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101851

            Bug ID: 101851
           Summary: [regression] libEGL_common.a undefined reference to
                    '__gxx_personality_v0'
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: EGL
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: mike at fireburn.co.uk
        QA Contact: mesa-dev at lists.freedesktop.org

Created attachment 132780
  --> https://bugs.freedesktop.org/attachment.cgi?id=132780&action=edit
Build log

Here's the error:

libtool: link: ( cd ".libs" && rm -f "libEGL_common.la" && ln -s
"../libEGL_common.la" "libEGL_common.la" )
/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -m32
-I/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/include
-I/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/egl/main
-I/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gbm/main
-I/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG
-DTEXTURE_FLOAT_ENABLED -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM
-DUSE_SSE_ASM -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF
-DHAVE_MKOSTEMP -DHAVE_DLOPEN -DHAVE_DL_ITERATE_PHDR -DHAVE_POSIX_MEMALIGN
-DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING
-DGLX_USE_TLS -DHAVE_X11_PLATFORM -DHAVE_SURFACELESS_PLATFORM
-DHAVE_WAYLAND_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_DRI3 -DENABLE_SHADER_CACHE
-DHAVE_MINCORE -DHAVE_ST_VDPAU -DHAVE_LLVM=0x0500 -DMESA_LLVM_VERSION_PATCH=0
-fvisibility=hidden -I/usr/include/libdrm 
-D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_X11   
-I/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/loader
-I../../src/egl/drivers/dri2
-I/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/egl/drivers/dri2
-I/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gbm/backends/dri
-I/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/egl/wayland/wayland-egl
-I../../src/egl/wayland/wayland-drm
-I/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/egl/wayland/wayland-drm
-DDEFAULT_DRIVER_DIR=\"/usr/lib32/dri\" -D_EGL_BUILT_IN_DRIVER_DRI2  -O2
-march=native -pipe -Wall -std=c99 -Werror=implicit-function-declaration
-Werror=missing-prototypes -fno-math-errno -fno-trapping-math  -no-undefined
-version-number 1:0 -Wl,-Bsymbolic -Wl,--gc-sections -Wl,--no-undefined -Wl,-O1
-Wl,--hash-style=gnu -Wl,--as-needed -o libEGL.la -rpath /usr/lib32 
libEGL_common.la 
libtool: link: x86_64-pc-linux-gnu-gcc -m32 -shared  -fPIC -DPIC 
-Wl,--whole-archive ./.libs/libEGL_common.a -Wl,--no-whole-archive  -Wl,-rpath
-Wl,/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999-abi_x86_32.x86/src/gbm/.libs
-Wl,--as-needed -lpthread -lxcb-dri2 -lX11-xcb -lX11 -lxcb -lxcb-dri3
-lxcb-xfixes -lxcb-present -lxcb-sync -lxshmfence -lz
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999-abi_x86_32.x86/src/gbm/.libs/libgbm.so
-lwayland-client -lwayland-server -lexpat -lm -ldl -ldrm  -m32 -O2
-march=native -Wl,-Bsymbolic -Wl,--gc-sections -Wl,--no-undefined -Wl,-O1
-Wl,--hash-style=gnu   -pthread -Wl,-soname -Wl,libEGL.so.1 -o
.libs/libEGL.so.1.0.0
./.libs/libEGL_common.a(libmesautil_la-string_to_uint_map.o):string_to_uint_map.cpp:DW.ref.__gxx_personality_v0:
error: undefined reference to '__gxx_personality_v0'
collect2: error: ld returned 1 exit status

I've attached the full log too

I think it should be using g++ or including -lstdc++

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170719/42c5f1d6/attachment.html>


More information about the mesa-dev mailing list