Closed ice-phoenix closed 9 years ago
This looks like you might have some stale object files in the build directory. Can you please retry with a completely fresh build directory? Also, what's your system configuration, OS and g++ version, etc.
[ice-phoenix@niobium ~]$ uname -a
Linux niobium.local 3.19.2-1-ARCH #1 SMP PREEMPT Wed Mar 18 16:21:02 CET 2015 x86_64 GNU/Linux
[ice-phoenix@niobium ~]$ g++ --version
g++ (GCC) 4.9.2 20150304 (prerelease)
This looks like a linker bug to me. The function region::reset() is an inline function in region.h:42 which is where it should be. Potentially also a misconfiguration problem when enabling -d because in debug mode this function is inline, while in release mode it's defined in region.cpp.
After trying with a clean build directory, everything compiled successfully. It does look like some of the libs were left from the previous compilation and were not recompiled with -d
. Cheers!
When trying to compile z3 (unstable branch) with
mk_make.py -d
, it fails with: