-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
--with-debug is ignored? #362
Comments
It is not ignored, and it should be working. homebrew-emacs-plus/Formula/[email protected] Line 119 in 7f24428
Could you please build verbosely and share output? |
'brew install emacs-plus@28 --with-debug --keep-tmp' The problem is that clang doesn't actually produce the debugging symbols if you separate the compiling and linking stages as emacs does it just keeps references in the executable to the symbols left in the object files. You have to run dsymutil on the emacs executable to go searching for the object files to produce the dSYM bundle. However, brew will delete those object files before you have a chance to run dsymutil because it considers them temporary files so you have to pass '--keep-tmp'. further reading if you are interested: @d12frosted easy fix might be to automatically pass --keep-tmp if --with-debug is selected. Or possibly have the build script run dsymutil automatically |
@s-m-t you can try modifying the following line locally to see if it works: homebrew-emacs-plus/Formula/[email protected] Line 119 in 7f24428
If that works, let's just pass |
I think this might be due to not having the Is there any way to make that accessible in the installation directory? |
https://github.com/d12frosted/homebrew-emacs-plus/blob/master/Formula/emacs-plus%4028.rb
it doesn't look like the value of this option affects anything?
I'm trying to debug an emacs 100% cpu hang and am trying to run it with gdb to do it. I've
brew uninstall emacs-plus@28
ed, and then intsalled withbrew install emacs-plus@28 --with-debug --with-native-comp
, but when I'm trying to run gdb on it (gdb /usr/local/Cellar/emacs-plus@28/28.0.50/Emacs.app/Contents/MacOS/Emacs
), I getI suspect that the
--with-debug
option is ignoredThe text was updated successfully, but these errors were encountered: