Enabling smptests for i386/pc386 (for #2138)
amaan.cheval at gmail.com
Thu Mar 8 18:22:31 UTC 2018
In reference to #2138; I'd like to give fixing this issue a shot to get my
wet with RTEMS.
I tried enabling the tests in ./testsuites/smptests/ to find a way to make
test fail at first, so I'd have a frame of reference, but I couldn't quite
the test to be compiled for i386 at all.
(I'm not quite sure yet how --enable-tests determines which of the
get built - I think bspopts.h.in is generated based on the BSP-specific
Based on the little note about --enable-smp in the docs, I added the
along with --enable-tests during the configure stage.
../kernel/configure --prefix=$HOME/bin/rtems/5-i386 --target=i386-rtems5
--enable-rtemsbsp=pc386 --enable-posix --enable-tests --enable-smp
This results in a failure at the make step (at least as of commit cf2024
a quick test against 828049, after running bootstrap -H as well)).
Before the preinstall stage was removed, BSP_HAS_SMP in
./c/src/lib/libbsp/i386/pc386/include/bspopts.h.in was undef'd as well,
seems to be relevant.
I haven't dug enough into what may be causing the error; I'm sending this
erring on the side of asking too many questions, since I figured it'd be
effective to just get help and work faster from the collective genius of the
Am I just doing something inherently misguided in even trying to enable
tests for i386?
More information about the devel