This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, Ada] Fix powerpc-darwin bootstrap with gcc-trunk.
- From: Arnaud Charlet <charlet at adacore dot com>
- To: Iain Sandoe <iain at codesourcery dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>, Tristan Gingold <gingold at adacore dot com>, Dominique Dhumieres <dominiq at lps dot ens dot fr>
- Date: Sun, 29 Mar 2015 20:43:53 +0200
- Subject: Re: [PATCH, Ada] Fix powerpc-darwin bootstrap with gcc-trunk.
- Authentication-results: sourceware.org; auth=none
- References: <E2F06B67-6C0F-42A7-A19E-20C91F864C3D at codesourcery dot com>
> Currently Ada bootstrap is broken for bootstrap compiler == gcc-trunk, and
> platform == powerpc-darwin9 (although it is possible to bootstrap with
> gcc-4.9).
>
> The reason is that generations of sinfo.h appears now to _require_ support
> for atomics (I assume that's intended).
No, that's definitely not intended, and I doubt this is the case since there
are other platforms without atomic support.
> In fact, w.r.t atomics there's no need to treat powerpc-darwin any
> differently from other ppc platform.
>
> The patch below enables them which restores bootstrap and fixes 15 acts and 8
> gnat regressions (which essentially, leaves GCC trunk on parity with
> gcc-4.9 for Ada on the powerpc-darwin9 platform).
>
> This is a bootstrap fail, albeit for an unmentioned target - however, it is
> entirely local to the platform, so
> OK for trunk?
OK on principle, but that doesn't explain the underlying issue you got,
since atomics should definitely not be needed for bootstrap.
Can you give more details on the failure you got?
Arno