aboutsummaryrefslogtreecommitdiff
path: root/lang/rust-bootstrap
Commit message (Collapse)AuthorAgeFilesLines
* lang/rust-bootstrap: Unbreak buildTobias Kortkamp2020-09-021-0/+2
| | | | | | | | | | | | | | error: linking with `/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/aarch64-unknown-freebsd-cc` failed: exit code: 1 | = note: "/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/aarch64-unknown-freebsd-cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-Wl,--eh-frame-hdr" "-L" "/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1/lib/rustlib/aarch64-unknown-freebsd/lib" "/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/rustc_binary-aee2141e03185e53.rustc_binary.b5znfnzc-cgu.0.rcgu.o" "/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/rustc_binary-aee2141e03185e53.rustc_binary.b5znfnzc-cgu.1.rcgu.o" "-o" "/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/rustc_binary-aee2141e03185e53" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps" "-L" "/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/release/deps" "-L" "/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/build/psm-b70dc38335c8633c/out" "-L" "/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/build/rustc_llvm-2e64396678b51f1b/out" "-L" "/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/aarch64-unknown-freebsd/llvm/build/lib" "-L" "/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1/lib/rustlib/aarch64-unknown-freebsd/lib" "-L" "/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps" "-lrustc_driver-92f05a38b6344bea" "-Wl,--start-group" "-L" "/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1/lib/rustlib/aarch64-unknown-freebsd/lib" "-lstd-1f5c5da87793947f" "-Wl,--end-group" "-Wl,-Bstatic" "/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1/lib/rustlib/aarch64-unknown-freebsd/lib/libcompiler_builtins-8365ea7481741727.rlib" "-Wl,-Bdynamic" "-lc++" "-lutil" "-lutil" "-lexecinfo" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" "-Wl,-rpath,$ORIGIN/../lib" = note: ld: error: /wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_driver-92f05a38b6344bea.so: undefined reference to compress2 [--no-allow-shlib-undefined] ld: error: /wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_driver-92f05a38b6344bea.so: undefined reference to compressBound [--no-allow-shlib-undefined] ld: error: /wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_driver-92f05a38b6344bea.so: undefined reference to crc32 [--no-allow-shlib-undefined] ld: error: /wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_driver-92f05a38b6344bea.so: undefined reference to uncompress [--no-allow-shlib-undefined] cc: error: linker command failed with exit code 1 (use -v to see invocation) Notes: svn path=/head/; revision=547371
* lang/rust: Update to 1.46.0Tobias Kortkamp2020-08-302-4/+4
| | | | | | | | | | | - Force rebuild all consumers to catch regressions early Changes: https://blog.rust-lang.org/2020/08/27/Rust-1.46.0.html With hat: rust Differential Revision: https://reviews.freebsd.org/D26176 Notes: svn path=/head/; revision=547071
* lang/rust: Update to 1.45.2Tobias Kortkamp2020-08-032-4/+4
| | | | | | | Changes: https://blog.rust-lang.org/2020/08/03/Rust-1.45.2.html Notes: svn path=/head/; revision=544073
* lang/rust: Update to 1.45.1Tobias Kortkamp2020-07-302-4/+4
| | | | | | | | | | | | | - Apply the "hard links break `env::current_exe()`" workaround from r543251 to lang/rust too - Force rebuild all consumers for the soundness bug in 1.45.0 Changes: https://blog.rust-lang.org/2020/07/30/Rust-1.45.1.html With hat: rust Differential Revision: https://reviews.freebsd.org/D25835 Notes: svn path=/head/; revision=543815
* lang/rust: Update to 1.45.0Tobias Kortkamp2020-07-172-9/+4
| | | | | | | | | | | | | | | | | - This Rust release comes with LLVM 10. Drop the LLVM patches we no longer need. - On FreeBSD 13.0 powerpc64 set the elfv2 ABI explicitly in the Rust target instead of patching LLVM. - Build LLVM with Ninja. It can shorten the build time slightly. - Force rebuild all consumers to catch regressions early Changes: https://blog.rust-lang.org/2020/07/16/Rust-1.45.0.html Tested by: mikael, pkubaj, tobik With hat: rust Differential Revision: https://reviews.freebsd.org/D25658 Notes: svn path=/head/; revision=542412
* lang/rust-bootstrap: Keep the (amd64-native) cross compilers aroundTobias Kortkamp2020-06-191-4/+5
| | | | Notes: svn path=/head/; revision=539672
* lang/rust: Update to 1.44.1Tobias Kortkamp2020-06-182-5/+4
| | | | | | | | | | | | | | - Properly fix powerpc64 builds [1] Changes: https://blog.rust-lang.org/2020/06/18/Rust.1.44.1.html PR: 247307 [1] Submitted by: pkubaj [1] Reviewed by: mikael, pkubaj, tobik With hat: rust Differential Revision: https://reviews.freebsd.org/D25297 Notes: svn path=/head/; revision=539541
* lang/rust-bootstrap: Limit elfv1 bootstrap to GCC9 for nowTobias Kortkamp2020-06-131-1/+1
| | | | | | | | | | | To use newer GCC the powerpc64 binary package that provides gcc libraries in the cross sysroot will need updating to a newer GCC as well. PR: 246700 Notes: svn path=/head/; revision=538686
* lang/rust-bootstrap: Rebuild after r538194Tobias Kortkamp2020-06-091-0/+1
| | | | Notes: svn path=/head/; revision=538312
* lang/rust: Update to 1.44.0Tobias Kortkamp2020-06-042-4/+4
| | | | | | | | | | | | | | | - Remove devel/cargo-tree since it is now integrated into cargo - Add patch to fix build with LibreSSL 3.1.x and 3.2.0 [1] - Force rebuild all consumers to catch regressions early Changes: https://blog.rust-lang.org/2020/06/04/Rust-1.44.0.html PR: 246332 [1] Tested by: mikael, tobik With hat: rust Differential Revision: https://reviews.freebsd.org/D25099 Notes: svn path=/head/; revision=537917
* lang/rust: Update to 1.43.1Tobias Kortkamp2020-05-072-4/+4
| | | | | | | | | | | | - Remove upstreamed patches - On ppc64 revert e82ec2315e5adb1c291c3702cd2ac1f46ecd0fcf to fix segfaults Changes: https://blog.rust-lang.org/2020/05/07/Rust.1.43.1.html With hat: rust Differential Revision: https://reviews.freebsd.org/D24734 Notes: svn path=/head/; revision=534269
* lang/rust: Update to 1.43.0Tobias Kortkamp2020-04-232-4/+4
| | | | | | | | | | | | | | | | - Add workaround to fix build when CC/CXX have "clang" in them [1] - Respect AR to fix build with external toolchains [2] - Force rebuild all consumers to catch regressions early Changes: https://blog.rust-lang.org/2020/04/23/Rust-1.43.0.html PR: 238556 [1], 245583 [2] Reported by: Matthias Apitz <guru@unixarea.de> [1], Greg V <greg@unrelenting.technology> [2] Tested by: mikael, pkubaj, tobik With hat: rust Differential Revision: https://reviews.freebsd.org/D24521 Notes: svn path=/head/; revision=532685
* lang/rust: Update to 1.42.0Tobias Kortkamp2020-03-122-4/+5
| | | | | | | | | | | | - Force rebuild all consumers to catch regressions early Changes: https://blog.rust-lang.org/2020/03/12/Rust-1.42.html Tested by: mikael, tobik With hat: rust Differential Revision: https://reviews.freebsd.org/D24020 Notes: svn path=/head/; revision=528318
* lang/rust: Update to 1.41.1Tobias Kortkamp2020-02-272-4/+4
| | | | | | | | | | | | | | | | | | | | | - Force rebuild all consumers to fix potential miscompilations with 1.41.0 - Enable SOURCES by default. The sources are indexed by RLS and required for it to function properly, so they should be available by default. This also makes sure we test the option properly. - Remove implied --config=config.toml from x.py args - Switch to the upstreamed backtrace crate patches like rust-nightly - Enable WASM by default [0] - Strip libraries (D23650) [1] - Simplify plist generation (D23735) [2] Changes: https://blog.rust-lang.org/2020/02/27/Rust-1.41.1.html Submitted by: mikael [0,1,2] With hat: rust Differential Revision: https://reviews.freebsd.org/D23835 Notes: svn path=/head/; revision=527260
* New port: lang/rust-bootstrapTobias Kortkamp2020-02-253-0/+256
This port creates the required bootstrap compilers for building the next version of lang/rust. Thanks to garga, mikael, pkubaj for test building lang/rust with the generated bootstraps. Approved by: portmgr (mat, flavors) Differential Revision: https://reviews.freebsd.org/D23133 Notes: svn path=/head/; revision=527099