summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Angus Lees [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
Set DT_SONAME when building dylibs
Forwarded: no
In Rust, library filenames include a version-specific hash to help
the run-time linker find the correct version. Unlike in C/C++, the
compiler looks for all libraries matching a glob that ignores the
hash and reads embedded metadata to work out versions, etc.
The upshot is that there is no need for the usual "libfoo.so ->
libfoo-1.2.3.so" symlink common with C/C++ when building with Rust,
and no need to communicate an alternate filename to use at run-time
vs compile time. If linking to a Rust dylib from C/C++ however, a
"libfoo.so -> libfoo-$hash.so" symlink may well be useful and in
this case DT_SONAME=libfoo-$hash.so would be required. More
mundanely, various tools (eg: dpkg-shlibdeps) complain if they don't
find DT_SONAME on shared libraries in public directories.
This patch passes -Wl,-soname=$outfile when building dylibs (and
using a GNU linker).
Gbp-Pq: Name d-rustc-add-soname.patch
Angus Lees [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
Hardcode LLDB python module directory
Forwarded: not-needed
Debian package installs python modules into a fixed directory, so
just hardcode path in wrapper script.
Gbp-Pq: Name d-rust-lldb-paths
Angus Lees [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
Hardcode GDB python module directory
Forwarded: not-needed
Debian package installs python modules into a fixed directory, so
just hardcode path in wrapper script.
Gbp-Pq: Name d-rust-gdb-paths
Debian Rust Maintainers [Mon, 15 Jan 2024 07:16:35 +0000 (08:16 +0100)]
d-armel-fix-lldb
run panics if lldb is not installed and no output is produced..
Gbp-Pq: Name d-armel-fix-lldb.patch
Debian Rust Maintainers [Mon, 15 Jan 2024 07:16:35 +0000 (08:16 +0100)]
d-bootstrap-cargo-check-cfg
our cargo doesn't know about the 'output' part yet, this patch can be dropped
with cargo >= 0.64
Gbp-Pq: Name d-bootstrap-cargo-check-cfg.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
d-test-ignore-avx-44056
Bug: https://github.com/rust-lang/rust/pull/55667
===================================================================
Gbp-Pq: Name d-test-ignore-avx-44056.patch
Debian Rust Maintainers [Mon, 15 Jan 2024 07:16:35 +0000 (08:16 +0100)]
d-bootstrap-permit-symlink-in-docs
partial revert of
b9eedea4b0368fd1f00f204db75109ff444fab5b upstream
Gbp-Pq: Name d-bootstrap-permit-symlink-in-docs.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
d-bootstrap-custom-debuginfo-path
===================================================================
Gbp-Pq: Name d-bootstrap-custom-debuginfo-path.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
Backwards-compat for cargo 0.47
The flag being removed here was added in
https://github.com/rust-lang/cargo/pull/9404 released in cargo 0.54
This works around a feature introduced in this PR
https://github.com/rust-lang/cargo/pull/8640 released in cargo 0.53
Therefore it is not needed for Debian's current cargo 0.47.
We can drop this patch when updating to cargo 0.54 and later.
Gbp-Pq: Name d-bootstrap-old-cargo-compat.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
d-bootstrap-use-local-css
===================================================================
Gbp-Pq: Name d-bootstrap-use-local-css.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
Fix links to cargo-doc
We package cargo docs in a slightly different location; also tweak linkchecker
to not fail these links.
Gbp-Pq: Name d-bootstrap-cargo-doc-paths.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
d-bootstrap-no-assume-tools
===================================================================
Gbp-Pq: Name d-bootstrap-no-assume-tools.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:38 +0000 (13:17 +0200)]
d-bootstrap-read-beta-version-from-file
===================================================================
Gbp-Pq: Name d-bootstrap-read-beta-version-from-file.patch
Matthijs van Otterdijk [Thu, 14 Jul 2022 11:17:38 +0000 (13:17 +0200)]
Don't check for cargo-vendor when building from (Debian's) git
Forwarded: not-needed
Forwarded: not-needed
Gbp-Pq: Name d-bootstrap-disable-git.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:38 +0000 (13:17 +0200)]
Install symlinks as-is, don't dereference them
Our patch to mdbook installs symlinks to systems versions of font-awesome,
highlight, etc. Upstream mdbook otherwise doesn't use symlinks, so this
doesn't affect anything else that's already generated.
Gbp-Pq: Name d-bootstrap-install-symlinks.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:38 +0000 (13:17 +0200)]
d-remove-arm-privacy-breaches
===================================================================
Gbp-Pq: Name d-remove-arm-privacy-breaches.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:38 +0000 (13:17 +0200)]
d-bootstrap-rustflags
===================================================================
Gbp-Pq: Name d-bootstrap-rustflags.patch
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
d-0005-no-jemalloc
Gbp-Pq: Name d-0005-no-jemalloc.patch
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
d-0004-clippy-feature-sync
enable features needed by rustfmt to make build system happy and speedup build.
this is what rustc_workspace_hack does in the upstream build.
Gbp-Pq: Name d-0004-clippy-feature-sync.patch
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
d-0003-cc-psm-rebuild-wasm32
Gbp-Pq: Name d-0003-cc-psm-rebuild-wasm32.patch
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
d-0002-mdbook-strip-embedded-libs
Comment: Use https://github.com/infinity0/mdBook/tree/debian to help you rebase the patch on top of a newer version. . Make sure the paths here match the ones in debian/rust-doc.links
Gbp-Pq: Name d-0002-mdbook-strip-embedded-libs.patch
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
d-0001-pkg-config-no-special-snowflake
Gbp-Pq: Name d-0001-pkg-config-no-special-snowflake.patch
Debian Rust Maintainers [Sat, 2 Oct 2021 00:07:59 +0000 (01:07 +0100)]
d-0000-ignore-removed-submodules
Gbp-Pq: Name d-0000-ignore-removed-submodules.patch
Debian Rust Maintainers [Mon, 15 Jan 2024 07:16:35 +0000 (08:16 +0100)]
d-disable-download-tests
===================================================================
Gbp-Pq: Name d-disable-download-tests.patch
Debian Rust Maintainers [Mon, 15 Jan 2024 07:16:35 +0000 (08:16 +0100)]
d-fix-rustix-outline
Always enable cc even if the feature is not enabled.
Some Debian architectures need outline asm, and Debian does not ship pre-built
outline asm.
Gbp-Pq: Name d-fix-rustix-outline.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:37 +0000 (13:17 +0200)]
u-reproducible-dl-stage0
===================================================================
Gbp-Pq: Name u-reproducible-dl-stage0.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:37 +0000 (13:17 +0200)]
u-rustc-llvm-cross-flags
===================================================================
Gbp-Pq: Name u-rustc-llvm-cross-flags.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:37 +0000 (13:17 +0200)]
u-ignore-ppc-hangs
Bug: https://github.com/rust-lang/rust/issues/89607
Gbp-Pq: Name u-ignore-ppc-hangs.patch
Josh Stone [Tue, 25 Jul 2023 20:11:50 +0000 (13:11 -0700)]
[PATCH] Allow using external builds of the compiler-rt profile lib
This changes the bootstrap config `target.*.profiler` from a plain bool
to also allow a string, which will be used as a path to the pre-built
profiling runtime for that target. Then `profiler_builtins/build.rs`
reads that in a `LLVM_PROFILER_RT_LIB` environment variable.
Gbp-Pq: Name u-profiler.patch
Debian Rust Maintainers [Mon, 15 Jan 2024 07:16:35 +0000 (08:16 +0100)]
explicitly disable split unpacked debuginfo for now on riscv64,
it's broken and we don't want cargo to auto-enable it..
https://github.com/llvm/llvm-project/issues/56642
https://github.com/rust-lang/rust/issues/110224Z
Gbp-Pq: Name u-riscv-disable-unpacked-split-debuginfo.patch
liushuyu [Tue, 25 Jul 2023 01:48:12 +0000 (09:48 +0800)]
[PATCH] core library: Disable fpmath tests for i386 ...
This patch disables the floating-point epsilon test for i386 since
x87 registers are too imprecise and can't produce the expected
results.
Forwarded: https://github.com/rust-lang/rust/pull/114042
Gbp-Pq: Name u-disable-fp-precision-test-on-i386.patch
Debian Rust Maintainers [Mon, 15 Jan 2024 07:16:35 +0000 (08:16 +0100)]
Fix get_toml() when cfg(test)
Bug: https://github.com/rust-lang/rust/issues/105766
Last-Update: 2023-03-29
When cfg(test), Config::parse doesn't parse a config.toml but uses default
values, failing when the initial rustc is needed. This is a workaround before
upstream issue gets solved.
Last-Update: 2023-03-29
Gbp-Pq: Name u-fix-get-toml-when-test.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:37 +0000 (13:17 +0200)]
u-ignore-endian-big-diff
Bug: https://github.com/rust-lang/rust/issues/89577
===================================================================
Gbp-Pq: Name u-ignore-endian-big-diff.patch
Ximin Luo [Thu, 14 Jul 2022 11:17:37 +0000 (13:17 +0200)]
Don't split dwarf debug for a fully-reproducible build
Bug: https://github.com/rust-lang/rust/issues/34902
Gbp-Pq: Name u-reproducible-build.patch
Fabian Grünbichler [Mon, 15 Jan 2024 07:16:35 +0000 (08:16 +0100)]
rustc (1.70.0+dfsg1-5) unstable; urgency=medium
* adapt LLVM_PROFILER_RT_LIB path
[dgit import unpatched rustc 1.70.0+dfsg1-5]
Fabian Grünbichler [Mon, 15 Jan 2024 07:16:35 +0000 (08:16 +0100)]
Import rustc_1.70.0+dfsg1-5.debian.tar.xz
[dgit import tarball rustc 1.70.0+dfsg1-5 rustc_1.70.0+dfsg1-5.debian.tar.xz]
Fabian Grünbichler [Thu, 14 Sep 2023 07:07:26 +0000 (09:07 +0200)]
Import rustc_1.70.0+dfsg1.orig.tar.xz
[dgit import orig rustc_1.70.0+dfsg1.orig.tar.xz]