Compare commits

...

84 Commits

Author SHA1 Message Date
Josh Stone 519c6a9852 beta test 2021-03-23 16:12:48 -07:00
Josh Stone 6732b6b7fb beta test 2021-03-09 10:54:54 -08:00
Josh Stone 86f616623c Merge branch 'rawhide' into beta 2021-03-09 10:18:22 -08:00
Josh Stone 44fe1090f9 beta test 2020-07-14 09:42:00 -07:00
Josh Stone 09f0f09852 beta test 2020-07-10 13:42:55 -07:00
Josh Stone 8429f906ad Merge branch 'master' into beta 2020-07-08 16:23:02 -07:00
Josh Stone c60dd26567 beta test 2020-04-21 09:41:59 -07:00
Josh Stone 785d55c34d Merge branch 'master' into beta 2020-03-30 10:23:23 -07:00
Josh Stone f3956f2ed3 beta test 2020-01-24 12:14:24 -08:00
Josh Stone 966da21ad0 Merge branch 'master' into beta 2020-01-17 16:29:42 -08:00
Josh Stone 1e2b9b2916 beta test 2019-12-12 15:56:21 -08:00
Josh Stone 8e99f8c4a4 Merge branch 'master' into beta 2019-12-06 12:02:35 -08:00
Josh Stone 475b171687 beta test 2019-11-06 13:51:31 -08:00
Josh Stone a848b3b732 Merge branch 'master' into beta 2019-10-28 13:54:21 -07:00
Josh Stone 8ee38f7820 beta test 2019-09-20 09:59:17 -07:00
Josh Stone 332ef61ee2 Merge branch 'master' into beta 2019-08-26 16:52:57 -07:00
Josh Stone c454924baf beta test 2019-08-12 16:34:40 -07:00
Josh Stone c48bc712c8 Merge branch 'master' into beta 2019-07-23 10:37:13 -07:00
Josh Stone 1963761c96 beta test 2019-05-15 16:05:50 -07:00
Josh Stone 39814efda6 Merge branch 'master' into beta 2019-05-15 13:43:46 -07:00
Josh Stone 755e253f63 beta test 2019-03-29 14:33:55 -07:00
Josh Stone f1d7be8f38 bundled LLVM is in src/llvm-project/ now 2019-03-26 14:49:35 -07:00
Josh Stone dd5f50a59b Merge branch 'master' into beta 2019-03-26 14:02:54 -07:00
Josh Stone 595faa1874 beta test 2019-03-20 10:10:26 -07:00
Josh Stone 6ca00007e8 beta test 2019-03-18 22:14:43 -07:00
Josh Stone a103b2abf4 beta test 2019-03-06 16:00:17 -08:00
Josh Stone 3e79b5e2c3 Merge branch 'master' into beta 2019-03-06 10:24:44 -08:00
Josh Stone 4d9af19061 beta test 2019-02-26 09:33:55 -08:00
Josh Stone be69cb21f2 Merge branch 'master' into beta 2019-02-21 10:54:45 -08:00
Josh Stone cab102f808 Drop the subpackage versions 2019-01-16 14:05:18 -08:00
Josh Stone d201a25c94 beta test 2019-01-09 17:11:56 -08:00
Josh Stone 4f5c2bcd74 Merge branch 'master' into beta 2019-01-09 14:27:09 -08:00
Josh Stone 6af1fde79b beta test 2018-12-03 14:58:10 -08:00
Josh Stone 2f05e496e5 Merge branch 'master' into beta 2018-11-17 15:13:01 -08:00
Josh Stone 7472b1ea49 beta test 2018-09-20 13:36:37 -07:00
Josh Stone 381017845f Merge branch 'master' into beta 2018-09-19 12:21:05 -07:00
Josh Stone aa84a97bfc beta test 2018-09-10 16:52:37 -07:00
Josh Stone 9d2418db76 beta test 2018-09-05 16:13:10 -07:00
Josh Stone 7826701957 beta test 2018-08-31 11:52:04 -07:00
Josh Stone fe90904f28 beta test
Add a clippy-preview subpackage
2018-08-16 21:26:14 -07:00
Josh Stone a55bbef495 Merge branch 'master' into beta 2018-08-13 15:24:19 -07:00
Josh Stone 8b950ace9c beta test 2018-07-26 14:33:38 -07:00
Josh Stone e045a7bf20 Merge branch 'master' into beta 2018-07-24 18:21:24 -07:00
Josh Stone 5da6ebf9a5 beta test 2018-05-04 09:58:25 -07:00
Josh Stone 690bb66d7d Merge branch 'master' into beta 2018-05-04 09:42:01 -07:00
Josh Stone c580c46578 beta test 2018-03-26 13:55:33 -07:00
Josh Stone bf789ae20b Merge branch 'master' into beta 2018-03-02 12:18:38 -08:00
Josh Stone 01f9f4f8d7 use llvm5 for epel7 2018-02-06 23:21:45 -08:00
Josh Stone 7fe47101e0 beta test 2018-02-05 13:29:08 -08:00
Josh Stone 9731a9fcfa beta test, use LLVM 5 where available 2018-02-02 17:15:51 -08:00
Josh Stone 2581f83cc5 Merge branch 'master' into beta 2018-02-02 15:31:17 -08:00
Josh Stone 6006123daf beta test 2018-02-01 09:40:45 -08:00
Josh Stone 8a1b41eaf9 Merge branch 'master' into beta 2018-01-18 17:58:50 -08:00
Josh Stone d64fb6367a beta test 2017-11-15 16:44:35 -08:00
Josh Stone 43b687ef4b Merge branch 'master' into beta 2017-10-26 15:13:40 -07:00
Josh Stone 68c6023eac beta test 2017-10-12 10:42:49 -07:00
Josh Stone 84c02283ad beta test 2017-09-15 13:06:46 -07:00
Josh Stone 688aed533e beta test 2017-09-12 11:35:47 -07:00
Josh Stone 44e5fa40db Merge branch 'master' into beta 2017-09-11 18:27:16 -07:00
Josh Stone 24b87e1c67 add rust-src 2017-08-30 16:35:31 -07:00
Josh Stone bfac8ec0d4 specifically require /usr/bin/cc 2017-08-30 16:34:52 -07:00
Josh Stone 27cc11db97 bump the bundled llvm 2017-08-30 16:34:33 -07:00
Josh Stone 8c4c8be2a9 update bootstrap 2017-08-24 12:54:25 -07:00
Josh Stone dba382a9de beta test 2017-08-24 11:29:19 -07:00
Josh Stone 0e0e5eedcd update patches 2017-08-22 10:18:55 -07:00
Josh Stone 9f8aa3b200 Merge branch 'master' into beta 2017-08-22 09:30:16 -07:00
Josh Stone ef8535c580 beta test, now using llvm4 2017-07-20 10:31:40 -07:00
Josh Stone 5bedf01656 Merge branch 'master' into beta 2017-06-19 16:04:31 -07:00
Josh Stone d40ed5c13c beta test 2017-06-01 18:06:54 -07:00
Josh Stone 95a5ba4a8e Minor macro cleanups 2017-05-26 15:32:17 -07:00
Josh Stone 3c6c44f0de Merge branch 'master' into beta 2017-05-26 13:15:36 -07:00
Josh Stone 17dc2f4612 beta test 2017-04-25 14:38:12 -07:00
Josh Stone 92998165ad Merge remote-tracking branch 'origin/jistone/beta' into beta 2017-03-31 16:16:57 -07:00
Josh Stone 4f37df8720 beta test 2017-03-06 17:27:42 -08:00
Josh Stone ed2201a8a9 1.16.0-beta.3 2017-03-03 14:05:45 -08:00
Josh Stone 1dfccb7e3f beta: cargo version, add gdb, fix cmake3 2017-03-02 17:00:21 -08:00
Josh Stone 91ea22b352 beta test 2017-03-01 17:06:46 -08:00
Josh Stone 834370220b WIP 1.16-beta, rustbuild 2017-03-01 10:42:04 -08:00
Josh Stone fc762c468c Merge branch 'jistone/beta' of ssh://pkgs.fedoraproject.org/rpms/rust into beta 2017-03-01 10:41:32 -08:00
Josh Stone 84f1424083 Merge branch 'jistone/beta' of ssh://pkgs.fedoraproject.org/rpms/rust into beta 2017-01-18 12:08:14 -08:00
Josh Stone 6f33322c7a Beta test 2017-01-18 11:21:44 -08:00
Josh Stone 71ab56b39b Test 1.14.0-beta.3 2016-12-13 22:18:27 -08:00
Josh Stone ccef3d28be simplify the bootstrap base slightly 2016-11-17 23:48:29 -08:00
Josh Stone d59c1edc2b Test 1.14.0-beta.2
- Rewrite bootstrap logic to target specific arches.
- Bootstrap ppc64, ppc64le, s390x. (thanks to Sinny Kumari for testing!)
2016-11-17 22:21:09 -08:00
3 changed files with 32 additions and 24 deletions

View File

@ -3,16 +3,16 @@
%global rust_arches x86_64 i686 armv7hl aarch64 ppc64 ppc64le s390x
# The channel can be stable, beta, or nightly
%{!?channel: %global channel stable}
%{!?channel: %global channel beta}
# To bootstrap from scratch, set the channel and date from src/stage0.txt
# e.g. 1.10.0 wants rustc: 1.9.0-2016-05-24
# or nightly wants some beta-YYYY-MM-DD
# Note that cargo matches the program version here, not its crate version.
%global bootstrap_rust 1.49.0
%global bootstrap_cargo 1.49.0
%global bootstrap_channel 1.49.0
%global bootstrap_date 2020-12-31
%global bootstrap_rust 1.50.0
%global bootstrap_cargo 1.50.0
%global bootstrap_channel 1.50.0
%global bootstrap_date 2021-02-11
# Only the specified arches will use bootstrap binaries.
#global bootstrap_arches %%{rust_arches}
@ -52,7 +52,7 @@
%endif
Name: rust
Version: 1.50.0
Version: 1.51.0~beta.8
Release: 1%{?dist}
Summary: The Rust Programming Language
License: (ASL 2.0 or MIT) and (BSD and MIT)
@ -78,11 +78,11 @@ Patch100: rustc-1.48.0-disable-libssh2.patch
# libcurl on RHEL7 doesn't have http2, but since cargo requests it, curl-sys
# will try to build it statically -- instead we turn off the feature.
Patch101: rustc-1.49.0-disable-http2.patch
Patch101: rustc-1.51.0-disable-http2.patch
# kernel rh1410097 causes too-small stacks for PIE.
# (affects RHEL6 kernels when building for RHEL7)
Patch102: rustc-1.48.0-no-default-pie.patch
Patch102: rustc-1.51.0-no-default-pie.patch
# Get the Rust triple for any arch.
@ -165,12 +165,16 @@ BuildRequires: %{python}
%if %with bundled_llvm
BuildRequires: cmake3 >= 3.4.3
Provides: bundled(llvm) = 11.0.0
Provides: bundled(llvm) = 11.0.1
%else
BuildRequires: cmake >= 2.8.11
%if 0%{?epel} == 7
%global llvm llvm9.0
%endif
%if 0%{?fedora} >= 34
# we're not ready for llvm-12 yet
%global llvm llvm11
%endif
%if %defined llvm
%global llvm_root %{_libdir}/%{llvm}
%else
@ -731,6 +735,9 @@ export %{rust_env}
%changelog
* Fri Mar 19 2021 Josh Stone <jistone@redhat.com> - 1.51.0~beta.8-1
- beta test
* Thu Feb 11 2021 Josh Stone <jistone@redhat.com> - 1.50.0-1
- Update to 1.50.0.

