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

Some error with int to one bit turning to -1 #1052

Open
kashtik opened this issue Oct 12, 2024 · 1 comment
Open

Some error with int to one bit turning to -1 #1052

kashtik opened this issue Oct 12, 2024 · 1 comment
Labels
android Affect Android platform incompatibility scripts Affect build scripts v6.0

Comments

@kashtik
Copy link

kashtik commented Oct 12, 2024

Description
Trying to build ffmpeg

Expected behavior
Should build

Current behavior
Exception when building

To Reproduce
Get a mac with m3 chip. Install everything like it says

Screenshots
Screenshot 2024-10-12 at 19 14 15

Logs
jni/../ffmpeg-kit-android-lib/src/main/cpp/fftools_ffmpeg_mux_init.c:296:55: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]
296 | { ENC_STATS_TIMEBASE_IN, "tbi", 0, 0, 1 },
| ^
jni/../ffmpeg-kit-android-lib/src/main/cpp/fftools_ffmpeg_mux_init.c:299:55: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]
299 | { ENC_STATS_PTS_IN, "ptsi", 0, 0, 1 },
Environment

  • Platform: macOS
  • Architecture: arm-v7a, arm-v7a-neon, arm64-v8a, x86, x86_64, armv7, armv7s, arm64, arm64-mac-catalyst, arm64-simulator, arm64e, i386, x86-64, x86-64-mac-catalyst
  • Version: v5.1/v5.1.LTS
  • Source branch: main, development
  • Xcode version: 13.4.1
  • Cocoapods version: 1.10.3
  • Android Studio version: 4.0
  • Android NDK version: r25b
  • flutter doctor:
  • react-native info:

Other
Add any other context about the problem here.

@tanersener tanersener added needs-analysis We don't know that this is. It must be investigated further android Affect Android platform scripts Affect build scripts v6.0 labels Nov 8, 2024
@tanersener tanersener added incompatibility and removed needs-analysis We don't know that this is. It must be investigated further labels Nov 16, 2024
@tanersener
Copy link
Collaborator

The NDK Compatibility page lists the NDK versions used to build and test each release. The NDK 28 Beta shown in the screenshot above is not on that list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Affect Android platform incompatibility scripts Affect build scripts v6.0
Projects
None yet
Development

No branches or pull requests

2 participants