> -----Original Message----- > From: gcc-ow...@gcc.gnu.org [mailto:gcc-ow...@gcc.gnu.org] On Behalf Of > Eric Botcazou > Sent: Monday, February 27, 2017 10:30 PM > To: Jan Sommer > Cc: gcc@gcc.gnu.org; de...@rtems.org > Subject: Re: __sync_-builtins cause undefined references on some sparc targets > > > Is there an easy way to remove the libbacktrace dependency? > > Might something like that work?: > > https://patchwork.ozlabs.org/patch/553017/ > > Yes, even better, simply arrange for the __sync and __atomic support tests of > libbacktrace to fail on your target, possibly by using the same trick as HPUX.
Ok. I set libbacktrace_cv_sys_sync=no for my target and the undefined referenced disappeared. However I am not sure I understand what that means now. Is libbacktrace excluded from the build, or is it build but broken? Cheers, Jan > > -- > Eric Botcazou