[RTEMS Project] #2279: mips-rtems dl01 failure on MIPS Endian Issue

RTEMS trac trac at rtems.org
Tue Mar 3 15:29:38 UTC 2015


#2279: mips-rtems dl01 failure on MIPS Endian Issue
---------------------------+------------------
 Reporter:  joel.sherrill  |      Owner:
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:  4.11
Component:  libdl          |    Version:  4.11
 Severity:  normal         |   Keywords:
---------------------------+------------------
 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

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


More information about the bugs mailing list