[RTEMS Project] #3736: PowerPC Beatnik BSP C++ exceptions broken

RTEMS trac trac at rtems.org
Thu Apr 11 00:08:08 UTC 2019


#3736: PowerPC Beatnik BSP C++ exceptions broken
--------------------------+--------------------
  Reporter:  Chris Johns  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  high         |  Milestone:  5.1
 Component:  admin        |    Version:  5
  Severity:  blocker      |   Keywords:
Blocked By:               |   Blocking:
--------------------------+--------------------
 Running `cdtest.exe` fails. I am wondering if there is an issue in the
 `linkcmd` scripts this BSP uses. The psim works.

 The trace is:
 {{{
 config addr is 0xf1000cf8
 config data is 0xf1000cfc
 Welcome to RTEMS rtems-5.0.0 (PowerPC/Generic (classic FPU)/beatnik)
 CPU: MPC7457
 Board Type: MVME5500-0161 (S/N E1712C9)
 Bus Clock Freq:   133333333 Hz
 CPU Clock Freq:  1000000000 Hz
 Memory:           536870912 bytes
 -----------------------------------------
 Now BSP_mem_size = 0x1fe00000
 Configuration.work_space_size = a170
 Page table setup finished; will activate it NOW...
 Going to start PCI buses scanning and initialization
 Number of PCI buses found is : 3
 MSR 0x2003032
 Exit from bspstart
 Universe II PCI-VME bridge detected at 0x82000000, IRQ 76
 Universe Master Ports:
 Port  VME-Addr   Size       PCI-Adrs   Mode:
 0:    0x20000000 0x0e000000 0x90000000 A32, D64 [MBLT], Dat, Sup
 1:    0x00000000 0x00ff0000 0x9f000000 A24, D64 [MBLT], Dat, Sup
 2:    0x00000000 0x00010000 0x9fff0000 A16, D64, Dat, Sup
 7:    0x00000000 0x01000000 0x9e000000 CSR, D64, Dat, Sup
 Universe Slave Ports:
 Port  VME-Addr   Size       PCI-Adrs   Mode:
 0:    0x90000000 0x1fe00000 0x00000000 A32, Pgm, Dat, Sup, Usr, PWEN, PRE
 N
 vmeUniverse IRQ manager: looking for registers on VME...
 Trying to find CRG on VME...
 vmeUniverse IRQ manager - registers not found on VME; falling back to PCI


 *** BEGIN OF TEST CONSTRUCTOR/DESTRUCTOR ***
 *** TEST VERSION: 5.0.0.8a8b95aa1d6932ba9d2acd7a785100f7d0919205-modified
 *** TEST STATE: EXPECTED-PASS
 *** TEST BUILD: RTEMS_NETWORKING RTEMS_POSIX_API
 *** TEST TOOLS: 7.4.0 20181206 (RTEMS 5, RSB 9a3e12e5820918057633798c3fe2
 a1f952fb4e56, Newlib 1d35a003f)
 GLOBAL: Hey I'm in base class constructor number 1 for 0x5c404.
 GLOBAL: Hey I'm in base class constructor number 2 for 0x5c410.
 GLOBAL: Hey I'm in derived class constructor number 3 for 0x5c410.
 LOCAL: Hey I'm in base class constructor number 4 for 0x6cbdc.
 LOCAL: Hey I'm in base class constructor number 5 for 0x6cbd0.
 LOCAL: Hey I'm in base class constructor number 6 for 0x6cbc4.
 LOCAL: Hey I'm in base class constructor number 7 for 0x6cbb8.
 LOCAL: Hey I'm in derived class constructor number 8 for 0x6cbb8.
 IO Stream not tested
 LOCAL: Hey I'm in derived class destructor number 8 for 0x6cbb8.
 Derived class - Instantiation order 8
 LOCAL: Hey I'm in base class destructor number 7 for 0x6cbb8.
 Derived class - Instantiation order 8
 LOCAL: Hey I'm in base class destructor number 6 for 0x6cbc4.
 Derived class - Instantiation order 6
 LOCAL: Hey I'm in base class destructor number 5 for 0x6cbd0.
 Derived class - Instantiation order 5
 LOCAL: Hey I'm in base class destructor number 4 for 0x6cbdc.
 Derived class - Instantiation order 5
 *** TESTING C++ EXCEPTIONS ***

 fatal source: RTEMS_FATAL_SOURCE_EXIT
 bsp_fatal_extension(): RTEMS terminated
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/3736>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list