View File

@ -1,6 +1,6 @@
--- rustc-1.49.0-src/Cargo.lock.orig 2021-01-05 12:45:10.456414612 -0800
+++ rustc-1.49.0-src/Cargo.lock 2021-01-05 12:45:10.458414575 -0800
@@ -882,7 +882,6 @@
--- rustc-beta-src/Cargo.lock.orig 2021-03-09 10:30:08.626424998 -0800
+++ rustc-beta-src/Cargo.lock 2021-03-09 10:32:38.096207704 -0800
@@ -899,7 +899,6 @@
dependencies = [
"cc",
"libc",
@ -8,7 +8,7 @@
"libz-sys",
"openssl-sys",
"pkg-config",
@@ -1728,16 +1727,6 @@
@@ -1860,16 +1859,6 @@
]
[[package]]
@ -25,10 +25,10 @@
name = "libz-sys"
version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
--- rustc-1.49.0-src/src/tools/cargo/Cargo.toml.orig 2021-01-05 12:45:10.458414575 -0800
+++ rustc-1.49.0-src/src/tools/cargo/Cargo.toml 2021-01-05 12:47:25.966928554 -0800
--- rustc-beta-src/src/tools/cargo/Cargo.toml.orig 2021-03-05 08:34:15.000000000 -0800
+++ rustc-beta-src/src/tools/cargo/Cargo.toml 2021-03-09 10:32:38.096207704 -0800
@@ -25,7 +25,7 @@
crates-io = { path = "crates/crates-io", version = "0.31.1" }
crates-io = { path = "crates/crates-io", version = "0.33.0" }
crossbeam-utils = "0.8"
crypto-hash = "0.3.1"
-curl = { version = "0.4.23", features = ["http2"] }
@ -36,9 +36,9 @@
curl-sys = "0.4.22"
env_logger = "0.8.1"
pretty_env_logger = { version = "0.4", optional = true }
--- rustc-1.49.0-src/src/tools/cargo/src/cargo/core/package.rs.orig 2020-12-28 19:03:25.000000000 -0800
+++ rustc-1.49.0-src/src/tools/cargo/src/cargo/core/package.rs 2021-01-05 12:45:10.458414575 -0800
@@ -408,14 +408,8 @@
--- rustc-beta-src/src/tools/cargo/src/cargo/core/package.rs.orig 2021-03-05 08:34:15.000000000 -0800
+++ rustc-beta-src/src/tools/cargo/src/cargo/core/package.rs 2021-03-09 10:32:38.096207704 -0800
@@ -412,14 +412,8 @@
// Also note that pipelining is disabled as curl authors have indicated
// that it's buggy, and we've empirically seen that it's buggy with HTTP
// proxies.
@ -55,7 +55,7 @@
Ok(PackageSet {
packages: package_ids
@@ -584,7 +578,7 @@
@@ -592,7 +586,7 @@
macro_rules! try_old_curl {
($e:expr, $msg:expr) => {
let result = $e;

View File

@ -1,14 +1,15 @@
--- rustc-1.48.0-src/compiler/rustc_codegen_ssa/src/back/link.rs.orig 2020-11-16 06:01:53.000000000 -0800
+++ rustc-1.48.0-src/compiler/rustc_codegen_ssa/src/back/link.rs 2020-11-16 09:37:15.779516797 -0800
@@ -1185,10 +1185,12 @@
--- rustc-beta-src/compiler/rustc_codegen_ssa/src/back/link.rs.orig 2021-03-09 10:40:09.755485845 -0800
+++ rustc-beta-src/compiler/rustc_codegen_ssa/src/back/link.rs 2021-03-09 10:44:51.257426181 -0800
@@ -1279,11 +1279,13 @@
}
fn link_output_kind(sess: &Session, crate_type: CrateType) -> LinkOutputKind {
- let kind = match (crate_type, sess.crt_static(Some(crate_type)), sess.relocation_model()) {
- (CrateType::Executable, false, RelocModel::Pic) => LinkOutputKind::DynamicPicExe,
+ // Only use PIE if explicity specified.
+ let explicit_pic = matches!(sess.opts.cg.relocation_model, Some(RelocModel::Pic));
+ let kind = match (crate_type, sess.crt_static(Some(crate_type)), explicit_pic) {
(CrateType::Executable, _, _) if sess.is_wasi_reactor() => LinkOutputKind::WasiReactorExe,
- (CrateType::Executable, false, RelocModel::Pic) => LinkOutputKind::DynamicPicExe,
+ (CrateType::Executable, false, true) => LinkOutputKind::DynamicPicExe,
(CrateType::Executable, false, _) => LinkOutputKind::DynamicNoPicExe,
- (CrateType::Executable, true, RelocModel::Pic) => LinkOutputKind::StaticPicExe,