svenstaro/dwarf_fortress_unfuck

Release build change breaks dfhack

numinit opened this issue · 5 comments

Hey there,

I get the following when running the latest dfhack:

/[...]/libs/Dwarf_Fortress: symbol lookup error: /[...]/hack/libdfhack.so: undefined symbol: _ZN8rendererD1Ev

I ran nm -D on the built libgraphics.so and don't see renderer::~renderer() anywhere.

I've tried a couple things (including passing -fno-inline and -fkeep-inlined-functions in CXXFLAGS), and it seems to still get removed :-(

Should be fixed, can you check?

Should be fixed

please provide commit hash

From https://github.com/svenstaro/dwarf_fortress_unfuck/commits/master, literally the only commit after the change from debug to release is b16cd09

I got confirmation that this works from the related Arch bug. Closing.