NVIDIA / libglvnd

The GL Vendor-Neutral Dispatch library
502 stars 90 forks source link

tests fail when NM is set to llvm-nm #213

Closed xbjfk closed 2 years ago

xbjfk commented 2 years ago

Log of failing tests

 3/24 glvnd:egl+symbols / EGL symbols check           FAIL            0.09s   exit status 1
02:33:39 PATH=/var/tmp/portage/media-libs/libglvnd-1.4.0/work/libglvnd-v1.4.0-abi_x86_64.amd64/src/GLdispatch:/var/tmp/portage/media-libs/libglvnd-1.4.0/temp/python3.9/bin:/usr/lib/portage/python3.9/ebuild-helpers/xattr:/usr/lib/portage/python3.9/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/13/bin:/usr/lib/llvm/12/bin MALLOC_PERTURB_=44 /usr/bin/python3.9 /var/tmp/portage/media-libs/libglvnd-1.4.0/work/libglvnd-v1.4.0-abi_x86_64.amd64/../libglvnd-v1.4.0/bin/symbols-check.py --nm /usr/lib/llvm/13/bin/llvm-nm --lib src/EGL/libEGL.so.1.1.0 --symbols-file /var/tmp/portage/media-libs/libglvnd-1.4.0/work/libglvnd-v1.4.0-abi_x86_64.amd64/../libglvnd-v1.4.0/src/EGL/egl.symbols
----------------------------------- output -----------------------------------
src/EGL/libEGL.so.1.1.0: unknown symbol exported: __cxa_finalize
src/EGL/libEGL.so.1.1.0: unknown symbol exported: __deregister_frame_info
src/EGL/libEGL.so.1.1.0: unknown symbol exported: __register_frame_info
------------------------------------------------------------------------------

 4/24 glvnd:symbols / GLESv1 symbols check            FAIL            0.09s   exit status 1
02:33:39 PATH=/var/tmp/portage/media-libs/libglvnd-1.4.0/work/libglvnd-v1.4.0-abi_x86_64.amd64/src/GLdispatch:/var/tmp/portage/media-libs/libglvnd-1.4.0/temp/python3.9/bin:/usr/lib/portage/python3.9/ebuild-helpers/xattr:/usr/lib/portage/python3.9/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/13/bin:/usr/lib/llvm/12/bin MALLOC_PERTURB_=45 /usr/bin/python3.9 /var/tmp/portage/media-libs/libglvnd-1.4.0/work/libglvnd-v1.4.0-abi_x86_64.amd64/../libglvnd-v1.4.0/bin/symbols-check.py --nm /usr/lib/llvm/13/bin/llvm-nm --lib src/GLESv1/libGLESv1_CM.so.1.2.0 --symbols-file /var/tmp/portage/media-libs/libglvnd-1.4.0/work/libglvnd-v1.4.0-abi_x86_64.amd64/../libglvnd-v1.4.0/src/GLESv1/glesv1.symbols
----------------------------------- output -----------------------------------
src/GLESv1/libGLESv1_CM.so.1.2.0: unknown symbol exported: __cxa_finalize
src/GLESv1/libGLESv1_CM.so.1.2.0: unknown symbol exported: __deregister_frame_info
src/GLESv1/libGLESv1_CM.so.1.2.0: unknown symbol exported: __register_frame_info
------------------------------------------------------------------------------

...

 6/24 glvnd:symbols / OpenGL symbols check            FAIL            0.12s   exit status 1
02:33:39 PATH=/var/tmp/portage/media-libs/libglvnd-1.4.0/work/libglvnd-v1.4.0-abi_x86_64.amd64/src/GLdispatch:/var/tmp/portage/media-libs/libglvnd-1.4.0/temp/python3.9/bin:/usr/lib/portage/python3.9/ebuild-helpers/xattr:/usr/lib/portage/python3.9/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/13/bin:/usr/lib/llvm/12/bin MALLOC_PERTURB_=90 /usr/bin/python3.9 /var/tmp/portage/media-libs/libglvnd-1.4.0/work/libglvnd-v1.4.0-abi_x86_64.amd64/../libglvnd-v1.4.0/bin/symbols-check.py --nm /usr/lib/llvm/13/bin/llvm-nm --lib src/OpenGL/libOpenGL.so.0.0.0 --symbols-file /var/tmp/portage/media-libs/libglvnd-1.4.0/work/libglvnd-v1.4.0-abi_x86_64.amd64/../libglvnd-v1.4.0/src/OpenGL/ogl.symbols
----------------------------------- output -----------------------------------
src/OpenGL/libOpenGL.so.0.0.0: unknown symbol exported: __cxa_finalize
src/OpenGL/libOpenGL.so.0.0.0: unknown symbol exported: __deregister_frame_info
src/OpenGL/libOpenGL.so.0.0.0: unknown symbol exported: __register_frame_info
------------------------------------------------------------------------------

 7/24 glvnd:symbols / GLESv2 symbols check            FAIL            0.11s   exit status 1
02:33:39 PATH=/var/tmp/portage/media-libs/libglvnd-1.4.0/work/libglvnd-v1.4.0-abi_x86_64.amd64/src/GLdispatch:/var/tmp/portage/media-libs/libglvnd-1.4.0/temp/python3.9/bin:/usr/lib/portage/python3.9/ebuild-helpers/xattr:/usr/lib/portage/python3.9/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/13/bin:/usr/lib/llvm/12/bin MALLOC_PERTURB_=69 /usr/bin/python3.9 /var/tmp/portage/media-libs/libglvnd-1.4.0/work/libglvnd-v1.4.0-abi_x86_64.amd64/../libglvnd-v1.4.0/bin/symbols-check.py --nm /usr/lib/llvm/13/bin/llvm-nm --lib src/GLESv2/libGLESv2.so.2.1.0 --symbols-file /var/tmp/portage/media-libs/libglvnd-1.4.0/work/libglvnd-v1.4.0-abi_x86_64.amd64/../libglvnd-v1.4.0/src/GLESv2/glesv2.symbols
----------------------------------- output -----------------------------------
src/GLESv2/libGLESv2.so.2.1.0: unknown symbol exported: __cxa_finalize
src/GLESv2/libGLESv2.so.2.1.0: unknown symbol exported: __deregister_frame_info
src/GLESv2/libGLESv2.so.2.1.0: unknown symbol exported: __register_frame_info
------------------------------------------------------------------------------

I ran both GNU binutils' nm and LLVM's nm on libGLESv2 and got this output:

gnu-nm_output.txt llvm-nm_output.txt

kbrenneman commented 2 years ago

@xbjfk - libglvnd is hosted on GitLab now. Can you please post this bug report there? https://gitlab.freedesktop.org/glvnd/libglvnd

aaronp24 commented 2 years ago

Closing based on https://github.com/NVIDIA/libglvnd/issues/213#issuecomment-1008299448.