Commit Graph

254 Commits

Author SHA1 Message Date
Josh Stone
d498bc15d8 Update to 1.53.0. 2021-06-17 10:45:34 -07:00
Josh Stone
ebd24b3917 Add rust-std-static-wasm32-unknown-unknown.
This change is partly based on an older pull request:
https://src.fedoraproject.org/rpms/rust/pull-request/6

Co-authored-by: Ivan Mironov <mironov.ivan@gmail.com>
2021-06-02 15:27:34 -07:00
Josh Stone
fa5bf8c598 Set rust.codegen-units-std=1 for all targets again. 2021-06-02 15:27:05 -07:00
Josh Stone
078a6925f5 Rebuild f34 with LLVM 12. 2021-05-14 12:49:12 -07:00
Josh Stone
a8550e8fec Update to 1.52.1. 2021-05-10 10:39:06 -07:00
Josh Stone
6231b0ba09 Fall back to LLVM 11 on f34 for now... 2021-05-07 11:20:45 -07:00
Josh Stone
3458295682 Update to 1.52.0. 2021-05-06 09:24:31 -07:00
Josh Stone
1cb0a34c53 Security fixes for CVE-2020-36323, CVE-2021-31162 2021-04-16 13:45:09 -07:00
Josh Stone
5789d99323 Fix bootstrap for stage0 rust 1.51 2021-04-14 18:43:41 -07:00
Josh Stone
546915fc9c Security fixes for CVE-2021-28876, CVE-2021-28878, CVE-2021-28879 2021-04-14 17:28:06 -07:00
Josh Stone
85a5f3ae28 Update to 1.51.0. 2021-03-25 11:38:09 -07:00
Josh Stone
8148cbf678 Update to 1.50.0. 2021-02-19 10:25:21 -08:00
Fedora Release Engineering
259615dcc0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 16:44:01 +00:00
Josh Stone
3aadadbd4b Update to 1.49.0. 2021-01-05 16:07:24 -08:00
Igor Raits
35653afd8f
Revert "Bootstrap"
This reverts commit f6db939d0c.
2020-12-29 08:43:23 +01:00
Igor Raits
f6db939d0c
Bootstrap
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-12-28 19:54:38 +01:00
Igor Raits
28e90c2b9d
fixup! Build with bundled libgit2 (to avoid re-bootstrap)
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-12-28 19:38:13 +01:00
Igor Raits
8d20a2058a
Build with bundled libgit2 (to avoid re-bootstrap)
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-12-28 19:37:47 +01:00
Igor Raits
e3b256c65f
Rebuild for libgit2 1.1.x
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-12-28 19:00:26 +01:00
Josh Stone
6c5b725759 Never bundle libssh2 2020-12-01 17:28:02 -08:00
Josh Stone
457f56dd25 Update to 1.48.0. 2020-11-19 10:47:24 -08:00
Jeff Law
f92bb2f31c Re-enable LTO 2020-10-10 20:06:02 -06:00
Josh Stone
8efa6f4d09 Make tests explicitly use stage 2 2020-10-10 10:00:19 -07:00
Josh Stone
51a2a836f9 Fix the doc link to raw::stat on s390x 2020-10-09 20:31:11 -07:00
Josh Stone
aac4471f40 Update to 1.47.0. 2020-10-09 16:13:53 -07:00
Fabio Valentini
aacb4980d2
fix LTO with doctests (backported cargo PR#8657) 2020-08-28 23:45:56 +02:00
Josh Stone
105a7c0012 Update to 1.46.0.
I've unbundled libgit2 for fedora >= 32, where we have libgit2-1.0.1.

I've also pulled in some RHEL config and patches I had in other
branches, but these should end up as no-ops for Fedora.
2020-08-27 10:49:15 -07:00
Josh Stone
99cf40c754 Update to 1.45.2. 2020-08-03 10:33:21 -07:00
Josh Stone
d2688a5518 Update to 1.45.1. 2020-07-30 11:41:32 -07:00
Fedora Release Engineering
2023d1f6b7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 07:19:49 +00:00
Josh Stone
d62a20a4de Update to 1.45.0. 2020-07-16 11:04:22 -07:00
Jeff Law
bd38d989dc Disable LTO 2020-07-01 15:31:23 -06:00
Josh Stone
560777dfc7 Update to 1.44.1. 2020-06-18 09:47:06 -07:00
Josh Stone
d921e9b0a9 Update to 1.44.0. 2020-06-04 11:59:31 -07:00
Josh Stone
52b63674b5 Update to 1.43.1. 2020-05-07 11:29:23 -07:00
Josh Stone
dd62b35683 Update to 1.43.0. 2020-04-23 10:51:59 -07:00
Josh Stone
3d7a297b89 Fix 1.42 bootstrapping itself 2020-03-12 13:07:46 -07:00
Josh Stone
a4c430044f Update to 1.42.0. 2020-03-12 10:06:33 -07:00
Josh Stone
682c207f08 For older rpm's sake, don't use %elif 2020-02-27 13:32:34 -08:00
Josh Stone
269b322b5c Update to 1.41.1. 2020-02-27 09:21:31 -08:00
Josh Stone
9b4ad1ffb1 Rebuild with llvm9.0 2020-02-20 14:49:18 -08:00
Josh Stone
a22d8f719c Reintroduce the workaround for LLVM library path
This reverts commit 93ecbc5a13,
reintroducing the workaround for rust#40717, now rust#68714.
2020-01-31 13:57:18 -08:00
Josh Stone
b2dedbd4bd Update to 1.41.0. 2020-01-30 10:42:52 -08:00
Josh Stone
d39c26097c Build compiletest with in-tree libtest 2020-01-16 16:52:05 -08:00
Josh Stone
f1f40ebcbe Fix compiletest with newer (local-rebuild) libtest
Fix ARM EHABI unwinding
2020-01-08 09:02:41 -08:00
Josh Stone
f88be12b0c Update to 1.40.0. 2019-12-19 08:54:43 -08:00
Josh Stone
13639c9e59 Fix a couple build and test issues with rustdoc. 2019-11-12 11:36:54 -08:00
Josh Stone
23326e0036 Update to 1.39.0. 2019-11-07 09:29:18 -08:00
Josh Stone
963b518699 Filter the libraries included in rust-std (rhbz1756487) 2019-09-27 15:22:39 -07:00
Josh Stone
3c6623c53d Update to 1.38.0. 2019-09-26 12:33:47 -07:00
Josh Stone
b93df249e6 Update to 1.37.0. 2019-08-15 10:58:04 -07:00
Fedora Release Engineering
b2f7d9d1ce - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 20:27:53 +00:00
Josh Stone
beb6bc01ac Update to 1.36.0. 2019-07-04 07:31:02 -07:00
Josh Stone
b154e89c6c Fix compiletest for rebuild testing.
Related: rhbz1680091
2019-05-29 20:11:51 -07:00
Josh Stone
3edbbaee75 Update to 1.35.0. 2019-05-23 14:44:22 -07:00
Josh Stone
daa1d071bf Update to 1.34.2 -- fixes CVE-2019-12083. 2019-05-14 09:18:06 -07:00
Josh Stone
039aee859f Set rust.codegen-units-std=1
Upstream started this in https://github.com/rust-lang/rust/pull/55264,
which was released in Rust 1.32.
2019-04-30 12:03:54 -07:00
Josh Stone
28c453df23 Remove the ThinLTO workaround. 2019-04-26 16:39:27 -07:00
Josh Stone
e72f8fbbbb Update to 1.34.1.
Add a ThinLTO fix for rhbz1701339.
2019-04-26 09:12:54 -07:00
Josh Stone
58b5337e4c Update to 1.34.0. 2019-04-11 10:55:26 -07:00
Josh Stone
93ecbc5a13 Remove the workaround for rust#40717 2019-03-25 15:45:14 -07:00
Josh Stone
f712684d1b Fix deprecations for self-rebuild 2019-03-01 11:17:36 -08:00
Josh Stone
a87304bdb0 Disable debuginfo on s390x (oom-kill) 2019-03-01 09:04:27 -08:00
Josh Stone
aa7902f580 Use a wildcard to exclude miri 2019-03-01 09:04:21 -08:00
Josh Stone
eedc93590e Update to 1.33.0. 2019-02-28 11:53:56 -08:00
Fedora Release Engineering
2503a331a1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 13:20:15 +00:00
Josh Stone
72d7be38d8 Update to 1.32.0. 2019-01-17 12:23:33 -08:00
Josh Stone
86aff7c861 Update to 1.31.1 for RLS fixes. 2019-01-07 12:12:34 -08:00
Josh Stone
26d7cf9ffd Update to 1.31.0 -- Rust 2018!
clippy/rls/rustfmt are no longer -preview
2018-12-06 09:51:44 -08:00
Josh Stone
02208e399f Update to 1.30.1. 2018-11-08 14:13:10 -08:00
Josh Stone
3fff7a4653 Update to 1.30.0. 2018-10-25 11:24:43 -07:00
Josh Stone
6cdc8d05a3 Comment why we're disabling debuginfo on old rpmbuild 2018-10-25 09:57:24 -07:00
Pablo Sebastián Greco
9e518e01bf Disable all 32-bit debuginfo on fedora < 27 and rhel <= 7 2018-10-25 09:57:24 -07:00
Josh Stone
0787418a23 Rebuild without bootstrap binaries. 2018-10-22 09:26:31 -07:00
Josh Stone
5cb6c7c6f3 Re-bootstrap armv7hl due to rhbz#1639485 2018-10-19 17:07:28 -07:00
Josh Stone
e2862ab0b7 Update to 1.29.2. 2018-10-12 10:14:55 -07:00
Josh Stone
6ae43e1a3e Update to 1.29.1.
Security fix for str::repeat (pending CVE).
2018-09-25 11:34:32 -07:00
Josh Stone
7524bca2df Update to 1.29.0.
Add a clippy-preview subpackage
2018-09-13 13:36:08 -07:00
Josh Stone
1917fae5ec Use llvm6.0 instead of llvm-7 for now 2018-08-13 15:22:08 -07:00
Josh Stone
5eabb0b0b3 Remove backup files from %%configure munging 2018-08-10 12:41:09 -07:00
Josh Stone
e5fcf71650 Exclude rust-src from auto-requires 2018-08-07 17:00:34 -07:00
Josh Stone
7273060c05 Rebuild for LLVM ppc64/s390x fixes 2018-08-06 19:59:39 -07:00
Josh Stone
c81e0e54b1 Update to 1.28.0. 2018-08-02 14:25:13 -07:00
Josh Stone
63599d0572 Update to 1.27.2. 2018-07-24 10:58:00 -07:00
Fedora Release Engineering
507a2f126b - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 04:58:56 +00:00
Josh Stone
dcadfa5c90 1.27.1 fixed CVE-2018-1000622 2018-07-10 22:47:41 -07:00
Josh Stone
e5aa295daa Update to 1.27.1. 2018-07-10 14:50:37 -07:00
Josh Stone
143aecadf1 Update to 1.27.0. 2018-06-21 16:49:11 -07:00
Josh Stone
9552deab48 Remove the gdb workaround 2018-06-12 16:15:57 -07:00
Josh Stone
820f98e2ae Rebuild without bootstrap binaries. 2018-06-05 21:36:55 -07:00
Josh Stone
44ab18b9a0 Temporarily disable debuginfo-gdb tests on rawhide 2018-06-05 13:25:30 -07:00
Josh Stone
43909be7e9 reduce debuginfo on i686 too (LLVM ERROR: out of memory) 2018-06-05 12:06:03 -07:00
Josh Stone
59bda43d25 Update to 1.26.2.
Re-bootstrap to deal with LLVM symbol changes.
2018-06-05 10:43:45 -07:00
Josh Stone
225f76f4c7 Update to 1.26.1. 2018-05-29 11:39:30 -07:00
Josh Stone
3212aa76cb Add rust#50789 to fix same-version bootstrap
We don't need to rebuild for this patch now, but it will correct the
FTBFS that Koschei is currently reporting.
2018-05-16 10:28:26 -07:00
Josh Stone
72ac66629d Update to 1.26.0. 2018-05-10 11:32:50 -07:00
Josh Stone
8ccb982681 Add a %bcond for libgit2 2018-04-18 13:14:57 -07:00
Dan Callaghan
4fd41d0a29 Add cargo, rls, and analysis 2018-04-18 15:54:53 +10:00
Josh Stone
be4334fc3c Filter codegen-backends from Provides too. 2018-04-11 10:57:18 -07:00
Josh Stone
2e4d8937f2 Update to 1.25.0. 2018-03-29 11:04:58 -07:00
Josh Stone
1bb4d24c06 Update to 1.24.1. 2018-03-01 17:32:55 -08:00
Josh Stone
c25b6ed664 Backport a rebuild fix for rust#48308. 2018-02-21 19:47:41 -08:00
Josh Stone
1fe43a8148 rhbz1546541: drop full-bootstrap; cmp libs before symlinking.
Backport pr46592 to fix local_rebuild bootstrapping.
Backport pr48362 to fix relative/absolute libdir.
2018-02-19 17:00:48 -08:00
Josh Stone
216b2d2771 Update to 1.24.0. 2018-02-15 15:38:13 -08:00
Iryna Shcherbina
559c48d58a Update Python 2 dependency declarations to new packaging standards 2018-02-12 09:35:26 +01:00
Josh Stone
d93a6f052c Patch binaryen for GCC 8 2018-02-06 23:37:33 -08:00
Josh Stone
87264cb5b7 Use full-bootstrap to work around a rebuild issue. 2018-02-06 23:26:22 -08:00
Igor Gnatenko
ba2e3fd314
Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-01 06:02:28 +01:00
Josh Stone
d6d1480fae Update to 1.23.0. 2018-01-08 11:40:04 -08:00
Josh Stone
6d1921218e Update to 1.22.1. 2017-11-23 14:41:32 -08:00
Josh Stone
dbb950d592 Update to 1.21.0. 2017-10-12 12:03:28 -07:00
Josh Stone
99c271af8c ABI fixes for ppc64 and s390x. 2017-09-11 11:54:06 -07:00
Josh Stone
6eec89a42b Update to 1.20.0.
Add a rust-src subpackage.
2017-08-31 13:38:34 -07:00
Fedora Release Engineering
724804353b - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 08:02:01 +00:00
Fedora Release Engineering
c854d36ca3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 18:01:51 +00:00
Josh Stone
df0e2cb3a2 Use find-debuginfo.sh --keep-section .rustc 2017-07-24 18:06:13 -07:00
Josh Stone
6d4fd15349 Update to 1.19.0. 2017-07-21 10:21:44 -07:00
Josh Stone
96a6a3452a Update to 1.18.0. 2017-06-08 15:08:30 -07:00
Igor Gnatenko
bba5493470 do not require rust-rpm-macros
Packages will do this instead.

Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-05-17 17:43:32 +02:00
Josh Stone
0d6f63ba43 Move shared libraries back to libdir and symlink in rustlib 2017-05-08 17:07:02 -07:00
Josh Stone
28e2de568a Update to 1.17.0. 2017-04-27 15:49:04 -07:00
Josh Stone
2453b710d4 Use llvm3.9 to fix rawhide FTBFS with llvm-4
However, plugins currently don't work well with dynamic LLVM in
non-standard library paths:

   https://github.com/rust-lang/rust/issues/40717
2017-03-31 11:00:59 -07:00
Josh Stone
2e9a258bc1 cmake is only needed for bundled llvm 2017-03-22 13:18:56 -07:00
Josh Stone
9245da2d8a Make rust-lldb arch-specific to deal with lldb deps 2017-03-20 12:09:48 -07:00
Josh Stone
c34ccf6a5e rust-lldb requires python-lldb 2017-03-17 13:29:07 -07:00
Josh Stone
3c0f5fef47 Drop rust-llvm ExclusiveArch: noarch
This seemed to make the whole rust.spec attempt a noarch build!
2017-03-17 12:08:09 -07:00
Josh Stone
457e051654 Limit rust-lldb arches
Using "BuildArch: noarch" and "ExclusiveArch: %arches noarch" per the
guidelines for runtime dependencies here:

https://fedoraproject.org/wiki/Packaging:Guidelines#Noarch_with_unported_dependencies
2017-03-17 11:54:30 -07:00
Josh Stone
faed2aa8c5 Update to 1.16.0.
Use rustbuild instead of the old makefiles.
Update bootstrapping to include rust-std and cargo.
Add a rust-lldb subpackage.
2017-03-16 11:48:23 -07:00
Josh Stone
7cfff5ad76 Update to 1.15.1.
Require rust-rpm-macros for new crate packaging.
Keep shared libraries under rustlib/, only debug-stripped.
Merge and clean up conditionals for epel7.
2017-02-09 15:26:24 -08:00
Josh Stone
5295a12324 Rebuild without bootstrap binaries. 2016-12-23 07:55:21 -08:00
Josh Stone
df7f61c253 Update to 1.14.0.
Rewrite bootstrap logic to target specific arches.
Bootstrap ppc64, ppc64le, s390x. (thanks to Sinny Kumari for testing!)
2016-12-22 22:08:39 -08:00
Josh Stone
e11f49f736 Update to 1.13.0.
- Use hardening flags for linking.
- Split the standard library into its own package
- Centralize rustlib/ under /usr/lib/ for multilib integration.
2016-11-11 23:34:00 -08:00
Josh Stone
1a280df726 Drop the temporary 1.12.1 bootstrap patch 2016-10-21 23:00:26 -07:00
Josh Stone
6050c3a1b2 Update to 1.12.1. 2016-10-20 19:09:42 -07:00
Josh Stone
1cdcdee3ca Add ncurses-devel for llvm-config's -ltinfo. 2016-10-14 10:15:40 -07:00
Josh Stone
b233f150ae Rebuild with LLVM 3.9. 2016-10-14 00:40:50 -07:00
Josh Stone
171389492c Link ffi as a workaround for rust#34486 2016-10-13 18:26:06 -07:00
Josh Stone
ee0eb2e7eb Rebuild with llvm-static, preparing for 3.9 2016-10-13 17:19:21 -07:00
Josh Stone
4b827922a2 call check-summary manually after test failures 2016-10-13 10:47:06 -07:00
Josh Stone
b7f305b499 Rebuild with fixed eu-strip (rhbz1380961) 2016-10-07 22:20:14 -07:00
Josh Stone
41b455a0d7 Rebuild without bootstrap binaries. 2016-10-07 00:43:38 -07:00
Josh Stone
4d5af3f633 Bootstrap aarch64.
- Use jemalloc's MALLOC_CONF to work around #36944.
- Apply pr36933 to really disable armv7hl NEON.
2016-10-06 18:49:52 -07:00
Josh Stone
3260087dc0 Relax the self requirement to just version
The koschei app was complaining of unsatisfied dependencies when I had
strictly "< %{version}-%{release}".  Just "<= %{version}" should work.
2016-10-04 00:44:59 -07:00
Josh Stone
1702b2ce16 Protect .rustc from rpm stripping.
It should be fine to strip this, even desirable, but it's causing
dynamic linking issues.
2016-10-01 11:10:13 -07:00
Josh Stone
e70d943ba9 Update to 1.12.0.
- Always use --local-rust-root, even for bootstrap binaries.
- Remove the rebuild conditional - the build system now figures it out.
- Let minidebuginfo do its thing, since metadata is no longer a note.
- Let rust build its own compiler-rt builtins again.
2016-09-30 22:04:29 -07:00
Josh Stone
64aef5dd8a fix the reference to PR36344 2016-09-12 11:41:03 -07:00
Josh Stone
b519d4e70a note that the mips testing hack will be fixed in 1.13 2016-09-12 11:39:50 -07:00
Josh Stone
2cf5e865e8 Rebuild without bootstrap binaries. 2016-09-03 09:22:04 -07:00
Josh Stone
5a8b3306a3 Bootstrap armv7hl, with backported no-neon patch. 2016-09-02 21:12:41 -07:00
Josh Stone
ba0dc4eb0b Update to 1.11.0.
- Drop the backported patches.
- Patch get-stage0.py to trust existing bootstrap binaries.
- Use libclang_rt.builtins from compiler-rt, dodging llvm-static issues.
- Use --local-rust-root to make sure the right bootstrap is used.
2016-08-24 00:47:10 -07:00