On 12/10/16 10:26, p...@cmp.felk.cvut.cz wrote:
SMP build is broken with i386 set because libatomic and GCC
generate infinite loop for __atomic_fetch_add_4 used
in rtems_interrupt_lock_acquire

     push   %ebp
     mov    %esp,%ebp
     movl   $0x5,0x10(%ebp)
     pop    %ebp
     jmp    __atomic_fetch_add_4

Do you have a test case for this compiler/RTEMS bug? The use of libatomic is inefficient, but it should work.

Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

devel mailing list

Reply via email to