-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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] ld: warning: could not create compact unwind #19699
Comments
Are you sure ffmpeg was built as 64 bit? https://stackoverflow.com/questions/39598302/ld-warning-stack-subl-instruction-is-too-different-from-dwarf-stack-size-on-os |
At least the --arch=x86_64 option is set. See above. |
I am not sure it actually does get set:
|
Hi @daschuer Thanks for posting this issue. Do you encounter this issue on your local machine or on the CI mixxxdj/mixxx#4225? Could you please try to pass the compiler option to rebuild?
|
This linker flag removes the warning. See https://github.com/daschuer/mixxx/runs/3399675678 I encounter the issue on the GitHub CI. I have unfortunately no access to a local macOS machine. Can you give some insights?
|
By the way, when I do not link to ffmpeg the warning disappears. What could be the cause? It there something special with it? |
@daschuer Sorry but I didn'f found the error messages you mentioned in https://github.com/daschuer/mixxx/runs/3399675678, can you please extract it and provide me a log file? Also, can you get the config logs and install logs in your ci system? Thanks. |
https://github.com/daschuer/mixxx/runs/3399675678 is the run with LDFLAGS="-Wl,-no_compact_unwind" The original error can be found here: The logs from the vcpkg build run can be downloaded as artifact here: Thank you for having a look. |
Maybe quotes are missing when passing the arch parameters to ./configure
May become
Just a guess |
vcpkg/ports/ffmpeg/portfile.cmake Line 588 in dd3d6df
|
You need to open the "build" section fist in order to make the search feature work. |
I have used single quotes for --extra-ldflags='-arch x86_64' but this does not make a difference. |
@mcmtroffaes Do you know why? |
I've seen this warning too on ci, but I don't know the cause. It seems to have no impact on the executables as far as I've tested. I'm sorry I can't be more helpful at this instance. |
By default ffmpeg is build with gcc. I have patched the build.sh.in to use clang but the warning remains, so it is not a compiler bug. I will report the issue upstream, maybe they can suggest a workaround. |
Close this PR until upstream fixes this. |
When I try to link to the ffmpeg libraries I get the following linker warnings:
The linking itself succeeds and so far it works as well.
How can I get rid of the warnings?
ffmpeg is build with these options
Environment
To Reproduce
Steps to reproduce the behavior:
Here is the workflow run building Mixxx
https://github.com/mixxxdj/mixxx/pull/4225/checks?check_run_id=3365982171
And here the Run building vcpkg
https://github.com/mixxxdj/vcpkg/runs/3332915409
Expected behavior
No warning should be logged
I would be great if someone has an idea how to fix the issue or debug it more.
Thank you.
The text was updated successfully, but these errors were encountered: