Comment 19 for bug 1812084

Revision history for this message
Heinz Junkes (junkes) wrote : Re: [Bug 1812084] Re: Build failure on RTEMS 4.10.2

Thanks for all your information.

I did exactly the same thing this afternoon. It just kept getting stuck
somewhere. Now I've taken the commands
from the history and now it works (in Epics 7 ayt least)?

in epics 7 :

qemu-system-i386 -m 64 -no-reboot -serial stdio -display none -net
nic,model=ne2k_pci -net user,restrict=yes -kernel libComTestHarness

     EPICS Test Harness Results
     ==========================

All tests successful.
Programs=37, Tests=3046, 234 wallclock secs

ok 2 - counter() called once
ok 3 - unregistered counter() not called
ok 4 - Registered mainExit()
# threadA starting
ok 5 - Registered atExit(0x34d780)
ok 6 - Registered atThreadExit(0x34d780)
# threadA waiting for atExit
# threadB starting
ok 7 - Registered atExit(0x34d7d0)
ok 8 - Registered atThreadExit(0x34d7d0)
# threadB waiting for atExit
# Calling epicsExit
ok 9 - threadB reached atExit
ok 10 - threadB terminating
ok 11 - threadB destroying pinfo
ok 12 - threadA reached atExit
ok 13 - threadA terminating
ok 14 - threadA destroying pinfo
ok 15 - Reached mainExit

     Results
     =======
        Tests: 15
       Passed: 15 = 100.00%

Epics 3.15 there is no rtems-pc368-qemu, I made it with
make -j2 RTEMS_QEMU_FIXUPS=YES

calling
qemu-system-i386 -m 64 -no-reboot -serial stdio -display none -net
nic,model=ne2k_pci -net user,restrict=yes -kernel libComTestHarness

is stuck, now output, no progress,

without "-display none" see Screenshot.

Danke, Heinz

On 2020-05-13 19:27, mdavidsaver wrote:
>> Unfortunately I lost the thread how to use the qemu-system-i386
> emulator
>
> If you're building for the RTEMS-pc386-qemu target, it should be as
> simple as 'make runtests'.
>
> The specific incantation is found in makeTestfile.pl, and the
> individual
> .t files after a build.
>
> https://github.com/epics-base/epics-
> base/blob/7.0/src/tools/makeTestfile.pl#L41
>
> At the moment this is
>
> qemu-system-i386 -m 64 -no-reboot \
> -serial stdio -display none \
> -net nic,model=ne2k_pci -net user,restrict=yes \
> -kernel $exe
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1812084
>
> Title:
> Build failure on RTEMS 4.10.2
>
> Status in EPICS Base:
> Confirmed
> Status in EPICS Base 3.15 series:
> Confirmed
> Status in EPICS Base 7.0 series:
> Confirmed
>
> Bug description:
> Michael Westfall reported:
>
> When compiling base R3.14.12.7 for RTEMS 4.10.2, I get the following
> error:
>
> /gem_swdev1/targetOS/RTEMS/rtems-4.10/bin/powerpc-rtems4.10-gcc
> --pipe
> -B/gem_swdev1/targetOS/RTEMS/rtems-4.10/powerpc-rtems4.10/beatnik/lib/
> -specs bsp_specs -qrtems -fasm -c -mcpu=7400 -D__ppc_generic
> -DUNIX -O2 -g -g -Wall -DMY_DO_BOOTP=NULL
> -DHAVE_MOTLOAD -DRTEMS_NETWORK_CONFIG_MBUF_SPACE=2048
> -DRTEMS_NETWORK_CONFIG_CLUSTER_SPACE=5120 -MMD -I. -I../O.Common
> -I. -I../../../src/libCom/osi/os/RTEMS
> -I../../../src/libCom/osi/os/posix
> -I../../../src/libCom/osi/os/default -I..
> -I../../../src/libCom/bucketLib -I../../../src/libCom/ring
> -I../../../src/libCom/calc -I../../../src/libCom/cvtFast
> -I../../../src/libCom/cppStd -I../../../src/libCom/cxxTemplates
> -I../../../src/libCom/dbmf -I../../../src/libCom/ellLib
> -I../../../src/libCom/env -I../../../src/libCom/error
> -I../../../src/libCom/fdmgr -I../../../src/libCom/freeList
> -I../../../src/libCom/gpHash -I../../../src/libCom/iocsh
> -I../../../src/libCom/logClient -I../../../src/libCom/macLib
> -I../../../src/libCom/misc -I../../../src/libCom/osi
> -I../../../src/libCom/taskwd -I../../../src/libCom/timer
> -I../../../src/libCom/tsDefs
> -I/gem_swdev1/epics/R3.14.12.7/base/include/os/RTEMS
> -I/gem_swdev1/epics/R3.14.12.7/base/include
> ../../../src/libCom/osi/os/RTEMS/osdThread.c
> ../../../src/libCom/osi/os/RTEMS/osdThread.c: In function
> 'showInternalTaskInfo':
> ../../../src/libCom/osi/os/RTEMS/osdThread.c:617: error:
> 'Thread_Control' has no member named 'real_priority'
> ../../../src/libCom/osi/os/RTEMS/osdThread.c:624: error:
> 'Thread_Control' has no member named 'current_priority'
> ../../../src/libCom/osi/os/RTEMS/osdThread.c:624: error:
> 'Thread_Control' has no member named 'real_priority'
> ../../../src/libCom/osi/os/RTEMS/osdThread.c:625: error:
> 'Thread_Control' has no member named 'current_priority'
> ../../../src/libCom/osi/os/RTEMS/osdThread.c:627: error:
> 'Thread_Control' has no member named 'real_priority'
> ../../../src/libCom/osi/os/RTEMS/osdThread.c:627: error:
> 'Thread_Control' has no member named 'current_priority'
> make[3]: *** [osdThread.o] Error 1
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/epics-base/+bug/1812084/+subscriptions