#3402 closed defect (fixed)
dl06: mips hurricane Mixed Endian Error
Reported by: | Joel Sherrill | Owned by: | chrisj@… |
---|---|---|---|
Priority: | normal | Milestone: | 5.1 |
Component: | tool | Version: | 5 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #3401 |
Description
Also occurs on rbtx4925 and rbtx4938
rtems-ld -r /home/joel/rtems-work/rtems-testing/rtems/build-mips-hurricane-rtems/mips-rtems5/c/hurricane -O rap -b dl06.pre -e rtems_main -s \
-o dl06.rap dl06-o1.o dl06-o2.o -lm
error: elf:check_file: /data/home/joel/rtems-work/tools/5/bin/../lib/gcc/mips-rtems5/7.3.0/../../../../mips-rtems5/lib/libc.a:lib_a-_Exit.o@23298: Mixed data types not allowed (LSB/MSB).
Change History (6)
comment:1 Changed on 04/18/18 at 01:15:58 by Chris Johns
comment:2 Changed on 04/18/18 at 01:28:13 by Chris Johns
Looking at the rtemstoolkit/rld-cc.cpp
function get_library_path()
is asking gcc
for the path to a library and if this is being used it may be a simple matter of adding the CFLAGS
or CPU_FLAGS
to rtems-ld
.
I suspect -E
will need to be added to the flag filter list so as a machine flag.
comment:3 Changed on 04/18/18 at 01:29:19 by Chris Johns
Blocking: | 3401 added |
---|
comment:4 Changed on 10/14/18 at 21:57:35 by Joel Sherrill <joel@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
In 632bb17/rtems:
Ouch, I will need to think about this one because
rtems-ld
does not know about mutilib configurations and the BSP has-mips3 -EL
as options to the linker.