On 23/05/16 00:35, Joel Sherrill wrote:
Hi

The master doesn't build for sparc/leon3 when multiprocessing is
enabled.

It builds if you use --enable-multiprocessing without --enable-smp.

Based upon the error, there is likely user guidance needed
in the manual. For other methods removed, guidance on updating
code has been added. I didn't look to check in this case.

sparc-rtems4.12-gcc -B../../../../../../leon3/lib/ -specs bsp_specs -qrtems -mcpu=leon3 -msoft-float -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -Wl,--gc-sections -mcpu=leon3 -msoft-float -o base_mp-node1.exe init.o apptask.o ../../../../../../leon3/lib/librtemsbsp.a(libbsp_a-lock.o): In function `Shm_Lock': /home/joel/rtems-4.11-work/b-leon3/sparc-rtems4.12/c/leon3/lib/libbsp/sparc/leon3/../../../../../../../../rtems/c/src/lib/libbsp/sparc/leon3/shmsupp/lock.c:63: undefined reference to `rtems_interrupt_disable' ../../../../../../leon3/lib/librtemsbsp.a(libbsp_a-lock.o): In function `Shm_Unlock': /home/joel/rtems-4.11-work/b-leon3/sparc-rtems4.12/c/leon3/lib/libbsp/sparc/leon3/../../../../../../../../rtems/c/src/lib/libbsp/sparc/leon3/shmsupp/lock.c:88: undefined reference to `rtems_interrupt_enable'

See also:

https://docs.rtems.org/doc-current/share/rtems/html/c_user/Symmetric-Multiprocessing-Services-Disable-Interrupts-and-Interrupt-Locks.html#Symmetric-Multiprocessing-Services-Disable-Interrupts-and-Interrupt-Locks

Multiprocessing support is broken on SMP:

https://devel.rtems.org/ticket/2703

--
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
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to