[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] test-static-link broken on ARM

From: Arun Sharma
Subject: Re: [Libunwind-devel] test-static-link broken on ARM
Date: Thu, 28 Oct 2010 21:44:47 -0700

On Thu, Oct 28, 2010 at 7:08 PM, Zach Welch <address@hidden> wrote:
> /home/zwelch/libunwind/src/.libs/libunwind.a(Lglobal.o):(.data+0x4):
> multiple definition of `_UIarm_unwind_method'
> ../src/.libs/libunwind-arm.a(Gglobal.o):(.data+0x4): first defined here
> collect2: ld returned 1 exit status

I think this is coming from:


#define unwi_unwind_method   UNWI_ARCH_OBJ(unwind_method)
extern int unwi_unwind_method;


/* Unwinding methods to use. See UNW_METHOD_ enums */
HIDDEN int unwi_unwind_method = UNW_ARM_METHOD_ALL;

I think the "extern int" declaration above is problematic (drops the
HIDDEN attribute).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]