I had the same problem with libelf1 0.163-4 (was fine with libelf1 0.159-4.2). I rebuilt Mesa against libelfg0-dev instead of libelf-dev, and the problem is gone for me. If you can confirm this, please file a bug against libelf1.