Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927908 - sys-libs/libomp-18.1.2 - error: option cf-protection=return cannot be specified on this target
Summary: sys-libs/libomp-18.1.2 - error: option cf-protection=return cannot be specifi...
Status: RESOLVED DUPLICATE of bug 927752
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-26 15:21 UTC by Toralf Förster
Modified: 2024-03-28 22:13 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.28 KB, text/plain)
2024-03-26 15:21 UTC, Toralf Förster
Details
CMakeCache.txt (CMakeCache.txt,17.23 KB, text/plain)
2024-03-26 15:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,21.76 KB, text/plain)
2024-03-26 15:21 UTC, Toralf Förster
Details
environment (environment,187.26 KB, text/plain)
2024-03-26 15:21 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,976 bytes, application/x-xz)
2024-03-26 15:21 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,35.00 KB, application/x-xz)
2024-03-26 15:21 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,59.00 KB, text/plain)
2024-03-26 15:21 UTC, Toralf Förster
Details
sys-libs:libomp-18.1.2:20240326-150752.log (sys-libs:libomp-18.1.2:20240326-150752.log,69.35 KB, text/plain)
2024-03-26 15:21 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,44.76 KB, application/x-xz)
2024-03-26 15:22 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-03-26 15:21:49 UTC
too long lines were shrinked:

[37/875] /usr/bin/x86_64-pc-linux-gnu-g++ -DDEBUG_PREFIX=\"OMPT\" -DTARGET_NAME=\"OMPT\" -I/usr/lib/llvm/18/include -I/var/tmp/portage/sys-libs/libomp-18.1.2/work/openmp/libomptarget/include  -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-comp
[38/875] /usr/bin/x86_64-pc-linux-gnu-g++ -Domp_EXPORTS -I/var/tmp/portage/sys-libs/libomp-18.1.2/work/openmp_build-abi_x86_64.amd64/runtime/src -I/var/tmp/portage/sys-libs/libomp-18.1.2/work/openmp/runtime/src -I/var/tmp/portage/sys-libs/libomp-18.1.2/work/openmp/runtime/src/i18n -I/var/tmp/portage
[39/875] : && /usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -fno-semantic-interposition -fdata-sections  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relo
[40/875] cd /var/tmp/portage/sys-libs/libomp-18.1.2/work/openmp_build-abi_x86_64.amd64/libomptarget/DeviceRTL && /usr/lib/llvm/18/bin/clang -c -foffload-lto -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 -mllvm -vectorize-slp=false --offload-device-only -n
FAILED: libomptarget/DeviceRTL/Allocator.cpp-gfx700.bc /var/tmp/portage/sys-libs/libomp-18.1.2/work/openmp_build-abi_x86_64.amd64/libomptarget/DeviceRTL/Allocator.cpp-gfx700.bc 
cd /var/tmp/portage/sys-libs/libomp-18.1.2/work/openmp_build-abi_x86_64.amd64/libomptarget/DeviceRTL && /usr/lib/llvm/18/bin/clang -c -foffload-lto -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 -mllvm -vectorize-slp=false --offload-device-only -nocudalib 
error: option 'cf-protection=return' cannot be specified on this target
error: option 'cf-protection=branch' cannot be specified on this target
2 errors generated.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_systemd-20240326-011016

  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 18.1.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.2
Python 3.11.8
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.76.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-21 

php cli (if any):

  HEAD of ::gentoo
commit ee4eb5fc3a370ba7a282c4b2419c2a4f4ba09e3e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Mar 26 10:18:59 2024 +0000

    2024-03-26 10:18:58 UTC

emerge -qpvO sys-libs/libomp
[ebuild  N    ] sys-libs/libomp-18.1.2  USE="hwloc offload -debug -gdb-plugin -ompt -test -verify-sig" LLVM_TARGETS="-AMDGPU -NVPTX" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2024-03-26 15:21:50 UTC
Created attachment 888682 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-03-26 15:21:51 UTC
Created attachment 888683 [details]
CMakeCache.txt
Comment 3 Toralf Förster gentoo-dev 2024-03-26 15:21:52 UTC
Created attachment 888684 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-03-26 15:21:54 UTC
Created attachment 888685 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-03-26 15:21:55 UTC
Created attachment 888686 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-03-26 15:21:56 UTC
Created attachment 888687 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-03-26 15:21:57 UTC
Created attachment 888688 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-03-26 15:21:59 UTC
Created attachment 888689 [details]
sys-libs:libomp-18.1.2:20240326-150752.log
Comment 9 Toralf Förster gentoo-dev 2024-03-26 15:22:00 UTC
Created attachment 888690 [details]
temp.tar.xz
Comment 10 Manuel Nickschas 2024-03-26 16:24:42 UTC
Seeing the same after profile update to 23.0 on an llvm/libc++ system.

USE=-cet on clang-common lets libomp build successfully.
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-03-26 17:00:47 UTC

*** This bug has been marked as a duplicate of bug 927752 ***