<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000">Hi Thomas,<br>
<br>
Thanks for pointing this out... <br>
<br>
I wanted to do some bench marking in big endian to see performance 
difference in a heavy networking environment.<br>
However when I saw the endian errors I "thought" I reverted back, and 
retried. But for some reason make savedefconfig, did not reflect the 
change, and I did not pay attention to the output :(<br>
<br>
Doing a make distclean, and reconfigure, it worked fine without any 
build errors.<br>
<br>
<br>
//Eelco<span></span><br>
<blockquote style="border: 0px none;" 
cite="mid:20151220134500.549ecf55@free-electrons.com" type="cite">
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="width:100%;border-top:1px solid #EDEEF0;padding-top:5px">   <div 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
        <a moz-do-not-send="true" 
href="mailto:thomas.petazzoni@free-electrons.com" style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Thomas Petazzoni</a></div>   <div 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
 right;">     <font color="#9FA2A5"><span style="padding-left:6px">December
 20, 2015 at 13:45</span></font></div>    </div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody"><div>Dear Eelco Chaudron,<br><br></div><div><!----><br>Seems
 like you are hitting bug<br><a class="moz-txt-link-freetext" href="https://sourceware.org/bugzilla/show_bug.cgi?id=16698">https://sourceware.org/bugzilla/show_bug.cgi?id=16698</a>.
 It seems to be<br>fixed in the 2.24.90 snapshot, though it is not clear
 which specific<br>commit fixed it, so it's hard to backport it.<br><br>Can
 you try with with binutils 2.25 ?<br><br>Also, you have selected ARM 
big endian as the architecture, which is<br>almost certainly not what 
you want. If you're new to ARM and have no<br>reason to use big endian, 
then use ARM little endian, which is what<br>99.9999% of the people use.<br><br>Best
 regards,<br><br>Thomas<br></div></div>
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="width:100%;border-top:1px solid #EDEEF0;padding-top:5px">   <div 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
        <a moz-do-not-send="true" href="mailto:echaudron@xiot.nl" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Eelco Chaudron</a></div>   <div 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
 right;">     <font color="#9FA2A5"><span style="padding-left:6px">December
 20, 2015 at 13:32</span></font></div>    </div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
Hi All,<br>
<br>
I decided to give this a shot, but I already get stuck at doing the 
u-boot part...<br>
Looks like some toolchain issue, so before I dig into it more let me see
 if some one here has ran into something similar.<br>
<br>
This is my config:<br>
<br>
BR2_armeb=y<br>
BR2_cortex_a7=y<br>
BR2_ARM_EABI=y<br>
BR2_ARM_FPU_NEON_VFPV4=y<br>
BR2_TARGET_UBOOT=y<br>
BR2_TARGET_UBOOT_BOARDNAME="orangepi_pc"<br>
BR2_TARGET_UBOOT_CUSTOM_GIT=y<br>
BR2_TARGET_UBOOT_CUSTOM_REPO_URL=<a moz-do-not-send="true" 
href="http://git.denx.de/u-boot.git" class="moz-txt-link-rfc2396E">"http://git.denx.de/u-boot.git"</a><br>
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="4832e17787acb29734d895751bc7a594908aecc6"<br>
BR2_TARGET_UBOOT_SPL=y<br>
<br>
It all goes wrong when linking u-boot. Here are some snippets from the 
output:<br>
  LD      u-boot<br>
/home/echaudron/buildroot_opi/output/host/usr/bin/armeb-buildroot-linux-uclibcgnueabi-ld.bfd:

 Warning: size of symbol `invalidate_dcache_range' changed from 168 in 
arch/arm/cpu/armv7/built-in.o to 4 in arch/arm/lib/built-in.o<br>
/home/echaudron/buildroot_opi/output/host/usr/bin/armeb-buildroot-linux-uclibcgnueabi-ld.bfd:

 Warning: size of symbol `enable_caches' changed from 4 in 
arch/arm/cpu/armv7/built-in.o to 12 in arch/arm/lib/built-in.o<br>
/home/echaudron/buildroot_opi/output/host/usr/bin/armeb-buildroot-linux-uclibcgnueabi-ld.bfd:

 Warning: size of symbol `arm_init_before_mmu' changed from 40 in 
arch/arm/cpu/armv7/built-in.o to 4 in arch/arm/lib/built-in.o<br>
...<br>
...<br>
/home/echaudron/buildroot_opi/output/host/usr/bin/armeb-buildroot-linux-uclibcgnueabi-ld.bfd:

 
/home/echaudron/buildroot_opi/output/host/usr/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/4.9.3/libgcc.a(_dvmd_lnx.o):

 compiled for a big endian system and target is little endian<br>
/home/echaudron/buildroot_opi/output/host/usr/bin/armeb-buildroot-linux-uclibcgnueabi-ld.bfd:

 failed to merge target specific data of file 
/home/echaudron/buildroot_opi/output/host/usr/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/4.9.3/libgcc.a(_dvmd_lnx.o)<br>
/home/echaudron/buildroot_opi/output/host/usr/bin/armeb-buildroot-linux-uclibcgnueabi-ld.bfd:

 BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387<br>
...<br>
...<br>
/home/echaudron/buildroot_opi/output/host/usr/bin/armeb-buildroot-linux-uclibcgnueabi-ld.bfd:

 BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387<br>
/home/echaudron/buildroot_opi/output/host/usr/bin/armeb-buildroot-linux-uclibcgnueabi-ld.bfd:

 BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387<br>
Segmentation fault (core dumped)<br>
Makefile:1193: recipe for target 'u-boot' failed<br>
make[2]: *** [u-boot] Error 139<br>
<br>
When I build the same u-boot version using the ubuntu provided 
"arm-linux-gnueabihf-" toolchain it works fine.<br>
I'm using the following to build it;<br>
<br>
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- orangepi_pc_defconfig<br>
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-<br>
<br>
Any ideas?<br>
<br>
//Eelco<br>
<br>
<span>

</span><br>

<br>
  </div>
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="width:100%;border-top:1px solid #EDEEF0;padding-top:5px">   <div 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
        <a moz-do-not-send="true" href="mailto:arnout@mind.be" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Arnout Vandecappelle</a></div>   <div 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
 right;">     <font color="#9FA2A5"><span style="padding-left:6px">December
 18, 2015 at 23:23</span></font></div>    </div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody"><div><!----><br> Not that I 
know of. But it should be quite similar to the cubieboard I think.<br><br>
 If you make a defconfig for it, consider using genimage rather than a 
custom<br>script like mkcubiecard.<br><br> Regards,<br> Arnout<br><br><br></div></div>
</blockquote>
<br>
</body></html>