From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sven Neumann Date: Wed, 26 Jun 2013 17:26:30 +0200 Subject: [Buildroot] [PATCH] libunwind: new pacakge In-Reply-To: <20130625235022.75b13738@skate> References: <20130625235022.75b13738@skate> Message-ID: <1372260390.2822.5.camel@sven> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi, as we are also using libunwind with buildroot, perhaps I can add some of our experiences with it... Plain libunwind-1.1 won't compile on uClibc x86 as it uses setcontext(). This function is not available in uClibc (at least not in the released versions). I have worked around this by commenting out some code in libunwind (see attached patch), but this is probably not a good solution. I've also had a build failure at some point in the tests because there is code that includes execinfo.h unconditionally. I've attached the patches that we are using with libunwind. Perhaps they can be useful for you. Regards, Sven -------------- next part -------------- A non-text attachment was scrubbed... Name: libunwind-001-disable-code-that-doesn-t-compile-with-uCLibc.patch Type: text/x-patch Size: 921 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: libunwind-002-tests-don-t-include-execinfo.h-unconditionally.patch Type: text/x-patch Size: 1192 bytes Desc: not available URL: