Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

here’s the much more frustrating one: https://sourceware.org/bugzilla/show_bug.cgi?id=30386

in fairness I might be the only person who’s ever needed this 🤔

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

I’ll build gdb from source so I can begin the process of fixing these bugs myself, I thought. It’ll be easy, I thought.

1 replies →
1 replies

Saagar Jha

(replying to Kanbaru 🌟 (one hikari of too many))
@hikari Good luck building it with a recent SDK, there’s a file called VERSION that messes with a C++ include in the standard library for <version> and breaks things
1 replies →
1 replies

Kanbaru 🌟 (one hikari of too many)

(replying to Saagar Jha)

@saagar the C preprocessor and its consequences have been a disaster for the human race

Saagar Jha

(replying to Saagar Jha)
@hikari btw your second bug looks familiar I’m pretty sure I ran into it during a CTF once

Kanbaru 🌟 (one hikari of too many)

(replying to Saagar Jha)

@saagar haha. a friend told me the other bug was familiar to them. I guess few people bother to report things :)

Saagar Jha

(replying to Kanbaru 🌟 (one hikari of too many))
@hikari Normally I do try to report things and sometimes send in patches but either I forgot to do it that time or I probably found another bug report for it

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

who’s surprised that the makefile doesn’t work if you have spaces in the path (sigh)

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))
checking for memcpy... yes

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

I got gdb to build… eventually. most of the problems came from Apple shipping outdated stuff with macOS. though I also had to hack the source code to work around a C++ overload resolution issue. 😮‍💨