This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Undefined C++ Atomic Symbol on sh-rtems
- From: Oleg Endo <oleg dot endo at t-online dot de>
- To: Joel Sherrill <joel dot sherrill at oarcorp dot com>, GCC Mailing List <gcc at gcc dot gnu dot org>, Chris Johns <chrisj at rtems dot org>, Martin Galvan <martin dot galvan at tallertechnologies dot com>
- Date: Tue, 19 Apr 2016 07:47:37 +0900
- Subject: Re: Undefined C++ Atomic Symbol on sh-rtems
- Authentication-results: sourceware.org; auth=none
- References: <5712D1BF dot 7080304 at oarcorp dot com> <1460854221 dot 2115 dot 253 dot camel at t-online dot de> <E89FE8CC-C32E-4439-A40C-1B7474FE0D4D at oarcorp dot com> <1460977877 dot 2115 dot 383 dot camel at t-online dot de> <57153259 dot 5090608 at oarcorp dot com>
On Mon, 2016-04-18 at 14:15 -0500, Joel Sherrill wrote:
> Since I stated that, we decided to use the 6.1 branch for a while.
> So I decided to look at config/sh/linux.h and see what it was doing.
> Copying if on the 6.1 branch seemed liked an option. But it only
> appears to address SH3 and SH1 for atomics. What about an implicit
> atomic for SH2 or SH4?
TARGET_SH3 means SH3, SH4 and SH4A.
TARGET_SH1 means SH1, SH2, SH2A.
> Please do. I may just leave this as a breakage and let you fix it.
> AFAIK no one is really complaining that it is is broken on our
> development master.
>
Ah good, no hurry then :)
Anyway, this issue's been on the pile for a while now. I'll do
something about it.
Cheers,
Oleg