Commit Graph

334 Commits

Author SHA1 Message Date
David Benoit
f670590afa Re enable debuginfo in toolchain binaries
Instead of omitting debuginfo, waive the rpminspect result.
Later we will strip the debuginfo into a separate package.

Resolves: RHEL-101452
2025-07-21 09:43:16 -04:00
Alejandro Sáez
7644c91fd3 Add LD_FLAGS for stripping binaries
Resolves: RHEL-61237
2025-06-25 14:40:45 +02:00
David Benoit
219dd9ed5e Update to Go 1.24.4 (fips-1)
Resolves: RHEL-95997
2025-06-13 09:36:05 -04:00
David Benoit
013a5af5d9 Update to Go 1.24.3 (fips-3)
Resolves: RHEL-87633
2025-06-02 22:50:57 -04:00
David Benoit
5fc3d1e8dd Update to Go 1.24.3 (fips-2)
Resolves: RHEL-87633
2025-05-29 08:02:36 -04:00
David Benoit
3384374ae9 Update to Go 1.24.3
Resolves: RHEL-87633
Resolves: RHEL-85255
Resolves: RHEL-33420
2025-05-19 09:50:56 -04:00
Songsong Zhang
31c25147e5 Enable riscv64 build
Resolves: RHEL-85861

Signed-off-by: Songsong Zhang <u2fsdgvkx1@gmail.com>
2025-04-02 18:59:42 +02:00
Alejandro Sáez
8b495d34ee Update to Go 1.23.6
Resolves: RHEL-72809
2025-03-07 18:27:46 +01:00
Derek Parker
48a15bc7cd Include delve on ppc64le
Resolves: RHEL-58723
2024-12-18 00:08:06 +00:00
Alejandro Sáez
722ee741c0 Remove bundled boringcrypto blob
Resolves: RHEL-54337
2024-11-29 14:17:10 +01:00
Derek Parker
2f186c5400 Update baserelease
Related: RHEL-34260
2024-09-25 14:07:38 -04:00
Derek Parker
9d532e69fa Rebase to 1.23.1
Resolves: RHEL-34260
2024-09-24 17:20:21 -04:00
Archana
4c1b87cc27 - Include fix that loads Openssl only in FIPS mode
- Resolves: RHEL-52486
2024-08-29 21:20:37 +05:30
Alejandro Sáez
9ad1a464ad Default to ld.bfd on ARM64
Until now, Go defaulted to ld.gold, but now, the binutils package is
deprecating gold in favor of ld.bfd.

Resolves: RHEL-49036
2024-07-16 15:16:04 -04:00
Archana
dbc9518e2b - Rebase to Go1.22.5 to address CVE-2024-24791
- Resolves: RHEL-46971
2024-07-11 16:41:05 +05:30
Archana
4e661dba18 - Rebase to Go1.22.4
- Resolves: RHEL-40155
2024-06-06 18:08:39 +05:30
Derek Parker
0a2871b104 Update openssl backend
Resolves: RHEL-36100
2024-05-30 19:59:52 -04:00
Derek Parker
3de7cf0394 Restore HashSign / HashVerify API
Resolves: RHEL-35882
2024-05-23 21:41:14 -04:00
Alejandro Sáez
1b54720e99 Update to Go 1.22.3
Remove re-enable-cgo patch, it's already included in upstream

Resolves: RHEL-35629
Resolves: RHEL-35882
Resolves: RHEL-35074
2024-05-22 18:06:22 +02:00
Alejandro Sáez
64ba02b281 Add RHEL version to the go version command
Resolves: RHEL-34018
2024-05-14 06:22:23 +00:00
Archana
c9d6351079 - Corrected golang.spec to use --no-backup-if-mismatch to avoid creating .orig files
- Resolves: RHEL-34671
2024-05-14 06:53:24 +05:30
Alejandro Sáez
d4d71947ad Include go.env in the root
Commit b3c52a9 (Set the baselines for AMD64 and PPC64LE, 2024-04-10)

When the baselines where added go.env was not included so the change was
not really applied. This should fix it.

