Commit Graph

59 Commits

Author SHA1 Message Date
Tulio Magno Quites Machado Filho
b758d604f4 Stop dropping LDFLAGS on shared libraries
Re-add the contents of LDFLAGS to CMAKE_SHARED_LINKER_FLAGS in order to
guarantee that linker parameters are used when linking shared libraries.

Fixes: 26f02f62c3 ("Fix CET support")

Resolves: rhbz#2222040
2023-08-04 13:46:18 -03:00
Tulio Magno Quites Machado Filho
f009a3b7e9 Fix rhbz #2226795
Resolves: rhbz#2226795
2023-08-03 14:27:40 -03:00
Nikita Popov
26f02f62c3 Fix CET support
While the current implementation works on Fedora, on c9s/rhel
the CFLAGS haven't been set at this point yet, so we are missing
the -fcfprotection flag in ASMFLAGS. Using build_cflags avoids
this ordering problem.

Additionally, add -Wl,-z,cet-report=error to the libLLVM.so linker
flags, so we can detect such issues earlier in the future.

Resolves: rhbz#2222040
2023-08-01 09:45:12 +02:00
Nikita Popov
d6edf66cab Update to LLVM 16.0.6
Resolves: rhbz#2178796
2023-07-04 14:22:22 +02:00
Tulio Magno Quites Machado Filho
fe3be52e48 Improve clang assembler error messages on s390x (rhbz#2216906)
Backport a patch from LLVM 17 that improves error messages from the
Clang assembler on s390x.

Also, disable LLVM_UNREACHABLE_OPTIMIZE in order to improve error
messages when llvm_unreachable() is called. There are many cases where
llvm_unreachable() is used as a error reporting function instead of the
recommended replacement for assert().

Resolves: rhbz#2216906
2023-07-04 09:54:29 +02:00
Nikita Popov
c02f44c172 Use gcc-toolset-13-gdb for gdb-add-index
Resolves: rhbz#2188418
2023-06-29 08:41:37 +02:00
Nikita Popov
5c94630b27 Build with LTO
Resolves: rhbz#2188418
2023-05-05 14:18:12 +02:00
Nikita Popov
c49b0307ad Update to LLVM 16.0.1
Resolves: #2178739
2023-04-14 14:49:56 +02:00
Konrad Kleine
5a2232bc75 Update to LLVM 15.0.7
Resolves: rhbz#2118567
2023-01-13 23:27:01 +01:00
Konrad Kleine
f3b6520152 Disabling LTO for now
Got many "Too many open files" without this change.

Resolves: rhbz#2118567
2022-12-05 18:09:48 +01:00
Konrad Kleine
5ba5f031e1 Fixup: Adding new sources (and removing compat lib sources)
Resolves: rhbz#2118567
2022-12-05 17:24:11 +01:00
Konrad Kleine
fb316890a0 Disable bundling of compat libs
Resolves: rhbz#2119296
2022-12-05 17:16:58 +01:00
Konrad Kleine
5e9aaa16d2 Update to LLVM 15.0.6
Resolves: rhbz#2118567
2022-12-05 17:16:48 +01:00
Konrad Kleine
5f181ed00b Renabling LTO except on s390 and s390x
PCRE backtracking limit problem should not happen anymore in redhat-rpm-config

Resolves: rhbz#2118567
2022-12-05 17:13:34 +01:00
Konrad Kleine
7a457315e6 Copy CFLAGS to ASMFLAGs to enable CET in asm files
See here for the relevant equivalent of this change in Fedora:

8e1f53d786

Resolves: rhbz#2118567
2022-12-05 16:55:42 +01:00
Konrad Kleine
6d49bbec71 Remove abi_revision handling
Here's the relevant link to this equivalent change Fedora

0c4aa4a13c

Resolves: rhbz#2118567
2022-12-05 16:48:03 +01:00
Konrad Kleine
6a2493550a Update to LLVM 15.0.1
Resolves: rhbz#2118319
2022-09-27 00:21:21 +02:00
Konrad Kleine
0a4c17eb4e Fixup: Add toolset as a subpackage of llvm.
This helps to actually produce an llvm-toolset RPM.

Resolves: rhbz#2118979
2022-09-26 14:53:14 +02:00
kkleine1
c436347da1 Add toolset subpackage 2022-09-26 12:31:10 +00:00
Konrad Kleine
f0a29df3a1 Update to LLVM 15.0.0
Resolves: rhbz#2118319
2022-09-20 15:21:48 +02:00
Jesus Checa Hidalgo
1374b45b6a tests: pull tests from https://src.fedoraproject.org/tests/llvm
Related: rhbz#2118319
2022-09-07 09:22:25 +02:00
Timm Bäder
17f8abd7b7 Update to 14.0.6
Resolves: rhbz#2107785
2022-07-19 08:43:55 +02:00
Jesus Checa Hidalgo
fd5c79bf7d tests: revert back to importing fedora tests
Related: rhbz#2061056
2022-06-23 20:26:52 +02:00
Timm Bäder
e9e5adc47f Update to 14.0.5
Resolves: rhbz#2061056
2022-06-20 14:03:50 +02:00
Timm Bäder
b824270114 Remove llvm-cmake-devel package
Resolves: rhbz#2061041
2022-04-29 08:23:09 +02:00
Timm Bäder
d1b896cbe4 Update to 14.0.0
Resolves: rhbz#2061041
2022-04-22 11:46:26 +02:00
Tom Stellard
df7ee2f3e3 13.0.1 Release
Also remove the compat lib.

Resolves: rhbz#2001132
2022-02-02 23:11:05 -08:00
Miloš Prchlík
b948e87695 tests: re-use Fedora tests 2022-01-24 12:44:33 +00:00
Timm Bäder
09ee3581c0 13.0.0 Release
Resolves: rhbz#2001107
2021-10-08 14:19:07 +02:00
Martin Cermak
833db90158 CI gating: Rename the side-tag rebuild test
Rename baseos-qe.brew-build.scratch-build.validation
to osci.brew-build.rebuild.validation because of
https://issues.redhat.com/browse/FACTORY-4119 .

The change is documented here:
https://wiki.test.redhat.com/BaseOs/Tools/RHELKernelRebuildsInSideTag?action=diff&rev2=10&rev1=9
2021-10-05 09:43:08 +00:00
DJ Delorie
f9c31a711d Rebuilt for libffi 3.4.2 SONAME transition.
Related: #1891914
2021-08-18 17:53:13 -04:00
Martin Cermak
0e7e9614f8 CI Gating: Set up kernel rebuild as a mandatory gating test 2021-08-17 09:31:25 +02:00
serge-sans-paille
20f368a738 Disable hardware acceleration when checking compressed output
This doesn't fix the original reproducibility issue, just calls the legacy
behavior during testing.

Resolves: rhbz#1988288
2021-08-12 10:15:05 +02:00
Mohan Boddu
2b4c2243f8 Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 22:00:14 +00:00
Tom Stellard
50d5332053 Remove obselete patch
Related: rhbz#1931726
2021-07-13 17:17:09 -07:00
Tom Stellard
476354d782 12.0.1 Release
Also remove llvm11 compat package.

Related: rhbz#1931726
2021-07-13 17:11:31 -07:00
Tom Stellard
46cd2c3ef2 Fix DTRACE_PROBE4() compilation failure
Resolves: rhbz#1967482
2021-07-07 06:45:58 -07:00
serge-sans-paille
4a67878a12 backport cba2552bfec1c9d8
Related: rhbz#1975673
2021-07-06 16:08:52 +02:00
serge-sans-paille
649d084099 Update gating tests
- use integration test suite
- extra llvm-config symlink test
- remove regression test suite

Related: rhbz#1931719
2021-06-24 10:22:55 +02:00
Tom Stellard
04f1b0efcf Remove pandoc dependency
Resolves: rhbz#1967770
2021-06-16 16:10:30 -07:00
Tom Stellard
b19b0afde5 Add missing patch
Related: rhbz#1928132
2021-05-03 13:04:38 -07:00
Tom Stellard
a9f5c928d2 Remove dependency on python3-recommonmark
Resolves: rhbz#1928132
2021-04-30 21:44:01 -07:00
Tom Stellard
8628562077 Enable rtti for compat library
Related: rhbz#1929982
2021-04-30 14:13:39 -07:00
Tom Stellard
1039e3907e Add missing sources
Related: rhbz#1929982
2021-04-29 22:23:38 -07:00
serge-sans-paille
f74c6c01f2 12.0.0 Release
Resolves: rhbz#1929982
2021-04-29 20:48:51 -07:00
Mohan Boddu
ab78d3f820 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-16 01:50:22 +00:00
serge-sans-paille
9a266d82bb rebuilt with some targets disabled 2021-02-01 18:45:07 +01:00
serge-sans-paille
828f7b4525 Parametrize targets to build 2021-02-01 11:13:29 +01:00
DistroBaker
4410950db6 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/llvm.git#f768ecb72d51ac2181cf867dcb39b3171c9c057a
2021-01-23 21:54:45 +00:00
DistroBaker
ed3b1afcda Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/llvm.git#11cea8ec0d97fc2b1f54824874196be9a5f6e157
2021-01-07 18:22:36 +00:00