-
Notifications
You must be signed in to change notification settings - Fork 13.3k
stable-x86_64-pc-windows-gnu: Conflicts with static libgcc #67960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
…nits, r=alexcrichton Keep codegen units unmerged when building compiler builtins Make it possible to control how mono items are partitioned into code generation units, when compiling the compiler builtins, by retaining the original partitioning. Helps with rust-lang#48625, rust-lang#61063, rust-lang#67960, rust-lang#70489. r? @alexcrichton
…nits, r=alexcrichton Keep codegen units unmerged when building compiler builtins Make it possible to control how mono items are partitioned into code generation units, when compiling the compiler builtins, by retaining the original partitioning. Helps with rust-lang#48625, rust-lang#61063, rust-lang#67960, rust-lang#70489. r? @alexcrichton
@1480c1 could you retest with nightly or provide steps to reproduce the error? |
Sure, I can try once I have time. |
Hmm, seems like I am no longer able to reproduced inside a clean VM with just msys2 installed #!/usr/bin/bash
mkdir rusty
export CARGO_HOME="$PWD/rusty" RUSTUP_HOME="$PWD/rusty"
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$PWD/rusty/lib/pkgconfig
export CFLAGS+=" -static -static-libgcc" LDFLAGS+=" -static-libgcc"
curl https://sh.rustup.rs -sSo rustup.sh
./rustup.sh -v -y --no-modify-path --default-host=${MSYSTEM_CARCH:-x86_64}-pc-windows-gnu --default-toolchain=stable
export PATH=$PATH:$PWD/rusty/bin
# cargo version at this time: cargo 1.45.1 (f242df6ed 2020-07-22)
cargo install cargo-c
git clone --branch master --depth 1 https://github.com/xiph/rav1e.git || {
git -C rav1e fetch
git remote set-head -a origin
git -C rav1e reset --hard origin/HEAD
}
(
cd rav1e &&
cargo capi install --release --prefix "$PWD/local" --jobs "$(nproc)" &&
install -Dp -t "$CARGO_HOME/lib" "./local/lib/librav1e.a" &&
install -Dp -t "$CARGO_HOME/lib/pkgconfig" "./local/lib/pkgconfig/rav1e.pc" &&
install -Dp -t "$CARGO_HOME/include/rav1e" "./local/include/rav1e"/*.h
) || exit
git clone --branch master --depth 1 https://git.ffmpeg.org/ffmpeg.git || {
git -C ffmpeg fetch
git remote set-head -a origin
git -C ffmpeg reset --hard origin/HEAD
}
find . -name rav1e.dll -o -name librav1e.dll.a -delete
(
cd ffmpeg &&
./configure --enable-librav1e --disable-shared --enable-static --disable-ffprobe --pkg-config-flags=--static &&
make -j "$(nproc)"
) || exit
I guess I will close this issue now |
Thank you for testing this again. |
Attempting to compile statically FFmpeg with rav1e's c api causes some linking error
Orignially reported m-ab-s/media-autobuild_suite#1483
The text was updated successfully, but these errors were encountered: