lldb-mp-5.0 and 10.7.5

Gagan Sidhu broly at mac.com
Sat Sep 28 13:54:15 UTC 2024


hi all,

so with a little effort (not too much, mind you), i did manage to get lldb-mp-5.0 built/installed in my vm.

the changes were very small, like:
	- removing the .sdk member in one of the files, 
	- changing the @YES @NO definitions to @true @false since the 10.7.5 SDK uses dog-ass old (BOOL)1 and (BOOL)0, which raised errors, and;
	- removing errant checks in a few of the cmake files at final link that were looking for debugserver before it was built

but now i guess there’s some issue with swig3/readline and python27, because when i run lldb-mp-5.0, i get:

> vms-Mac:MacOS vm$ lldb-mp-5.0 firefox
> (lldb) target create "firefox"
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/opt/local/libexec/llvm-5.0/lib/python2.7/site-packages/lldb/__init__.py", line 1412, in <module>
>     class SBAddress(object):
>   File "/opt/local/libexec/llvm-5.0/lib/python2.7/site-packages/lldb/__init__.py", line 1584, in SBAddress
>     __swig_getmethods__["module"] = GetModule
> NameError: name '__swig_getmethods__' is not defined
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> NameError: name 'run_one_line' is not defined
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> NameError: name 'run_one_line' is not defined
> Traceback (most recent call last):

*snip, the above error is repeated quite a few times*

> NameError: name 'run_one_line' is not defined
> Current executable set to 'firefox' (x86_64).
> (lldb) ^D
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> NameError: name 'lldb' is not defined

and i was hoping one of the pros on the list could help me tie up the loose ends so i am able to enjoy the debugging experience a little more


Thanks,
Gagan



More information about the macports-dev mailing list