<div dir="ltr">Well.. looking at the log, I think the answer is that rtems-syms is not<div>processing the "-EL" option on the MIPS. Thus the objects are always</div><div>big endian on the MIPS but three BSPs use the -EL option.</div><div><br></div><div><div>mips-rtems4.12-gcc -B../../../../../hurricane/lib/ -specs bsp_specs -qrtems -mips3 -G0 -EL -O2 -g -fomit-frame-pointer -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -Wl,--gc-sections -mips3 -G0 -EL -o dl01.pre.exe init.o dl-load.o dl-tar.o </div><div>mips-rtems4.12-objcopy -O srec dl01.pre.exe dl01.pre.srec1</div><div>../../../../../../tools/build/packhex < dl01.pre.srec1 > dl01.pre.ralf</div><div>rm -f dl01.pre.srec1</div><div>mips-rtems4.12-nm -g -n dl01.pre.exe > dl01.pre.num</div><div>mips-rtems4.12-size dl01.pre.exe</div><div> text<span class="gmail-Apple-tab-span" style="white-space:pre"> </span> data<span class="gmail-Apple-tab-span" style="white-space:pre"> </span> bss<span class="gmail-Apple-tab-span" style="white-space:pre"> </span> dec<span class="gmail-Apple-tab-span" style="white-space:pre"> </span> hex<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>filename</div><div> 167912<span class="gmail-Apple-tab-span" style="white-space:pre"> </span> 35392<span class="gmail-Apple-tab-span" style="white-space:pre"> </span> 9968<span class="gmail-Apple-tab-span" style="white-space:pre"> </span> 213272<span class="gmail-Apple-tab-span" style="white-space:pre"> </span> 34118<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>dl01.pre.exe</div><div>rm -f dl01.pre.ralf</div><div>mv dl01.pre.exe dl01.pre</div><div>rtems-syms -e -c "-mips3 -G0 -EL -O2 -g -fomit-frame-pointer -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs" -o dl-sym.o dl01.pre</div><div>mips-rtems4.12-gcc -B../../../../../hurricane/lib/ -specs bsp_specs -qrtems -mips3 -G0 -EL -O2 -g -fomit-frame-pointer -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -Wl,--gc-sections -mips3 -G0 -EL \</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span> -o dl01.exe init.o dl-load.o dl-tar.o dl-sym.o </div><div>/data/home/joel/rtems-4.11-work/tools/4.12/bin/../lib/gcc/mips-rtems4.12/6.1.1/../../../../mips-rtems4.12/bin/ld: dl-sym.o: compiled for a big endian system and target is little endian</div><div>/data/home/joel/rtems-4.11-work/tools/4.12/bin/../lib/gcc/mips-rtems4.12/6.1.1/../../../../mips-rtems4.12/bin/ld: dl-sym.o: endianness incompatible with that of the selected emulation</div><div>/data/home/joel/rtems-4.11-work/tools/4.12/bin/../lib/gcc/mips-rtems4.12/6.1.1/../../../../mips-rtems4.12/bin/ld: failed to merge target specific data of file dl-sym.o</div><div>collect2: error: ld returned 1 exit status</div><div>gmake[7]: *** [dl01.exe] Error 1</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 4, 2016 at 9:15 AM, Joel Sherrill <span dir="ltr"><<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sending a build log privately.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 3, 2016 at 5:02 PM, Chris Johns <span dir="ltr"><<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 04/10/2016 02:57, Joel Sherrill wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Looking at failures from a build sweep.<br>
<br>
I think this one is known but am passing along. The rtbx4925, rtbx4938,<br>
and hurricane fail with this:<br>
<br>
-o dl04.exe init.o dl-load.o dl-cpp.o dl-tar.o dl-sym.o<br>
/data/home/joel/rtems-4.11-wor<wbr>k/tools/4.12/bin/../lib/gcc/mi<wbr>ps-rtems4.12/6.1.1/../../../..<wbr>/mips-rtems4.12/bin/ld:<br>
dl-sym.o: compiled for a big endian system and target is little endian<br>
/data/home/joel/rtems-4.11-wor<wbr>k/tools/4.12/bin/../lib/gcc/mi<wbr>ps-rtems4.12/6.1.1/../../../..<wbr>/mips-rtems4.12/bin/ld:<br>
dl-sym.o: endianness incompatible with that of the selected emulation<br>
/data/home/joel/rtems-4.11-wor<wbr>k/tools/4.12/bin/../lib/gcc/mi<wbr>ps-rtems4.12/6.1.1/../../../..<wbr>/mips-rtems4.12/bin/ld:<br>
failed to merge target specific data of file dl-sym.o<br>
<br>
I am adding dl03-dl05 to the file<br>
testsuites/testdata/dltests-br<wbr>oken-on-this-bsp.tcfg<br>
but wanted to report this in case there was discussion.<br>
<br>
</blockquote>
<br></span>
Could you please look at the build output and see what flags are different between the building of dl-sym.o and another object file?<br>
<br>
I wonder if a flag in the MIPS BSP is not being seen by the symbol builder tool.<br>
<br>
Chris<br>
______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman<wbr>/listinfo/devel</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>