This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: missing symbols in libstdc++.so.6 built from the 4.9 branch




On 01/07/14 20:58, John David Anglin wrote:
On 1-Jul-14, at 5:32 AM, Jonathan Wakely wrote:

On 1 July 2014 09:40, Matthias Klose wrote:
- HPPA (build log [2]), is missing all the future_base symbols and
   exception_ptr13exception symbols, current_exception and
   rethrow_exception.

This implies ATOMIC_INT_LOCK_FREE <= 1 for that target. Our future and
exception_ptr implementations rely on usable atomics.

ARM and HPPA use kernel assisted libraries for atomic support.  Not
exactly
lock free, but possibly good enough...

Currently, c-cppbuiltin.c doesn't provide proper defines for this
support.  We
currently define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4, etc, in
pa-linux.h.  I'll experiment with defining ATOMIC_INT_LOCK_FREE there.

We then need to do the same on ARM especially for older architectures that don't have these sync patterns.

Ramana


Thanks,
Dave
--
John David Anglin	dave.anglin@bell.net






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]