RE: __sync_-builtins cause undefined references on some sparc targets

2017-03-03 Thread Jan.Sommer
> -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

__sync_-builtins cause undefined references on some sparc targets

2017-02-27 Thread Jan.Sommer
Hello, I compiled the gcc 6.3.0 for the leon2 processor for RTEMS (i.e. sparc-rtems4.12-*). When linking a fortran program for the leon2 processor I get undefined references for `__sync_bool_compare_and_swap_4' (see below). According to the discussion on the rtems mailinglist the __sync_*-operat