Related: RHEL-32658
Related: RHEL-32660
Related: RHEL-34008
Related: RHEL-34236
2024-05-10 12:30:36 +00:00
Archana
4c5ee73cdc - Modified golang.spec to delete intermediate .orig files that create issues in the build
- Resolves: RHEL-34671
2024-05-08 13:15:00 +05:30
Archana
b0a81b3e63 - Updated Go version to 1.22.2
- Resolves: RHEL-29526
2024-04-22 23:25:11 +05:30
Archana
029e177678 - Bumped pkg_release to 2
- Rebase to Go1.22.1
- Resolves RHEL-29526
2024-04-01 14:23:41 +05:30
Archana
887c3dbef0 - Rebase to Go1.22.1
- Resolves RHEL-29526
2024-03-25 22:23:04 +05:30
Alejandro Sáez
21dcfead0c Add indications in the tests 2023-11-09 12:15:49 +01:00
Alejandro Sáez
335d81de5f Convert to %autorelease and %autochangelog
[skip changelog]
2023-11-08 17:37:30 +01:00
Alejandro Sáez
7dae2191e8 Fix typos 2023-11-08 17:37:28 +01:00
Alejandro Sáez
0465580ff3 Update to Go 1.21.3
- Update bundled-deps.sh to generate a proper output.
- Add 0001-Modify-go.env.patch that modifies the go.env file to change GOPROXY, GOSUMDB, and GOTOOLCHAIN settings.
- Delete 0002-syscall-expose-IfInfomsg.X__ifi_pad-on-s390x.patch.
2023-11-06 12:12:15 +01:00
Alejandro Sáez
78332dc19c Migrated to SPDX license 2023-09-28 17:22:26 +02:00
Yaakov Selkowitz
7fa9965761 Drop unused pcre-devel dependency 2023-09-05 09:49:16 -04:00
Alejandro Sáez
5261403362 Update to go 1.20.6 2023-08-01 23:02:47 +02:00
Yaakov Selkowitz
8dc9a335dc Add go-toolset subpackage 2023-06-29 17:15:08 -04:00
Yaakov Selkowitz
2689cc83bc Add runtime requirement for openssl-devel
Compiling any crypto-dependent code with crypto/boring enabled requires
openssl headers and libraries.
2023-06-22 17:03:27 -04:00
Alejandro Sáez
ecfc7ce021 Package bump up 2023-06-14 13:14:45 +02:00
Alejandro Sáez
c1db21c4b9 Update to go1.20.5 2023-06-14 13:12:57 +02:00
Alejandro Sáez
069f0dcbce Add FIPS support for RHEL targets 2023-06-13 15:01:06 +02:00
Alejandro Sáez
4716400a7f Update to go 1.20.5 2023-06-06 20:21:19 +02:00
Alejandro Sáez
7026110a60 Update to go1.20.4
Resolves: rhbz#2184454
2023-05-05 12:26:07 +02:00
36f1c8b6f9
Fix broken golang-race update path
```
Error:
 Problem: package golang-race-1.19.7-1.fc37.x86_64 requires golang = 1.19.7-1.fc37, but none of the providers can be installed
  - golang-1.19.7-1.fc37.x86_64 does not belong to a distupgrade repository
  - problem with installed package golang-race-1.19.7-1.fc37.x86_64
```
2023-04-15 23:16:34 +00:00
Alejandro Sáez
5f1c1e0ca8 Update to go1.20.3 2023-04-04 23:13:01 +02:00
9a498fc4c3 Update to go1.20.2
- Resolves: rhbz#2176528
2023-03-10 11:55:22 -05:00
Alejandro Sáez
a076d7e3bb Update to go1.20.1
Resolves: rhbz#2169896
2023-02-15 10:12:05 +01:00
Alejandro Sáez
2f747a3e62 Update to go1.20
Resolves: rhbz#2152070
2023-02-02 11:07:48 +01:00
Fedora Release Engineering
fa4d6ce0c2 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 05:51:57 +00:00
Alejandro Sáez
f7c0afe323 Update to go1.20rc3
Disable race package due go 1.20 new feature
2023-01-17 18:38:58 +00:00
Alejandro Sáez
1d2570b076 Update to go1.20rc2 2023-01-17 18:38:58 +00:00
Alejandro Sáez
67a51aa259 Update to go1.19.4
Resolves: rhbz#2151595
2022-12-07 17:15:53 +01:00
Amit Shah
c874af597b Fix build without the gold linker
The Go runtime silently chose the gold linker on arm and aarch64 build
targets to work around a binutils bug.

That bug was from 2016, and has been fixed in binutils for a while.  But
the Go workaround was still in place.

The workaround to choose gold was supposed to error out during the
configure phase if gold wasn't found - but that doesn't happen.

This leads to builds on aarch64 failing if attempting to compile without
gold.

Just removing the special condition in the Go source code:

https://go-review.googlesource.com/c/go/+/391115/

works, but that patch is unlikely to be merged upstream.

A patch fixing the build is more likely to be merged:

https://go-review.googlesource.com/c/go/+/366279/

which updates the linker selection to use gold only if available.

References to this bug in upstream Go and Binutils:

https://github.com/golang/go/issues/22040
https://sourceware.org/bugzilla/show_bug.cgi?id=19962

Including the likely-to-be-merged patch here.
2022-11-08 23:27:48 +00:00