Use g++ not clang, so that -rdynamic works
Also make sure to remove subdirs in bin and build