[RTEMS Project] #3424: examples-v2: no MIPS BSPs pass configuration step
RTEMS trac
trac at rtems.org
Sun Oct 14 20:52:58 UTC 2018
#3424: examples-v2: no MIPS BSPs pass configuration step
---------------------------+----------------------------
Reporter: Joel Sherrill | Owner: Joel Sherrill
Type: defect | Status: assigned
Priority: normal | Milestone: 5.1
Component: examples | Version: 5
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: |
---------------------------+----------------------------
Comment (by Joel Sherrill):
With the Makefile.inc system, all tests build successfully and this is the
command sequence for hello_world_c
{{{
mips-rtems5-gcc --pipe -B/home/joel/rtems-work/tools/5/bsp-install/mips-
rtems5/rbtx4925/lib/ -specs bsp_specs -qrtems -Wall -O2 -g -fomit-
frame-pointer -ffunction-sections -fdata-sections -mips3 -G0 -EL
-c -o o-optimize/test.o test.c
mips-rtems5-gcc --pipe -B/home/joel/rtems-work/tools/5/bsp-install/mips-
rtems5/rbtx4925/lib/ -specs bsp_specs -qrtems -Wall -O2 -g -fomit-
frame-pointer -ffunction-sections -fdata-sections -mips3 -G0 -EL
-Wl,--gc-sections -mips3 -G0 -EL -o o-optimize/hello.exe
o-optimize/test.o
}}}
With the following waf command, the configure fails:
{{{
./waf configure --rtems=/home/joel/rtems-work/tools/5/bsp-install \
--rtems-tools=/home/joel/rtems-work/tools/5 --rtems-bsps=mips/rbtx4925
}}}
The test probe gcc is this:
{{{
['/home/joel/rtems-work/tools/5/bin/mips-rtems5-g++', '-qrtems',
'-B/home/joel/rtems-work/tools/5/bsp-install/mips-rtems5/lib/',
'-B/home/joel/rtems-work/tools/5/bsp-install/mips-rtems5/rbtx4925/lib/', '
--specs', 'bsp_specs', '-mips3', '-mips3', '-fomit-frame-pointer',
'-fomit-frame-pointer', '-ffunction-sections', '-ffunction-sections',
'-fdata-sections', '-fdata-sections', 'test.cpp.1.o', '-o/home/joel/rtems-
work/examples-v2/build/.conf_check_2580b0f878d416be57b9cf3634e02230/testbuild/testprog',
'-Wl,-Bstatic', '-Wl,-Bdynamic']
err: /home/joel/rtems-work/tools/5/lib/gcc/mips-rtems5/7.3.0
/../../../../mips-rtems5/bin/ld: /home/joel/rtems-work/tools/5/bsp-install
/mips-rtems5/rbtx4925/lib/start.o: compiled for a little endian system and
target is big endian
}}}
Notice the -G0 and -EL (or -EB) are missing.
--
Ticket URL: <http://devel.rtems.org/ticket/3424#comment:4>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list