Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940676 - sys-devel/llvm: Multiple backports required for ppc64
Summary: sys-devel/llvm: Multiple backports required for ppc64
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 940304 940654
  Show dependency tree
 
Reported: 2024-10-03 00:52 UTC by Matt Jolly
Modified: 2024-10-17 18:35 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Jolly gentoo-dev 2024-10-03 00:52:01 UTC
Hi LLVM team,

Multiple backports are required for LLVM on PPC64.

https://bugs.gentoo.org/940304 - www-client/chromium-128.0.6613.137 fails to build on ppc64le

While investigating this bug / an updated PPC64 patchset I came across this[1], which indicates that:

> LLVM 17 and up miscompile floating point libcalls with signed integer
> arguments on all architectures

Concluding with:

> If this is not done [patch is not applied], the browser will
> consume massive system resources and randomly crash.

Resolved in https://github.com/llvm/llvm-project/commit/90c14748638f1e10e31173b145fdbb5c4529c922

This patch is not currently in any upstream release and I can't see anything about it in a Gentoo ebuild (though I may have missed something, they are complex beasts!)

https://bugs.gentoo.org/940654 - sys-devel/llvm-19.1.1 fails to compile on ppc64le with sys-devel/gcc[ieee-long-double]

This issue appears to have been fixed upstream: https://github.com/llvm/llvm-project/issues/100296

1: https://gitlab.solidsilicon.io/public-development/open-source/chromium/openpower-patches/-/commit/03c34e0bdcfb49c50cda87e30dae8260eb8d541e
Comment 2 Matt Jolly gentoo-dev 2024-10-16 05:54:01 UTC
Hi Sam,

Yes, that's correct.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-10-16 14:07:12 UTC
FWICS 1. is part of 19.x, but 2. is not.