Re: DDD 3.3.12 (i386-apple-darwin20.1.0) gets Xt error

William Oquendo <[email protected]> Thu, 7 Oct 2021 20:30:55 -0500
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <CA+8Z1Wi4c959uyPu7zgdBsevArFtYNc4HP49GT6bcJdhvGHeRA@mail.gmail.com>
--000000000000b884c405cdcd5658
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi, I was never able to make ddd run on my mac. And even running gdb is
difficult, with the code signing and so on. Apple is really pushing lldb.
When I need to use ddd and its plotting capabilities, I use a linux virtual
machine. Sorry for not giving a solution. Just wanted to share my
experience with you.

On Thu, Oct 7, 2021 at 3:32 PM Daryl Lee <[email protected]> wrote:

> Greetings!
>
> I'm brushing off my assembly language skills by building a Forth
> interpreter from scratch on my Mac (V. 11.6).  The commands to build the
> executable are:
>
> nasm -g -f macho64 -o forth.o forth.asm
> ld -macosx_version_min 11.0.0
> -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -lSystem
> -o forth forth.o
>
> After a few days with lldb (which runs very nicely on that executable) I
> decided to give ddd a try.  I ran "brew install ddd" and that ran
> cleanly. Then when I tried to debug my NASM assembly language program
> with "ddd forth" (and also just "ddd"), I got this:
>
> =3D=3D=3D=3D=3D=3D
> $ddd forth
> Warning: locale not supported by Xlib, locale set to C
> Warning: X locale modifiers not supported, using default
> Creating "/Users/principal/.ddd/"...
> Creating "/Users/principal/.ddd/"...done.
> Creating "/Users/principal/.ddd/sessions/"...
> Creating "/Users/principal/.ddd/sessions/"...done.
> Creating "/Users/principal/.ddd/themes/"...
> Creating "/Users/principal/.ddd/themes/"...done.
> Error: Unresolved inheritance operation
>
> Xt error (Unresolved inheritance operation).
>
> Oops!  You have found a bug in DDD.
>
> If you can reproduce this bug, please send a bug report
> to <[email protected]>, giving a subject like
>
>      DDD 3.3.12 (i386-apple-darwin20.1.0) gets Xt error
>
> To enable us to fix the bug, you should include the following information=
:
> * What you were doing to get this message.  Report all the facts.
> * The contents of the `~/.ddd/log' file as generated by this session.
> Please read also the section "Reporting Bugs" in the DDD manua
> We thank you for your support.
>
> ddd: Cannot save options
> =3D=3D=3D=3D=3D=3D=3D=3D
>
> The log file contents follow:
>
> GNU DDD 3.3.12 (i386-apple-darwin20.1.0)
> Copyright (C) 1995-1999 Technische Universit=C3=A4t Braunschweig, Germany=
.
> Copyright (C) 1999-2001 Universit=C3=A4t Passau, Germany.
> Copyright (C) 2001 Universit=C3=A4t des Saarlandes, Germany.
> Copyright (C) 2001-2009 Free Software Foundation, Inc.
>
> Compiled with GCC Apple LLVM 12.0.0 (clang-1200.0.32.27)
> Requires X11R6, Xt11R7, Motif 2.3.8 (Motif Version 2.3.8)
> Includes XPM 3.4.11, Athena Panner (7000002L), Manual, App defaults, DDD
> core
> Built 2020-11-17 by (unknown).
> $  ddd forth
> !  Xt error: Unresolved inheritance operation
> !  Xt error
> !  Cannot save options
>
> "ddd --manual" actually worked but I couldn't figure out how to navigate
> it (I haven't used GNU's info format in a couple of decades--sorry).
>
> --
>
> Daryl Lee
> www.daryllee.com
> Only those who risk going too far can possibly find out how far one can g=
o.
>    -- T.S. Eliot.
>
>

--=20

Best regards / Cordialmente,

William-Fernando Oquendo
--------------------------
Este correo puede carecer de tildes o e=C3=B1es debido al teclado.

--000000000000b884c405cdcd5658
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he=
lvetica,sans-serif;color:#000000">Hi, I was never able to make ddd run on m=
y mac. And even running gdb is difficult, with the code signing and so on. =
Apple is really pushing lldb. When I need to use ddd and its plotting capab=
ilities, I use a linux virtual machine. Sorry for not giving a solution. Ju=
st wanted to share my experience with you.<br></div></div><br><div class=3D=
"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Oct 7, 2021 at =
3:32 PM Daryl Lee &lt;<a href=3D"mailto:[email protected]">daryl@daryllee.=
com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"marg=
in:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e=
x">Greetings!<br>
<br>
I&#39;m brushing off my assembly language skills by building a Forth <br>
interpreter from scratch on my Mac (V. 11.6).=C2=A0 The commands to build t=
he <br>
executable are:<br>
<br>
nasm -g -f macho64 -o forth.o forth.asm<br>
ld -macosx_version_min 11.0.0 <br>
-L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -lSystem <br>
-o forth forth.o<br>
<br>
After a few days with lldb (which runs very nicely on that executable) I <b=
r>
decided to give ddd a try.=C2=A0 I ran &quot;brew install ddd&quot; and tha=
t ran <br>
cleanly. Then when I tried to debug my NASM assembly language program <br>
with &quot;ddd forth&quot; (and also just &quot;ddd&quot;), I got this:<br>
<br>
=3D=3D=3D=3D=3D=3D<br>
$ddd forth<br>
Warning: locale not supported by Xlib, locale set to C<br>
Warning: X locale modifiers not supported, using default<br>
Creating &quot;/Users/principal/.ddd/&quot;...<br>
Creating &quot;/Users/principal/.ddd/&quot;...done.<br>
Creating &quot;/Users/principal/.ddd/sessions/&quot;...<br>
Creating &quot;/Users/principal/.ddd/sessions/&quot;...done.<br>
Creating &quot;/Users/principal/.ddd/themes/&quot;...<br>
Creating &quot;/Users/principal/.ddd/themes/&quot;...done.<br>
Error: Unresolved inheritance operation<br>
<br>
Xt error (Unresolved inheritance operation).<br>
<br>
Oops!=C2=A0 You have found a bug in DDD.<br>
<br>
If you can reproduce this bug, please send a bug report<br>
to &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&gt;=
, giving a subject like<br>
<br>
=C2=A0=C2=A0=C2=A0=C2=A0 DDD 3.3.12 (i386-apple-darwin20.1.0) gets Xt error=
<br>
<br>
To enable us to fix the bug, you should include the following information:<=
br>
* What you were doing to get this message.=C2=A0 Report all the facts.<br>
* The contents of the `~/.ddd/log&#39; file as generated by this session.<b=
r>
Please read also the section &quot;Reporting Bugs&quot; in the DDD manua<br=
>
We thank you for your support.<br>
<br>
ddd: Cannot save options<br>
=3D=3D=3D=3D=3D=3D=3D=3D<br>
<br>
The log file contents follow:<br>
<br>
GNU DDD 3.3.12 (i386-apple-darwin20.1.0)<br>
Copyright (C) 1995-1999 Technische Universit=C3=A4t Braunschweig, Germany.<=
br>
Copyright (C) 1999-2001 Universit=C3=A4t Passau, Germany.<br>
Copyright (C) 2001 Universit=C3=A4t des Saarlandes, Germany.<br>
Copyright (C) 2001-2009 Free Software Foundation, Inc.<br>
<br>
Compiled with GCC Apple LLVM 12.0.0 (clang-1200.0.32.27)<br>
Requires X11R6, Xt11R7, Motif 2.3.8 (Motif Version 2.3.8)<br>
Includes XPM 3.4.11, Athena Panner (7000002L), Manual, App defaults, DDD <b=
r>
core<br>
Built 2020-11-17 by (unknown).<br>
$=C2=A0 ddd forth<br>
!=C2=A0 Xt error: Unresolved inheritance operation<br>
!=C2=A0 Xt error<br>
!=C2=A0 Cannot save options<br>
<br>
&quot;ddd --manual&quot; actually worked but I couldn&#39;t figure out how =
to navigate <br>
it (I haven&#39;t used GNU&#39;s info format in a couple of decades--sorry)=
.<br>
<br>
-- <br>
<br>
Daryl Lee<br>
<a href=3D"http://www.daryllee.com" rel=3D"noreferrer" target=3D"_blank">ww=
w.daryllee.com</a><br>
Only those who risk going too far can possibly find out how far one can go.=
<br>
=C2=A0 =C2=A0-- T.S. Eliot.<br>
<br>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g=
mail_signature"><br style=3D"font-family:arial,helvetica,sans-serif"><span =
style=3D"font-family:arial,helvetica,sans-serif">Best regards / Cordialment=
e,</span><br style=3D"font-family:arial,helvetica,sans-serif"><span style=
=3D"font-family:arial,helvetica,sans-serif"><br></span><div><span style=3D"=
font-family:arial,helvetica,sans-serif">William-Fernando Oquendo</span><div=
><div style=3D"font-family:arial,helvetica,sans-serif">--------------------=
------</div><div style=3D"font-family:arial,helvetica,sans-serif">Este corr=
eo puede carecer de tildes o e=C3=B1es debido al teclado.=C2=A0</div><div s=
tyle=3D"font-family:arial,helvetica,sans-serif"><br></div></div></div></div=
>

--000000000000b884c405cdcd5658--