On 23 May 2018 at 22:27, John Knight <john.kni...@belkin.com> wrote: > Hi Dave, > > Thanks for the additional info. I have added the -fexceptions and > -funwind-tables to the gcc command line and rebuilt. The resulting binary > does not have the .ARM.exidx or .ARM.extab either. I have since confirmed > that we are NOT using glibc, but are instead using libuClibc-1.0.14.so. I > did try to use libunwind with the binary after adding the -fexceptions and > -funwind-tables, and it still does not work. > > I guess the real question is, does libunwind work with binaries built with > uclibc?
Well, that is a question. But if you don't have those ARM.ex??? tables, it's not going to work (unless you're using stack frame unwinding, but no-one does that). Check if your individual .o files contain them, maybe the linker isn't pulling them in if you've got your own custom linker script. > > Thanks for your help. > > John > > -----Original Message----- > From: Dave Watson <davejwat...@fb.com> > Sent: Wednesday, May 23, 2018 10:50 AM > To: John Knight <john.kni...@belkin.com> > Cc: Luke Diamand <l...@diamand.org>; libunwind-devel@nongnu.org > Subject: Re: [Libunwind-devel] Minimum Linux Version requirements for > libunwind? > > On 05/23/18 05:40 PM, John Knight wrote: >> Hi Luke, >> >> Objdump did not show .ARM.exidx or .ARM.extab. There is only one section >> specific to arm: .ARM.attributes. >> >> I don’t know what this all means, but I am hoping it makes sense to >> you. 😊 > > It just sounds to me like you are missing the unwind tables, did you try one > or all of -fexceptions or -funwind-tables/-fasynchronous-unwind-tables ? > > I think these are default on on x86, but not arm. > > __________________________________________________________________ > Confidential This e-mail and any files transmitted with it are the property > of Belkin International, Inc. and/or its affiliates, are confidential, and > are intended solely for the use of the individual or entity to whom this > e-mail is addressed. If you are not one of the named recipients or otherwise > have reason to believe that you have received this e-mail in error, please > notify the sender and delete this message immediately from your computer. Any > other use, retention, dissemination, forwarding, printing or copying of this > e-mail is strictly prohibited. Pour la version française: > http://www.belkin.com/email-notice/French.html Für die deutsche Übersetzung: > http://www.belkin.com/email-notice/German.html > __________________________________________________________________ _______________________________________________ Libunwind-devel mailing list Libunwind-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/libunwind-devel