This attached patch, relative to libuninwd-1.0.1,
will fix building with --enable-msabi-support on linux x86_64.

Ariel Burton

diff -ur tmp/libunwind-1.0.1/src/x86_64/Gglobal.c libunwind-1.0.1/src/x86_64/Gglobal.c
--- tmp/libunwind-1.0.1/src/x86_64/Gglobal.c	2011-09-10 23:06:41.000000000 -0400
+++ libunwind-1.0.1/src/x86_64/Gglobal.c	2012-09-11 14:24:11.087581861 -0400
@@ -25,6 +25,7 @@
 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  */
 
+#include "config.h"
 #include "unwind_i.h"
 #include "dwarf_i.h"
 
diff -ur tmp/libunwind-1.0.1/src/x86_64/Lglobal.c libunwind-1.0.1/src/x86_64/Lglobal.c
--- tmp/libunwind-1.0.1/src/x86_64/Lglobal.c	2011-09-10 23:06:41.000000000 -0400
+++ libunwind-1.0.1/src/x86_64/Lglobal.c	2012-09-11 14:20:26.280692667 -0400
@@ -1,4 +1,5 @@
 #define UNW_LOCAL_ONLY
+#include <config.h>
 #include <libunwind.h>
 #if defined(UNW_LOCAL_ONLY) && !defined(UNW_REMOTE_ONLY)
 #include "Gglobal.c"
_______________________________________________
Libunwind-devel mailing list
Libunwind-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to