#2279 assigned defect

mips-rtems dl01 failure on MIPS Endian Issue

Reported by: Joel Sherrill Owned by: Chris Johns
Priority: normal Milestone: Indefinite
Component: lib/dl Version: 4.11
Severity: normal Keywords:
Cc: Blocked By:


Three MIPS BSPs still fail dynamic loading tests. This appears to be because the -EL flag isn't honored. Just my guess.

Impacts hurricane,rbtx25 and rbtx39.

rtems-syms -e -c "-mips3 -G0 -EL -O2 -g -fomit-frame-pointer -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs" -o dl-sym.o dl01.pre
mips-rtems4.11-gcc -B../../../../../hurricane/lib/ -specs bsp_specs -qrtems -mips3 -G0 -EL -O2 -g -fomit-frame-pointer -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -mips3 -G0 -EL \

-o dl01.exe init.o dl-load.o dl-tar.o dl-sym.o

/users/joel/rtems-4.11-work/tools/lib/gcc/mips-rtems4.11/4.9.2/../../../../mips-rtems4.11/bin/ld: dl-sym.o: compiled for a big endian system and target is little endian
/users/joel/rtems-4.11-work/tools/lib/gcc/mips-rtems4.11/4.9.2/../../../../mips-rtems4.11/bin/ld: dl-sym.o: endianness incompatible with that of the selected emulation
/users/joel/rtems-4.11-work/tools/lib/gcc/mips-rtems4.11/4.9.2/../../../../mips-rtems4.11/bin/ld: failed to merge target specific data of file dl-sym.o
collect2: error: ld returned 1 exit status

Change History (6)

comment:1 Changed on 03/04/15 at 22:56:34 by Joel Sherrill

Owner: set to Chris Johns
Status: newassigned

comment:2 Changed on 03/07/15 at 02:07:04 by Joel Sherrill


comment:3 Changed on 03/12/15 at 10:53:42 by Chris Johns

I cannot build a MIP set of tools. See #2300.

comment:4 Changed on 01/26/17 at 07:16:00 by Sebastian Huber


comment:5 Changed on 03/23/17 at 01:03:28 by Chris Johns


The 4.11.2 milestone is closing.

comment:6 Changed on 02/05/18 at 05:43:44 by Chris Johns

Milestone: 4.11.3Indefinite

Requires funding.

Note: See TracTickets for help on using tickets.