Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 848757 Details for
Bug 865339
sys-devel/clang: -fstack-clash-protection miscompiles dev-qt/qtcore (=kde-frameworks/syntax-highlighting-5.97.0 fails to build with Clang))
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
reproduced in clean chroot
testing-chroot.txt (text/plain), 1.84 KB, created by
Jonas Rakebrandt
on 2023-01-17 19:52:20 UTC
(
hide
)
Description:
reproduced in clean chroot
Filename:
MIME Type:
Creator:
Jonas Rakebrandt
Created:
2023-01-17 19:52:20 UTC
Size:
1.84 KB
patch
obsolete
># Steps to reproduce in chroot: ># Chroot Setup: >mkdir /opt/testing-chroot >cd /opt/testing-chroot >curl -LO <openrc-desktop-stage3-tarball> >tar xpvf stage3-*.tar.xz --xattrs-include='*.*' --numeric-owner >mkdir --parents etc/portage/repos.conf >cp usr/share/portage/config/repos.conf etc/portage/repos.conf/gentoo.conf >cp --dereference /etc/resolv.conf etc/ >mount --types proc /proc /opt/testing-chroot/proc >mount --rbind /sys /opt/testing-chroot/sys >mount --make-rslave /opt/testing-chroot/sys >mount --rbind /dev /opt/testing-chroot/dev >mount --make-rslave /opt/testing-chroot/dev >mount --bind /run /opt/testing-chroot/run >mount --make-slave /opt/testing-chroot/run >chroot . /bin/bash >source /etc/profile >emerge --sync >emerge clang # pulls in stable clang 15.0.6 > ># Initital test: >CC=clang CXX=clang++ CFLAGS="-O2 -pipe" emerge qtcore syntax-highlighting # works > ># Test with clang-common[default-lld] to see if lld issue: >CC=clang CXX=clang++ CFLAGS="-O2 -pipe" CXXFLAGS="$CFLAGS" emerge qtcore syntax-highlighting # works > ># Also try with harder optimization flags: >CC=clang CXX=clang++ CFLAGS="-march=native -O3 -flto=thin -pipe" CXXFLAGS="$CFLAGS" emerge qtcore syntax-highlighting # works > ># Upgrade clang-common to ~amd64 (15.0.7 - after baseline-hardening) & remove default-lld flag: >CC=clang CXX=clang++ CFLAGS="-O2 -pipe" CXXFLAGS="$CFLAGS" emerge qtcore syntax-highlighting # fails > ># Test with clang-common[default-lld] again: >CC=clang CXX=clang++ CFLAGS="-O2 -pipe" CXXFLAGS="$CFLAGS" emerge qtcore syntax-highlighting # fails > ># Downgrade clang-common back to amd64 (15.0.6 - before baseline-hardening): >CC=clang CXX=clang++ CFLAGS="-O2 -pipe" CXXFLAGS="$CFLAGS" emerge qtcore syntax-highlighting # works > ># Also try with harder optimization flags: >CC=clang CXX=clang++ CFLAGS="-march=native -O3 -flto=thin -pipe" CXXFLAGS="$CFLAGS" emerge qtcore syntax-highlighting # works
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 865339
:
799829
|
799831
|
842949
|
842951
| 848757