Skip to content
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

Fails to build on 32-bit FreeBSD #96

Open
jbeich opened this issue Nov 13, 2024 · 0 comments
Open

Fails to build on 32-bit FreeBSD #96

jbeich opened this issue Nov 13, 2024 · 0 comments

Comments

@jbeich
Copy link

jbeich commented Nov 13, 2024

Regressed by #89

$ git describe --tags
7.0.3-1-ga13516c

$ rustc -vV
rustc 1.82.0 (f6e511eec 2024-10-15) (built from a source tarball)
binary: rustc
commit-hash: f6e511eec7342f59a25f7c0534f1dbea00d01b14
commit-date: 2024-10-15
host: i686-unknown-freebsd
release: 1.82.0
LLVM version: 19.1.1

$ pkg info -x ffmpeg
ffmpeg-6.1.2_5,1
$ pkg-config --modversion libavcodec
60.31.102

$ cargo build
[...]
error[E0080]: evaluation of constant value failed
    --> ./target/debug/build/ffmpeg-sys-next-a158c93c9f2c6912/out/bindings.rs:1442:31
     |
1442 |     ["Size of __max_align_t"][::std::mem::size_of::<__max_align_t>() - 20usize];
     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `16_usize - 20_usize`, which would overflow

For more information about this error, try `rustc --explain E0080`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant