Hello Richard,
Sorry for skipping over this post, I have been preoccupied:
> I ran into some problems because I was trying to make 64-bit builds and the nekoware software is all 32-bits. Is it worthwhile making 64-bit builds for the MIPS r10k or is better to make everything for MISP3/32-bit? In the PC/x86 world I jumped over to 64-bits as soon as AMD released the Athlon 64 / Opteron and never looked back.
Most offer n32 binaries for widest compatibility. the O2 and oldier SGI machines like the Indigo2, Indy etc run 32-bit kernels and n64 ABI stuff doesn't work.
> When I was building Git, something in the build system kept pulling in the 32-bit /usr/nekoware/lib32 and /usr/nekoware/include folders even though I hadn't specified them on the command line. I assumed it was because I was using the nekoware "bash" shell, so I switched to use the xenoware bash instead.
It can also be LDFLAGS or other things.
> I did build and install autoconf 2.72, automake 1.12, and m4 1.4.19 and they seemed to mostly build and install just fine. But when I tried to use it to create the configure files in various projects, I always got it to run and complete, but the resulting configure and/or make would fail in some stupid way.
I got a netbsd box I run autogen and stuff on and move the project over. Much less painful.
> There is something jacked up with the terminal GUI app in IRIX, I think it's called WinTerm? When copy/pasting stuff from another window by selecting it with the mouse, hovering over the terminal window, and pressing the middle mouse button, it trips over itself when handling control codes. When trying to paste stuff into a command-line editor like "joe" or "vi", it will ignore linefeeds, dump out partial control codes like "[m26", write over itself, put the cursor in random places, etc. Similarly, when using "dbclient" to ssh into a remote linux machine and doing the same thing there (copy/pasting via middle click), it has the same problems. Does anybody know how to fix this? Also, is there a key combination to paste from the clipboard into the WinTerminal window?
IIRC you can use right click menu to copy stuff. I'm mostly headless nowadays.
> Something is broken with OpenSSL. It seems like the build (though long) went fairly smoothly. I built both OpenSSL 1.1.1q and 3.3.2, and they had the same problem. I think I built them like this:
I built libressl. Use it
> So, GDB kinda works. That's awesome. But I ran into problems with "strace", which I think is in nekoware. It starts out and works great, but after dumping a few pages of trace log, it just stops. Anybody know why this happens and how to make it continue?
If you're building with mipspro, use dbx(1). If it's not installed, get the prodev workshop stuff from
ftp.irix.host. GDB on IRIX can work but it's funky.
> I ran into a weirdness with the pthread library too. It seems that under some circumstances, you can build a project (this happened with openssl I think) which uses pthreads, and it will build and link fine, and run fine, but when any of the pthread functions are called, they fail. What's up with that? It's like a stub library is auto-magically getting linked in which just returns -1 for everything. The solution to this is to add "-lpthread" to the linker command line.
Yep, add -lpthread because IRIX threads are weird af.
At the moment i'm rebuilding the foundation of nekoware, so keep in mind nekoware stuff is old and crusty. I'll consult with you sooner or later on this in more detail
I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast.
https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently.
https://codeberg.org/SolusRaion -- Code repos I control
Technical problems should be sent my way.