Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1214193 > unrolled thread

Bug#1082727: llvm-18: LLVM miscompiles certain floating point library calls

Started byTimothy Pearson <tpearson@debian.org>
First post2024-09-25 05:00 +0200
Last post2024-09-26 00:10 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1082727: llvm-18: LLVM miscompiles certain floating point library calls Timothy Pearson <tpearson@debian.org> - 2024-09-25 05:00 +0200
    Bug#1082727: llvm-18: LLVM miscompiles certain floating point library calls Timothy Pearson <tpearson@solidsilicon.com> - 2024-09-25 05:10 +0200
    Bug#1082727: llvm-18: LLVM miscompiles certain floating point library calls Timothy Pearson <tpearson@solidsilicon.com> - 2024-09-26 00:10 +0200

#1214193 — Bug#1082727: llvm-18: LLVM miscompiles certain floating point library calls

FromTimothy Pearson <tpearson@debian.org>
Date2024-09-25 05:00 +0200
SubjectBug#1082727: llvm-18: LLVM miscompiles certain floating point library calls
Message-ID<JqqpX-eDVS-1@gated-at.bofh.it>
Package: llvm-18
Version: 1:18.1.8-11
Severity: important
Tags: upstream patch
X-Debbugs-Cc: tpearson@debian.org

LLVM 17 and higher can miscompile the ldexp() floating point library call, leading to application malfunction or outright crash.  The liklihood of miscompilation depends heavily on on the surrounding code and target architecture, but all architectures are believed to be susceptible to miscompilation under specific circumstances.

This has been reported upstream and a patch is available via upstream pull request.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 6.8.0+ (SMP w/144 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages llvm-18 depends on:
ii  libc6                 2.40-2
ii  libcurl4t64           8.10.1-1
ii  libgcc-s1             14.2.0-5
ii  libllvm18             1:18.1.8-11
ii  libpfm4               4.13.0+git32-g0d4ed0e-1
ii  libstdc++6            14.2.0-5
ii  libtinfo6             6.5-2
ii  libzstd1              1.5.6+dfsg-1
ii  llvm-18-linker-tools  1:18.1.8-11
ii  llvm-18-runtime       1:18.1.8-11
ii  zlib1g                1:1.3.dfsg+really1.3.1-1

Versions of packages llvm-18 recommends:
ii  llvm-18-dev  1:18.1.8-11

Versions of packages llvm-18 suggests:
pn  llvm-18-doc  <none>

-- no debconf information

[toc] | [next] | [standalone]


#1214194

FromTimothy Pearson <tpearson@solidsilicon.com>
Date2024-09-25 05:10 +0200
Message-ID<JqqzD-eEfE-1@gated-at.bofh.it>
In reply to#1214193

[Multipart message — attachments visible in raw view] — view raw

Upstream bug report: [ https://github.com/llvm/llvm-project/issues/108904 | https://github.com/llvm/llvm-project/issues/108904 ] 
Upstream pull request: https://github.com/llvm/llvm-project/pull/109134 

[toc] | [prev] | [next] | [standalone]


#1214281

FromTimothy Pearson <tpearson@solidsilicon.com>
Date2024-09-26 00:10 +0200
Message-ID<JqImR-eP4H-1@gated-at.bofh.it>
In reply to#1214193
Merged into LLVM as https://github.com/llvmbot/llvm-project/commit/55eaa21656d6a9d55732207c25cdb0825cf4be2e ] 

Will need backporting to LLVM 18. 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web