__sync_-builtins cause undefined references on some sparc targets
Jan.Sommer@dlr.de
Jan.Sommer@dlr.de
Fri Mar 3 12:07:00 GMT 2017
> -----Original Message-----
> From: gcc-owner@gcc.gnu.org [mailto:gcc-owner@gcc.gnu.org] On Behalf Of
> Eric Botcazou
> Sent: Monday, February 27, 2017 10:30 PM
> To: Jan Sommer
> Cc: gcc@gcc.gnu.org; devel@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
More information about the Gcc
mailing list