Open hute37 opened 2 months ago
~ % gcc --version
gcc (GCC) 14.2.1 20240801 (Red Hat 14.2.1-1)
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ % dnf list --installed | grep zeromq
zeromq.x86_64 4.3.5-16.fc40 @fedora
zeromq-devel.x86_64 4.3.5-16.fc40 @fedora
~ % dnf repoquery -l zeromq
...
/usr/lib/.build-id/6b/7eb1f108543869a6453519d23df013879af890
/usr/lib/.build-id/cc/d2c6395d982c80a98042fd9e8bf41c3dcd0ebb
/usr/lib64/libzmq.so.5
/usr/lib64/libzmq.so.5.2.5
~ % dnf repoquery -l zeromq-devel
/usr/include/zmq.h
/usr/include/zmq_utils.h
/usr/lib/libzmq.so
/usr/lib/pkgconfig/libzmq.pc
/usr/include/zmq.h
/usr/include/zmq_utils.h
/usr/lib64/libzmq.so
/usr/lib64/pkgconfig/libzmq.pc
~ % cat /usr/lib64/pkgconfig/libzmq.pc
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib64
includedir=/usr/include
Name: libzmq
Description: 0MQ c++ library
Version: 4.3.5
Libs: -L${libdir} -lzmq
Libs.private: -lstdc++ -lpthread -lrt -ldl
Requires.private: krb5-gssapi libsodium openpgm-5.2 >= 5.2 libunwind
Cflags: -I${includedir} -DZMQ_BUILD_DRAFT_API=1
~ % ldd /usr/lib64/libzmq.so.5.2.5
linux-vdso.so.1 (0x00007f52cb948000)
libunwind.so.8 => /lib64/libunwind.so.8 (0x00007f52cb87e000)
libsodium.so.26 => /lib64/libsodium.so.26 (0x00007f52cb81e000)
libpgm-5.2.so.0 => /lib64/libpgm-5.2.so.0 (0x00007f52cb7d5000)
libm.so.6 => /lib64/libm.so.6 (0x00007f52cb6f1000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f52cb69c000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f52cb400000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f52cb66c000)
libc.so.6 => /lib64/libc.so.6 (0x00007f52cb20f000)
/lib64/ld-linux-x86-64.so.2 (0x00007f52cb94a000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f52cb147000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f52cb130000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f52cb665000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f52cb120000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f52cb119000)
libcrypto.so.3 => /lib64/libcrypto.so.3 (0x00007f52cac00000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f52cb107000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f52cb0da000)
libz.so.1 => /lib64/libz.so.1 (0x00007f52cb0b9000)
libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007f52cab60000)
~ % find .emacs.d -name 'emacs-zmq*so'
.emacs.d/elpa/zmq-20240716.2000/src/.libs/emacs-zmq.so
.emacs.d/elpa/zmq-20240716.2000/emacs-zmq.so
~ % ldd .emacs.d/elpa/zmq-20240716.2000/emacs-zmq.so
linux-vdso.so.1 (0x00007fa591d01000)
libzmq.so.5 => /lib64/libzmq.so.5 (0x00007fa591c3a000)
libc.so.6 => /lib64/libc.so.6 (0x00007fa591a49000)
libunwind.so.8 => /lib64/libunwind.so.8 (0x00007fa591a2f000)
libsodium.so.26 => /lib64/libsodium.so.26 (0x00007fa5919cf000)
libpgm-5.2.so.0 => /lib64/libpgm-5.2.so.0 (0x00007fa591986000)
libm.so.6 => /lib64/libm.so.6 (0x00007fa5918a2000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007fa59184b000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fa591400000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fa59181d000)
/lib64/ld-linux-x86-64.so.2 (0x00007fa591d03000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fa591755000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fa59173e000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fa591735000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007fa591725000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fa59171e000)
libcrypto.so.3 => /lib64/libcrypto.so.3 (0x00007fa590e00000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fa59170c000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fa5916dd000)
libz.so.1 => /lib64/libz.so.1 (0x00007fa5916bc000)
libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007fa591360000)
~ % which -a emacs
/usr/bin/emacs
~ % ldd /usr/bin/emacs
linux-vdso.so.1 (0x00007f11ea342000)
libgtk-3.so.0 => /lib64/libgtk-3.so.0 (0x00007f11e9a00000)
libgdk-3.so.0 => /lib64/libgdk-3.so.0 (0x00007f11ea22e000)
libz.so.1 => /lib64/libz.so.1 (0x00007f11ea20d000)
libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007f11e98e4000)
libpangocairo-1.0.so.0 => /lib64/libpangocairo-1.0.so.0 (0x00007f11ea1fc000)
libpango-1.0.so.0 => /lib64/libpango-1.0.so.0 (0x00007f11e987b000)
libatk-1.0.so.0 => /lib64/libatk-1.0.so.0 (0x00007f11ea1d4000)
libcairo.so.2 => /lib64/libcairo.so.2 (0x00007f11e9746000)
libcairo-gobject.so.2 => /lib64/libcairo-gobject.so.2 (0x00007f11ea1cb000)
libgdk_pixbuf-2.0.so.0 => /lib64/libgdk_pixbuf-2.0.so.0 (0x00007f11e9718000)
libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007f11e9549000)
libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007f11e94ea000)
libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f11e939c000)
libtiff.so.6 => /lib64/libtiff.so.6 (0x00007f11e9311000)
libjpeg.so.62 => /lib64/libjpeg.so.62 (0x00007f11e9274000)
libpng16.so.16 => /lib64/libpng16.so.16 (0x00007f11e923a000)
libgif.so.7 => /lib64/libgif.so.7 (0x00007f11e922d000)
libwebpdemux.so.2 => /lib64/libwebpdemux.so.2 (0x00007f11ea1c2000)
libwebpdecoder.so.3 => /lib64/libwebpdecoder.so.3 (0x00007f11e91f4000)
libasound.so.2 => /lib64/libasound.so.2 (0x00007f11e90ed000)
librsvg-2.so.2 => /lib64/librsvg-2.so.2 (0x00007f11e8c00000)
libm.so.6 => /lib64/libm.so.6 (0x00007f11e9009000)
libacl.so.1 => /lib64/libacl.so.1 (0x00007f11e8fff000)
libwebkit2gtk-4.1.so.0 => /lib64/libwebkit2gtk-4.1.so.0 (0x00007f11e5400000)
libsoup-3.0.so.0 => /lib64/libsoup-3.0.so.0 (0x00007f11e8b68000)
libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007f11e8ff8000)
libjavascriptcoregtk-4.1.so.0 => /lib64/libjavascriptcoregtk-4.1.so.0 (0x00007f11e3c00000)
libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007f11e8b14000)
libxml2.so.2 => /lib64/libxml2.so.2 (0x00007f11e3aa2000)
libtinfo.so.6 => /lib64/libtinfo.so.6 (0x00007f11e53d3000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f11e53a6000)
libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007f11e39d9000)
libfontconfig.so.1 => /lib64/libfontconfig.so.1 (0x00007f11e5356000)
libotf.so.1 => /lib64/libotf.so.1 (0x00007f11e8afb000)
libgnutls.so.30 => /lib64/libgnutls.so.30 (0x00007f11e3600000)
libanl.so.1 => /lib64/libanl.so.1 (0x00007f11e8ff1000)
libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007f11e38eb000)
libjansson.so.4 => /lib64/libjansson.so.4 (0x00007f11e8fde000)
libgmp.so.10 => /lib64/libgmp.so.10 (0x00007f11e3847000)
libgccjit.so.0 => /lib64/libgccjit.so.0 (0x00007f11e0e00000)
libtree-sitter.so.0 => /lib64/libtree-sitter.so.0 (0x00007f11e35d2000)
libsqlite3.so.0 => /lib64/libsqlite3.so.0 (0x00007f11e0ca2000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f11e35a4000)
libc.so.6 => /lib64/libc.so.6 (0x00007f11e0ab1000)
libpangoft2-1.0.so.0 => /lib64/libpangoft2-1.0.so.0 (0x00007f11e533c000)
libfribidi.so.0 => /lib64/libfribidi.so.0 (0x00007f11e3827000)
libepoxy.so.0 => /lib64/libepoxy.so.0 (0x00007f11e3496000)
libXi.so.6 => /lib64/libXi.so.6 (0x00007f11e0a9e000)
libX11.so.6 => /lib64/libX11.so.6 (0x00007f11e0959000)
libatk-bridge-2.0.so.0 => /lib64/libatk-bridge-2.0.so.0 (0x00007f11e091c000)
libcloudproviders.so.0 => /lib64/libcloudproviders.so.0 (0x00007f11e0902000)
libtracker-sparql-3.0.so.0 => /lib64/libtracker-sparql-3.0.so.0 (0x00007f11e0827000)
libwayland-client.so.0 => /lib64/libwayland-client.so.0 (0x00007f11e3486000)
libXfixes.so.3 => /lib64/libXfixes.so.3 (0x00007f11e081f000)
libxkbcommon.so.0 => /lib64/libxkbcommon.so.0 (0x00007f11e07d8000)
libwayland-cursor.so.0 => /lib64/libwayland-cursor.so.0 (0x00007f11e07ce000)
libwayland-egl.so.1 => /lib64/libwayland-egl.so.1 (0x00007f11e8af0000)
libXext.so.6 => /lib64/libXext.so.6 (0x00007f11e07ba000)
libXcursor.so.1 => /lib64/libXcursor.so.1 (0x00007f11e07ad000)
libXdamage.so.1 => /lib64/libXdamage.so.1 (0x00007f11e3822000)
libXcomposite.so.1 => /lib64/libXcomposite.so.1 (0x00007f11e07a8000)
libXrandr.so.2 => /lib64/libXrandr.so.2 (0x00007f11e079b000)
libXinerama.so.1 => /lib64/libXinerama.so.1 (0x00007f11e0796000)
libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007f11e0776000)
libthai.so.0 => /lib64/libthai.so.0 (0x00007f11e076a000)
libXrender.so.1 => /lib64/libXrender.so.1 (0x00007f11e075e000)
libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f11e0733000)
libxcb-render.so.0 => /lib64/libxcb-render.so.0 (0x00007f11e0723000)
libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007f11e071e000)
libpixman-1.so.0 => /lib64/libpixman-1.so.0 (0x00007f11e066f000)
libmount.so.1 => /lib64/libmount.so.1 (0x00007f11e061d000)
libffi.so.8 => /lib64/libffi.so.8 (0x00007f11e060d000)
libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007f11e056d000)
libwebp.so.7 => /lib64/libwebp.so.7 (0x00007f11e04fc000)
libzstd.so.1 => /lib64/libzstd.so.1 (0x00007f11e043d000)
libLerc.so.4 => /lib64/libLerc.so.4 (0x00007f11e03ac000)
libjbig.so.2.1 => /lib64/libjbig.so.2.1 (0x00007f11e039e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f11ea344000)
libattr.so.1 => /lib64/libattr.so.1 (0x00007f11e0396000)
libicui18n.so.74 => /lib64/libicui18n.so.74 (0x00007f11e0000000)
libicuuc.so.74 => /lib64/libicuuc.so.74 (0x00007f11dfe0c000)
libxslt.so.1 => /lib64/libxslt.so.1 (0x00007f11e034f000)
liblcms2.so.2 => /lib64/liblcms2.so.2 (0x00007f11dfda8000)
libwoff2dec.so.1.0.2 => /lib64/libwoff2dec.so.1.0.2 (0x00007f11e0342000)
libharfbuzz-icu.so.0 => /lib64/libharfbuzz-icu.so.0 (0x00007f11e033d000)
libgcrypt.so.20 => /lib64/libgcrypt.so.20 (0x00007f11dfc76000)
libgstallocators-1.0.so.0 => /lib64/libgstallocators-1.0.so.0 (0x00007f11e0333000)
libgstapp-1.0.so.0 => /lib64/libgstapp-1.0.so.0 (0x00007f11dfc5e000)
libgstbase-1.0.so.0 => /lib64/libgstbase-1.0.so.0 (0x00007f11dfbd8000)
libgstreamer-1.0.so.0 => /lib64/libgstreamer-1.0.so.0 (0x00007f11dfa8d000)
libgstpbutils-1.0.so.0 => /lib64/libgstpbutils-1.0.so.0 (0x00007f11dfa4c000)
libgstaudio-1.0.so.0 => /lib64/libgstaudio-1.0.so.0 (0x00007f11df9c9000)
libgsttranscoder-1.0.so.0 => /lib64/libgsttranscoder-1.0.so.0 (0x00007f11df9ba000)
libgsttag-1.0.so.0 => /lib64/libgsttag-1.0.so.0 (0x00007f11df97a000)
libgstvideo-1.0.so.0 => /lib64/libgstvideo-1.0.so.0 (0x00007f11df8ad000)
libgstgl-1.0.so.0 => /lib64/libgstgl-1.0.so.0 (0x00007f11df821000)
libgstfft-1.0.so.0 => /lib64/libgstfft-1.0.so.0 (0x00007f11df816000)
libjxl.so.0.8 => /lib64/libjxl.so.0.8 (0x00007f11df400000)
libavif.so.16 => /lib64/libavif.so.16 (0x00007f11df3d7000)
libenchant-2.so.2 => /lib64/libenchant-2.so.2 (0x00007f11df3cb000)
libsecret-1.so.0 => /lib64/libsecret-1.so.0 (0x00007f11df36c000)
libtasn1.so.6 => /lib64/libtasn1.so.6 (0x00007f11df356000)
libhyphen.so.0 => /lib64/libhyphen.so.0 (0x00007f11df34e000)
libwayland-server.so.0 => /lib64/libwayland-server.so.0 (0x00007f11df33a000)
libmanette-0.2.so.0 => /lib64/libmanette-0.2.so.0 (0x00007f11df309000)
libseccomp.so.2 => /lib64/libseccomp.so.2 (0x00007f11df2e9000)
libgbm.so.1 => /lib64/libgbm.so.1 (0x00007f11df2d8000)
libdrm.so.2 => /lib64/libdrm.so.2 (0x00007f11df2c1000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f11df000000)
libpsl.so.5 => /lib64/libpsl.so.5 (0x00007f11df2ac000)
libbrotlidec.so.1 => /lib64/libbrotlidec.so.1 (0x00007f11df29c000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f11defab000)
libnghttp2.so.14 => /lib64/libnghttp2.so.14 (0x00007f11df272000)
libatomic.so.1 => /lib64/libatomic.so.1 (0x00007f11df267000)
liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f11def78000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f11def64000)
libp11-kit.so.0 => /lib64/libp11-kit.so.0 (0x00007f11dee00000)
libidn2.so.0 => /lib64/libidn2.so.0 (0x00007f11dedde000)
libunistring.so.5 => /lib64/libunistring.so.5 (0x00007f11dec31000)
libnettle.so.8 => /lib64/libnettle.so.8 (0x00007f11debd8000)
libhogweed.so.6 => /lib64/libhogweed.so.6 (0x00007f11deb96000)
libcap.so.2 => /lib64/libcap.so.2 (0x00007f11deb89000)
liblz4.so.1 => /lib64/liblz4.so.1 (0x00007f11deb68000)
libmpc.so.3 => /lib64/libmpc.so.3 (0x00007f11deb44000)
libmpfr.so.6 => /lib64/libmpfr.so.6 (0x00007f11dea87000)
libatspi.so.0 => /lib64/libatspi.so.0 (0x00007f11dea4e000)
libjson-glib-1.0.so.0 => /lib64/libjson-glib-1.0.so.0 (0x00007f11dea20000)
libdatrie.so.1 => /lib64/libdatrie.so.1 (0x00007f11dea17000)
libXau.so.6 => /lib64/libXau.so.6 (0x00007f11dea11000)
libblkid.so.1 => /lib64/libblkid.so.1 (0x00007f11de9d7000)
libsharpyuv.so.0 => /lib64/libsharpyuv.so.0 (0x00007f11de9cd000)
libicudata.so.74 => /lib64/libicudata.so.74 (0x00007f11dcc00000)
libwoff2common.so.1.0.2 => /lib64/libwoff2common.so.1.0.2 (0x00007f11de9c8000)
libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007f11de9a2000)
libunwind.so.8 => /lib64/libunwind.so.8 (0x00007f11de988000)
libdw.so.1 => /lib64/libdw.so.1 (0x00007f11dcb6f000)
liborc-0.4.so.0 => /lib64/liborc-0.4.so.0 (0x00007f11dcac6000)
libEGL.so.1 => /lib64/libEGL.so.1 (0x00007f11de975000)
libGLX.so.0 => /lib64/libGLX.so.0 (0x00007f11dca95000)
libX11-xcb.so.1 => /lib64/libX11-xcb.so.1 (0x00007f11de970000)
libgudev-1.0.so.0 => /lib64/libgudev-1.0.so.0 (0x00007f11de960000)
libhwy.so.1 => /lib64/libhwy.so.1 (0x00007f11dca88000)
libbrotlienc.so.1 => /lib64/libbrotlienc.so.1 (0x00007f11dc9e8000)
libdav1d.so.7 => /lib64/libdav1d.so.7 (0x00007f11dc809000)
librav1e.so.0 => /lib64/librav1e.so.0 (0x00007f11dc400000)
libSvtAv1Enc.so.2 => /lib64/libSvtAv1Enc.so.2 (0x00007f11dbc00000)
libaom.so.3 => /lib64/libaom.so.3 (0x00007f11db600000)
libevdev.so.2 => /lib64/libevdev.so.2 (0x00007f11dc7f1000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f11dc7c8000)
libxcb-randr.so.0 => /lib64/libxcb-randr.so.0 (0x00007f11dc7b6000)
libbrotlicommon.so.1 => /lib64/libbrotlicommon.so.1 (0x00007f11dc791000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f11dc338000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f11dc77a000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f11dc773000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f11dc763000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f11dc75c000)
libcrypto.so.3 => /lib64/libcrypto.so.3 (0x00007f11db000000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f11dc748000)
libelf.so.1 => /lib64/libelf.so.1 (0x00007f11dc72c000)
libGLdispatch.so.0 => /lib64/libGLdispatch.so.0 (0x00007f11dc2bf000)
libudev.so.1 => /lib64/libudev.so.1 (0x00007f11dc6f2000)
libvmaf.so.1 => /lib64/libvmaf.so.1 (0x00007f11db502000)
With emacs-zmq local build, emacs crashes (SEGV) at module load.
It is the same issue reported in #14
The SEGV is raised on the same line:
emacs-zmq.c:286
zmc package: (elpa)
zmq-20240716.2000
(local module build)Fedora 40 - Gnome 46.4 - Wayland emacs-version: GNU Emacs 29.4 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.42, cairo version 1.18.0) of 2024-07-16
rpm:
emacs-29.4-9.fc40
(dnf installed)emacs builld configuration
config.status.txt