Hi, I am attempting to run the `loopback.exe` sample application provided with RTEMS on the PowerPC qoriq_e6500_64 BSP, but unfortunately it is crashing.
The crash seems to be coming from here: `cpukit/libnetworking/rtems/rtems_glue.c` line 230. It appears to be due to the fact that the `routedomain` object is being placed in the `.data.rel.ro` section which is read-only, so writing to it causes the crash. ``` $ powerpc-rtems5-objdump -x loopback.exe | grep routedomain 000000000404dd70 g O .data.rel.ro 0000000000000050 routedomain ``` Has anyone seen this issue before, or know how to fix it? Maybe I'm missing a compiler argument or something? I've included the console output below. Thanks! Steven ``` *** BEGIN OF TEST LOOPBACK *** *** TEST VERSION: 5.1.0-rc1.e2026cd4e66206a19eb445642fcc96418b007607 *** TEST STATE: EXPECTED_PASS *** TEST BUILD: RTEMS_DEBUG RTEMS_NETWORKING RTEMS_POSIX_API RTEMS_SMP *** TEST TOOLS: 7.5.0 20191114 (RTEMS 5, RSB 5.1.0-rc1, Newlib 7947581) "Network" initializing! *** FATAL *** fatal source: 9 (RTEMS_FATAL_SOURCE_EXCEPTION) exception vector 2 (0x2) next PC or address of fault = 0x00045a78 saved MSR = 0x8200a200 context = task, ISR nest level = 0 thread dispatch disable level = 0 R0 = 0x00045998 R1 = 0x0502d010 R2 = 0x04055d00 R3 = 0x050cbb70 R4 = 0x00000000 R5 = 0x00000003 R6 = 0x00000000 R7 = 0x00000001 R8 = 0x05025d00 R9 = 0x0404dd70 R10 = 0x00000000 R11 = 0xffffffffffffffe9 R12 = 0x0001e91c R13 = 0x00000000 R14 = 0x00000000 R15 = 0x00000000 R16 = 0x00000000 R17 = 0x00000000 R18 = 0x00000000 R19 = 0x00000000 R20 = 0x00000000 R21 = 0x00000000 R22 = 0x00000000 R23 = 0x00000000 R24 = 0x00000000 R25 = 0x00000000 R26 = 0x00000000 R27 = 0x00000000 R28 = 0x00000000 R29 = 0x00000000 R30 = 0x05005d00 R31 = 0x0502d6a0 CR = 0x20000402 CTR = 0x00000000 XER = 0x00000000 LR = 0x00045998 DEAR = 0x0404dda8 ESR = 0x00800000 MCSR = 0x00000000 VSCR = 0x00000000 VRSAVE = 0x00000000 V00 = 0x00000000000000000000000000000000 V01 = 0x00000000000000000000000000000000 V02 = 0x00000000000000000000000000000000 V03 = 0x00000000000000000000000000000000 V04 = 0x00000000000000000000000000000000 V05 = 0x00000000000000000000000000000000 V06 = 0x00000000000000000000000000000000 V07 = 0x00000000000000000000000000000000 V08 = 0x00000000000000000000000000000000 V09 = 0x00000000000000000000000000000000 V10 = 0x00000000000000000000000000000000 V11 = 0x00000000000000000000000000000000 V12 = 0x00000000000000000000000000000000 V13 = 0x00000000000000000000000000000000 V14 = 0x00000000000000000000000000000000 V15 = 0x00000000000000000000000000000000 V16 = 0x00000000000000000000000000000000 V17 = 0x00000000000000000000000000000000 V18 = 0x00000000000000000000000000000000 V19 = 0x00000000000000000000000000000000 V20 = 0x00000000000000000000000000000000 V21 = 0x00000000000000000000000000000000 V22 = 0x00000000000000000000000000000000 V23 = 0x00000000000000000000000000000000 V24 = 0x00000000000000000000000000000000 V25 = 0x00000000000000000000000000000000 V26 = 0x00000000000000000000000000000000 V27 = 0x00000000000000000000000000000000 V28 = 0x00000000000000000000000000000000 V29 = 0x00000000000000000000000000000000 V30 = 0x00000000000000000000000000000000 V31 = 0x00000000000000000000000000000000 FPSCR = 0x00000000 F00 = 0x0000000000000000 F01 = 0x0000000000000000 F02 = 0x0000000000000000 F03 = 0x0000000000000000 F04 = 0x0000000000000000 F05 = 0x0000000000000000 F06 = 0x0000000000000000 F07 = 0x0000000000000000 F08 = 0x0000000000000000 F09 = 0x0000000000000000 F10 = 0x0000000000000000 F11 = 0x0000000000000000 F12 = 0x0000000000000000 F13 = 0x0000000000000000 F14 = 0x0000000000000000 F15 = 0x0000000000000000 F16 = 0x0000000000000000 F17 = 0x0000000000000000 F18 = 0x0000000000000000 F19 = 0x0000000000000000 F20 = 0x0000000000000000 F21 = 0x0000000000000000 F22 = 0x0000000000000000 F23 = 0x0000000000000000 F24 = 0x0000000000000000 F25 = 0x0000000000000000 F26 = 0x0000000000000000 F27 = 0x0000000000000000 F28 = 0x0000000000000000 F29 = 0x0000000000000000 F30 = 0x0000000000000000 F31 = 0x0000000000000000 executing thread ID = 0x0a010001, name = UI1 Stack Trace: IP: 0x00045a78, LR: 0x00045998 --^ 0x0502d6b0--^ 0x0502d6f0--^ 0x0502ccd0--^ 0x00000000--^ 0x0502d7a0 --^ 0x00000000--^ 0x00000000 RTEMS version: 5.1.0-rc1.e2026cd4e66206a19eb445642fcc96418b007607 RTEMS tools: 7.5.0 20191114 (RTEMS 5, RSB 5.1.0-rc1, Newlib 7947581) executing thread ID: 0x08a010001 executing thread name: UI1 ``` _______________________________________________ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users