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

ffmpeg-dbg package doesn't contain debug symbols #28931

Closed
fkaa opened this issue Feb 20, 2021 · 2 comments · Fixed by #28954
Closed

ffmpeg-dbg package doesn't contain debug symbols #28931

fkaa opened this issue Feb 20, 2021 · 2 comments · Fixed by #28954

Comments

@fkaa
Copy link

fkaa commented Feb 20, 2021

System

  • xuname: Void 5.10.16_1 x86_64 AuthenticAMD notuptodate rrrmdDFFFFFF
  • package: ffmpeg-dbg-4.3.1_6

Expected behavior

FFmpeg binaries (ffmpeg, ffplay, ffprobe) from the ffmpeg-dbg package should contain debug symbols.

Actual behavior

The binaries from the ffmpeg-dbg package are already stripped. The build process of FFmpeg creates a stripped binary and one with debug symbols with a _g suffix. See https://ffmpeg.org/faq.html#Why-are-the-ffmpeg-programs-devoid-of-debugging-symbols_003f for more details.

Steps to reproduce the behavior

  1. Install ffmpeg-dbg
  2. Run gdb ffmpeg which declares no debug symbols were found
@ericonr
Copy link
Member

ericonr commented Feb 20, 2021

They could just respect CFLAGS set in the environment, which is just reasonable, but I guess that's not an option.

Thanks for bringing this up, I will try to fix it. Though we do have a strip wrapper that just echos stuff and should have caught this...

@sgn
Copy link
Member

sgn commented Feb 21, 2021

Please test #28954

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

Successfully merging a pull request may close this issue.

3 participants