Master Doesn't Build with --enable-multiprocessing
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon May 23 05:57:32 UTC 2016
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.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list