Bug#964973: mesa-opencl-icd: Applications using OpenCL crash with : CommandLine Error: Option 'polly' registered more than once!
Package: libreoffice Version: 1:7.0.1-1 Followup-For: Bug #964973 -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello! I just got a hit by this bugs while trying to start LibreOffice: #954849 does not start: LLVM ERROR: inconsistency in registered CommandLine options #964973 mesa-opencl-icd: Applications using OpenCL crash with : CommandLine Error: Option 'polly' registered more than once! #965178 opencl support is broken: LLVM ERROR: inconsistency in registered CommandLine option #965310 hwloc: lstopo crash with: CommandLine Error: Option 'polly' registered more than once! It is not possible to start LibreOffice anymore! Also it removes completly my working OpenOffice v4.1.7 installation! :( Not so nice. - -- Yours sincerely Joerg Schiermeier - -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (990, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.7.0-3-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=de_DE.utf-8, LC_CTYPE=de_DE.utf-8 (charmap=UTF-8), LANGUAGE=de:en_GB Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libreoffice depends on: ii libreoffice-base1:7.0.1-1 ii libreoffice-calc1:7.0.1-1 ii libreoffice-core1:7.0.1-1 ii libreoffice-draw1:7.0.1-1 ii libreoffice-impress 1:7.0.1-1 ii libreoffice-math1:7.0.1-1 ii libreoffice-report-builder-bin 1:7.0.1-1 ii libreoffice-writer 1:7.0.1-1 ii python3-uno 1:7.0.1-1 Versions of packages libreoffice recommends: pn fonts-crosextra-caladea pn fonts-crosextra-carlito pn fonts-dejavu pn fonts-liberation pn fonts-liberation2 pn fonts-linuxlibertine pn fonts-noto-core pn fonts-noto-extra pn fonts-noto-mono pn fonts-noto-ui-core pn fonts-sil-gentium-basic ii libreoffice-java-common 1:7.0.1-1 ii libreoffice-nlpsolver 0.9+LibO7.0.1-1 ii libreoffice-report-builder 1:7.0.1-1 ii libreoffice-script-provider-bsh 1:7.0.1-1 ii libreoffice-script-provider-js 1:7.0.1-1 ii libreoffice-script-provider-python 1:7.0.1-1 ii libreoffice-sdbc-mysql 1:7.0.1-1 ii libreoffice-sdbc-postgresql 1:7.0.1-1 ii libreoffice-wiki-publisher 1.2.0+LibO7.0.1-1 Versions of packages libreoffice suggests: ii cups-bsd 2.3.3-3 pn default-jre | java8-runtime | jre pn firefox-esr | thunderbird | firefox pn ghostscript pn gnupg pn gpa pn gstreamer1.0-libav pn gstreamer1.0-plugins-bad pn gstreamer1.0-plugins-base pn gstreamer1.0-plugins-good pn gstreamer1.0-plugins-ugly pn hunspell-dictionary pn hyphen-hyphenation-patterns pn imagemagick | graphicsmagick-imagemagick-compat pn libgl1 pn libofficebean-java ii libreoffice-help-de [libreoffice-help]1:7.0.1-1 ii libreoffice-help-en-gb [libreoffice-help] 1:7.0.1-1 ii libreoffice-help-es [libreoffice-help]1:7.0.1-1 ii libreoffice-help-nl [libreoffice-help]1:7.0.1-1 ii libreoffice-l10n-de [libreoffice-l10n]1:7.0.1-1 ii libreoffice-l10n-en-gb [libreoffice-l10n] 1:7.0.1-1 ii libreoffice-l10n-es [libreoffice-l10n]1:7.0.1-1 ii libreoffice-l10n-nl [libreoffice-l10n]1:7.0.1-1 ii libreoffice-librelogo 1:7.0.1-1 ii libreoffice-lightproof-en [libreoffice-grammarcheck] 0.4.3+1.6-2 ii libreoffice-plasma1:7.0.1-1 pn libsane pn libxrender1 pn myspell-dictionary pn mythes-thesaurus pn openclipart2-libreoffice | openclipart-libreoffice pn pstoedit pn unixodbc Versions of packages libreoffice-core depends on: pn fontconfig ii fonts-opensymbol2:102.11+LibO7.0.1-1 pn libboost-locale1.71.0
Bug#964973: mesa-opencl-icd: Applications using OpenCL crash with ": CommandLine Error: Option 'polly' registered more than once!".
It seems both libMesaOpenCL.so and libLLVM-10.so links llvm-polly statically, so its static constructor called twice.
Bug#964973: mesa-opencl-icd: Applications using OpenCL crash with ": CommandLine Error: Option 'polly' registered more than once!".
severity 964973 serious thanks On Mon, 13 Jul 2020 18:37:45 +0200 =?UTF-8?Q?Roman_Ondr=c3=a1=c4=8dek?= wrote: > > After upgrading from version 19.1.6, applications using OpenCL are > crashing with error message: > ": CommandLine Error: Option 'polly' registered more than once! > LLVM ERROR: inconsistency in registered CommandLine options". > > For example: > # clinfo > : CommandLine Error: Option 'polly' registered more than once! > LLVM ERROR: inconsistency in registered CommandLine options > For me that should be RC (serious or even more), installing the package breaks OpenCL and prevents some applications from starting (libreoffice, darktable, ...)
Bug#964973: mesa-opencl-icd: Applications using OpenCL crash with : CommandLine Error: Option 'polly' registered more than once!
On zaterdag 18 juli 2020 23:43:07 CEST Diederik de Haas wrote: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964791 seems similar, > but not the same, but it could all be caused by the same thing. I wonder why I said "similar, but not the same" as the error msg is exactly the same. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964791#10 links to https:// bugs.debian.org/cgi-bin/bugreport.cgi?bug=852746 which is forwarded to https://bugs.llvm.org/show_bug.cgi?id=30587 which seems to be the same problem. Note that I only have 1 ICD package installed (mesa-opencl-icd) and /etc/OpenCL/ only has mesa.icd which seems to confirm this (afaiui). So, does this mean that the bug is actually in LLVM? Cheers, Diederik signature.asc Description: This is a digitally signed message part.
Bug#964973: mesa-opencl-icd: Applications using OpenCL crash with ": CommandLine Error: Option 'polly' registered more than once!".
Package: mesa-opencl-icd Version: 20.1.2-1 Severity: important Dear Maintainer, After upgrading from version 19.1.6, applications using OpenCL are crashing with error message: ": CommandLine Error: Option 'polly' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options". For example: # clinfo : CommandLine Error: Option 'polly' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options -- Package-specific info: glxinfo: DISPLAY is not set. /etc/X11/X does not exist. /etc/X11/X is not a symlink. /etc/X11/X is not executable. VGA-compatible devices on PCI bus: -- 05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Picasso [1002:15d8] (rev c1) /etc/X11/xorg.conf does not exist. Contents of /etc/X11/xorg.conf.d: - total 0 /etc/modprobe.d contains no KMS configuration files. Kernel version (/proc/version): --- Linux version 5.7.0-1-amd64 (debian-ker...@lists.debian.org) (gcc version 9.3.0 (Debian 9.3.0-14), GNU ld (GNU Binutils for Debian) 2.34) #1 SMP Debian 5.7.6-1 (2020-06-24) Xorg X server log files on system: -- -rw-r--r--. 1 root root 51966 Mar 27 2019 /var/log/Xorg.0.log -rw-r--r--. 1 roman roman 23062 Apr 29 2019 /home/roman/.local/share/xorg/Xorg.2.log -rw-r--r--. 1 root root 22875 Apr 29 2019 /var/log/Xorg.3.log -rw-r--r--. 1 roman roman 41083 Jul 13 17:46 /home/roman/.local/share/xorg/Xorg.0.log Contents of most recent Xorg X server log file (/home/roman/.local/share/xorg/Xorg.0.log): -- [ 105.769] (--) Log file renamed from "/home/roman/.local/share/xorg/Xorg.pid-2221.log" to "/home/roman/.local/share/xorg/Xorg.0.log" [ 105.770] X.Org X Server 1.20.8 X Protocol Version 11, Revision 0 [ 105.770] Build Operating System: Linux 4.19.0-8-amd64 x86_64 Debian [ 105.770] Current Operating System: Linux Lenovo-B51-80 5.7.0-1-amd64 #1 SMP Debian 5.7.6-1 (2020-06-24) x86_64 [ 105.770] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.7.0-1-amd64 root=UUID=a5e403c0-734b-406d-b2a7-3a9d5aff0c7e ro security=selinux quiet apparmor=0 [ 105.771] Build Date: 31 March 2020 10:14:40AM [ 105.771] xorg-server 2:1.20.8-2 (https://www.debian.org/support) [ 105.771] Current version of pixman: 0.36.0 [ 105.771]Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 105.771] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 105.771] (==) Log file: "/home/roman/.local/share/xorg/Xorg.0.log", Time: Mon Jul 13 17:11:29 2020 [ 105.772] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 105.773] (==) No Layout section. Using the first Screen section. [ 105.773] (==) No screen section available. Using defaults. [ 105.773] (**) |-->Screen "Default Screen Section" (0) [ 105.773] (**) | |-->Monitor "" [ 105.773] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 105.773] (==) Automatically adding devices [ 105.773] (==) Automatically enabling devices [ 105.773] (==) Automatically adding GPU devices [ 105.773] (==) Max clients allowed: 256, resource mask: 0x1f [ 105.774] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 105.774]Entry deleted from font path. [ 105.774] (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, built-ins [ 105.774] (==) ModulePath set to "/usr/lib/xorg/modules" [ 105.774] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 105.774] (II) Loader magic: 0x564cb3e45e20 [ 105.774] (II) Module ABI versions: [ 105.774]X.Org ANSI C Emulation: 0.4 [ 105.774]X.Org Video Driver: 24.1 [ 105.774]X.Org XInput driver : 24.1 [ 105.774]X.Org Server Extension : 10.0 [ 105.776] (++) using VT number 2 [ 105.780] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_35 [ 105.781] (II) xfree86: Adding drm device (/dev/dri/card0) [ 105.782] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 12 paused 0 [ 105.784] (--) PCI:*(5@0:0:0) 1002:15d8:17aa:5124 rev 193, Mem @ 0xc000/268435456, 0xd000/2097152, 0xd060/524288, I/O @ 0x1000/256 [ 105.784] (II) LoadModule: "glx" [ 105.786] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 105.789] (II) Module