Support for TMS570 Cortex-R4F Big-Endian

Asked by Ed Carter

It doesn't appear the toolchain supports the big endian mode of the TI TMS570 series microcontrollers. What would be required to add this support? Is it possible to add the big endian configuration and rebuild from source?
Thank you,
  Ed

Question information

Language:
English Edit question
Status:
Solved
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Solved by:
Ed Carter
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
chengbin (can-finner) said :
#1

Hi Ed Carter,

Thanks for using the tool and report this issue.
For now, big endian support for armv7-r can be done by easily modifying the build-toolchain.sh, then rebuild the whole tool step by step as the pdf document described.

As for the modification to build-toolchain.sh:
1, add "--with-endian=big" to gcc configuration options, for both gcc-first and gcc-final (also for mingw part if you need it);
2, add "-mbig-endian" to newlib's CFLAGS_FOR_TARGET environment.

You can download the source package from this project website, build-toolchain.sh can be found in top level directory after you extracting it using 7z and tar.

Hoping this will help, please let us know for any further questions.

Thanks.

Revision history for this message
chengbin (can-finner) said :
#2

Sorry, please ignore the previous answer for now, I just noted that "--with-endian=big" does not work as I expected.
I will investigate it and come up an answer tomorrow.
Sorry for disturbing.

Revision history for this message
Ed Carter (ed-f-carter) said :
#3

I was hoping it was that easy. Thank you for the help, I will give it a shot.

--- a/build-toolchain.sh
+++ b/build-toolchain.sh
@@ -125,6 +125,7 @@ $SRCDIR/$GCC/configure --build=$BUILD --host=$HOST_LINUX --target=$TARGET \
     --without-headers \
     --with-gnu-as \
     --with-gnu-ld \
+ --with-endian=big \
     --with-sysroot=$INSTALLDIR_LINUX/arm-none-eabi \
     --with-gmp=$BUILDDIR_LINUX/host-libs/usr \
     --with-mpfr=$BUILDDIR_LINUX/host-libs/usr \
@@ -151,7 +152,7 @@ popd
 echo Task [1-10] /$HOST_LINUX/newlib/
 saveenv
 prepend_path PATH $INSTALLDIR_LINUX/bin
-saveenvvar CFLAGS_FOR_TARGET '-g -O2 -fno-unroll-loops'
+saveenvvar CFLAGS_FOR_TARGET '-g -O2 -fno-unroll-loops -mbig-endian'
 rm -rf $BUILDDIR_LINUX/newlib && mkdir -p $BUILDDIR_LINUX/newlib
 pushd $BUILDDIR_LINUX/newlib

@@ -207,6 +208,7 @@ $SRCDIR/$GCC/configure --build=$BUILD --host=$HOST_LINUX --target=$TARGET \
     --with-gnu-ld \
     --with-newlib \
     --with-headers=yes \
+ --with-endian=big \
     --with-sysroot=$INSTALLDIR_LINUX/arm-none-eabi \
     --with-gmp=$BUILDDIR_LINUX/host-libs/usr \
     --with-mpfr=$BUILDDIR_LINUX/host-libs/usr \
@@ -429,6 +431,7 @@ $SRCDIR/$GCC/configure --build=$BUILD --host=$HOST_MINGW --target=$TARGET \
     --with-gnu-ld \
     --with-headers=yes \
     --with-newlib \
+ --with-endian=big \
     --with-sysroot=$INSTALLDIR_MINGW/arm-none-eabi \
     --with-libiconv-prefix=$BUILDDIR_MINGW/host-libs/usr \
     --with-gmp=$BUILDDIR_MINGW/host-libs/usr \

Revision history for this message
Ed Carter (ed-f-carter) said :
#4

Thanks chengbin, that solved my question.

Revision history for this message
chengbin (can-finner) said :
#5

Did you have the built tool worked for big endian, or just have it built with the patch?
It seems "--with-endian=big" does not work for me, since libgcc.a, etc. are still built with little endian.
I will investigate it.

Revision history for this message
chengbin (can-finner) said :
#6

The following patch works for me to build big endian program for armv7-r.
Please verify. I will look into the --with-endian=big issue tomorrow.

*** ./build-toolchain.orig.sh 2012-02-28 17:20:17.000000000 +0800
--- ./build-toolchain.sh 2012-02-28 17:38:47.000000000 +0800
***************
*** 104,109 ****
--- 104,111 ----
  popd

  echo Task [1-9] /$HOST_LINUX/gcc-first/
+ saveenv
+ saveenvvar CFLAGS_FOR_TARGET '-mbig-endian -g -O2'
  rm -rf $BUILDDIR_LINUX/gcc-first && mkdir -p $BUILDDIR_LINUX/gcc-first
  pushd $BUILDDIR_LINUX/gcc-first
  $SRCDIR/$GCC/configure --build=$BUILD --host=$HOST_LINUX --target=$TARGET \
***************
*** 134,146 ****
      --with-libelf=$BUILDDIR_LINUX/host-libs/usr \
      "--with-host-libstdcxx=-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm" \
      "--with-pkgversion=$PKGVERSION" \
! --with-extra-multilibs=armv6-m,armv7-m,armv7e-m,armv7-r

  make -j$JOBS all-gcc

  make htmldir=$INSTALLDIR_LINUX/share/doc/html pdfdir=$INSTALLDIR_LINUX/share/doc/pdf infodir=$INSTALLDIR_LINUX/share/doc/info mandir=$INSTALLDIR_LINUX/share/doc/man install-gcc

  popd

  pushd $INSTALLDIR_LINUX
  rm -rf bin/arm-none-eabi-gccbug
--- 136,150 ----
      --with-libelf=$BUILDDIR_LINUX/host-libs/usr \
      "--with-host-libstdcxx=-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm" \
      "--with-pkgversion=$PKGVERSION" \
! --with-extra-multilibs=armv6-m,armv7-m,armv7e-m,armv7-r \
! --with-endian=big

  make -j$JOBS all-gcc

  make htmldir=$INSTALLDIR_LINUX/share/doc/html pdfdir=$INSTALLDIR_LINUX/share/doc/pdf infodir=$INSTALLDIR_LINUX/share/doc/info mandir=$INSTALLDIR_LINUX/share/doc/man install-gcc

  popd
+ restoreenv

  pushd $INSTALLDIR_LINUX
  rm -rf bin/arm-none-eabi-gccbug
***************
*** 151,157 ****
  echo Task [1-10] /$HOST_LINUX/newlib/
  saveenv
  prepend_path PATH $INSTALLDIR_LINUX/bin
! saveenvvar CFLAGS_FOR_TARGET '-g -O2 -fno-unroll-loops'
  rm -rf $BUILDDIR_LINUX/newlib && mkdir -p $BUILDDIR_LINUX/newlib
  pushd $BUILDDIR_LINUX/newlib

--- 155,161 ----
  echo Task [1-10] /$HOST_LINUX/newlib/
  saveenv
  prepend_path PATH $INSTALLDIR_LINUX/bin
! saveenvvar CFLAGS_FOR_TARGET '-mbig-endian -g -O2 -fno-unroll-loops'
  rm -rf $BUILDDIR_LINUX/newlib && mkdir -p $BUILDDIR_LINUX/newlib
  pushd $BUILDDIR_LINUX/newlib

***************
*** 182,187 ****
--- 186,193 ----
  restoreenv

  echo Task [1-11] /$HOST_LINUX/gcc-final/
+ saveenv
+ saveenvvar CFLAGS_FOR_TARGET '-mbig-endian -g -O2'
  rm -f $INSTALLDIR_LINUX/arm-none-eabi/usr
  ln -s . $INSTALLDIR_LINUX/arm-none-eabi/usr

***************
*** 216,222 ****
      --with-libelf=$BUILDDIR_LINUX/host-libs/usr \
      "--with-host-libstdcxx=-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm" \
      "--with-pkgversion=$PKGVERSION" \
! --with-extra-multilibs=armv6-m,armv7-m,armv7e-m,armv7-r

  if [ "x$DEBUG_BUILD_OPTIONS" != "xno" ] ; then
      make CFLAGS="$DEBUG_BUILD_OPTIONS" -j$JOBS
--- 222,229 ----
      --with-libelf=$BUILDDIR_LINUX/host-libs/usr \
      "--with-host-libstdcxx=-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm" \
      "--with-pkgversion=$PKGVERSION" \
! --with-extra-multilibs=armv6-m,armv7-m,armv7e-m,armv7-r \
! --with-endian=big

  if [ "x$DEBUG_BUILD_OPTIONS" != "xno" ] ; then
      make CFLAGS="$DEBUG_BUILD_OPTIONS" -j$JOBS
***************
*** 225,230 ****
--- 232,238 ----
  fi

  make htmldir=$INSTALLDIR_LINUX/share/doc/html pdfdir=$INSTALLDIR_LINUX/share/doc/pdf infodir=$INSTALLDIR_LINUX/share/doc/info mandir=$INSTALLDIR_LINUX/share/doc/man install install-html install-pdf
+ restoreenv

  pushd $INSTALLDIR_LINUX
  rm -rf bin/arm-none-eabi-gccbug

Revision history for this message
Ed Carter (ed-f-carter) said :
#7

Sorry, I replied before I saw your update. I am still working on getting the build environment setup. I will get back to it this evening.

Is there a way to do this with the multilib configuration for gcc to build both big and little endian versions of newlib?

Revision history for this message
chengbin (can-finner) said :
#8

Hi Ed Carter,
I am sorry for the misleading "--with-endian=big" option. This configuration option is not working for arm, so we can not make use of it.

Anyway, I think there are three potential methods, all need to rebuild from source:
1) specify CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET when building gcc and newlib. you can simply apply following patch to build-toolchain.sh:
--------------------------------------------patch begin
diff --git a/build-toolchain.sh b/build-toolchain.sh
index 73a7663..f731d1b 100755
--- a/build-toolchain.sh
+++ b/build-toolchain.sh
@@ -104,6 +104,9 @@ rm -rf ./lib
 popd

 echo Task [1-9] /$HOST_LINUX/gcc-first/
+saveenv
+saveenvvar CFLAGS_FOR_TARGET "-mbig-endian -g -O2"
+saveenvvar CXXFLAGS_FOR_TARGET "-mbig-endian -g -O2"
 rm -rf $BUILDDIR_LINUX/gcc-first && mkdir -p $BUILDDIR_LINUX/gcc-first
 pushd $BUILDDIR_LINUX/gcc-first
 $SRCDIR/$GCC/configure --build=$BUILD --host=$HOST_LINUX --target=$TARGET \
@@ -141,6 +144,7 @@ make -j$JOBS all-gcc
 make htmldir=$INSTALLDIR_LINUX/share/doc/html pdfdir=$INSTALLDIR_LINUX/share/doc/pdf infodir=$INSTALLDIR_LINUX/share/doc/info mandir=$INSTALLDIR_LINUX/share/doc/man install-gcc

 popd
+restoreenv

 pushd $INSTALLDIR_LINUX
 rm -rf bin/arm-none-eabi-gccbug
@@ -151,7 +155,7 @@ popd
 echo Task [1-10] /$HOST_LINUX/newlib/
 saveenv
 prepend_path PATH $INSTALLDIR_LINUX/bin
-saveenvvar CFLAGS_FOR_TARGET '-g -O2 -fno-unroll-loops'
+saveenvvar CFLAGS_FOR_TARGET '-mbig-endian -g -O2 -fno-unroll-loops'
 rm -rf $BUILDDIR_LINUX/newlib && mkdir -p $BUILDDIR_LINUX/newlib
 pushd $BUILDDIR_LINUX/newlib

@@ -182,6 +186,9 @@ popd
 restoreenv

 echo Task [1-11] /$HOST_LINUX/gcc-final/
+saveenv
+saveenvvar CFLAGS_FOR_TARGET '-mbig-endian -O2 -g'
+saveenvvar CXXFLAGS_FOR_TARGET '-mbig-endian -O2 -g'
 rm -f $INSTALLDIR_LINUX/arm-none-eabi/usr
 ln -s . $INSTALLDIR_LINUX/arm-none-eabi/usr

@@ -238,6 +245,7 @@ popd

 rm -f $INSTALLDIR_LINUX/arm-none-eabi/usr
 popd
+restoreenv

 echo Task [1-12] /$HOST_LINUX/gdb/
 rm -rf $BUILDDIR_LINUX/gdb && mkdir -p $BUILDDIR_LINUX/gdb
------------------------------------patch end

2) build armeb-none-eabi target toolchain, which is big endian arm target. Unfortunately, both build-toolchain.sh and newlib do not support armeb-none-eabi target right now.

3) modify the multilib definition to build big endian version of libgcc/libstdc++ and newlib. In this way, you need to understand the multilib infrastructure and modify the part of gcc makefile defining multilib, which I believe in file gcc/config/arm/t-armv7-r for cortex-R profile. Currently we don't have big-endian supported in multilib, please let us know if you really want it.

Hoping this will help.

Revision history for this message
Ed Carter (ed-f-carter) said :
#9

Hello,
  I was able to successfully build a big-endian toolchain using method 1. I haven't run any code on a real processor yet, but it is compiling without any issues.

  I would really like to know how to accomplish method 3, enabling both little endian and big endian support in a single toolchain. I think this could be a valuable feature for this gcc distribution. I haven't found any other that includes big-endian libraries, other than the commercial version of CodeSourcery.
  Any suggestions for how to make the change in the multilib configuration would be appreciated. I will start doing some research as well.

  Are you familiar with the --enable-biendian option for ARM targets? I was hopeful that option would accomplish #3, but it appears to be unsupported (toolchain compiled with it only included little endian libraries).
Thank you,
  Ed

Revision history for this message
chengbin (can-finner) said :
#10

It's a little difficult to support big endian in multilib, I am trying this. You can refer to gcc/gcc/config/arm/r-armv7-r etc. files, that's where multilib is configured in our toolchain. You may also refer to the "Target Makefile Fragments" of the document "GNU Compiler Collection Internals" for how to configure multilib.

We will support it in the future. Just for clarification, Is it ok for you to have big endian supported only for cortex-R profile? Or you need to have it for all profiles?

I am not familiar "--enable-biendian". but after some investigation, I believe it can not be used to support big endian multilib. The philosophy is:
Given the bi-endian version of multilib are already supported by writing multilib configuration codes, then you can use "--enable/disable-binendian" to control whether you want to build bi-endian version of multilib actually.

Revision history for this message
chengbin (can-finner) said :
#11

Hi Ed Carter,
I scratched a patch to build both big/little endian libraries for armv7-r from the release source package. Please:
1) replace gcc/gcc/config/arm/t-armv7-r with following codes:

--------------------------------
#Build below library for ARM armv7-r architecture.
# armv7-r/thumb -mthumb -march=armv7-r
# armv7-r/thumb/eb -mthumb -mbig-endian -march=armv7-r
# armv7-r/thumb/fpu -mthumb -march=armv7-r -mfpu=vfpv3-d16
# armv7-r/thumb/fpu/eb -mthumb -mbig-endian -march=armv7-r -mfpu=vfpv3-d16
# armv7-r/thumb/fpu.hard -mthumb -mfloat-abi=hard -march=armv7-r -mfpu=vfpv3-d16
# armv7-r/thumb/fpu.softfp -mthumb -mfloat-abi=softfp -march=armv7-r -mfpu=vfpv3-d16
# armv7-r/thumb/fpu.hard/eb -mthumb -mfloat-abi=hard -mbig-endian -march=armv7-r -mfpu=vfpv3-d16
# armv7-r/thumb/fpu.softfp/eb -mthumb -mfloat-abi=softfp -mbig-endian -march=armv7-r -mfpu=vfpv3-d16

MULTILIB_OPTIONS += mbig-endian march=armv7-r mfpu=vfpv3-d16

MULTILIB_DIRNAMES += mbig-endian armv7-r vfpv3-d16

MULTILIB_EXCEPTIONS += marm*
MULTILIB_EXCEPTIONS += mfloat-abi*
MULTILIB_EXCEPTIONS += mbig-endian*
MULTILIB_EXCEPTIONS += march*
MULTILIB_EXCEPTIONS += mfpu*
MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=softfp
MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=hard
MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=*/mbig-endian
MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=*/march=armv7-r
MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=softfp/mfpu*
MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=hard/mfpu*
MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=*/mbig-endian/mfpu*
MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=*/mbig-endian/march=armv7-r

MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=*/mbig-endian
MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=softfp/mfpu=*
MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=hard/mfpu=*
MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=*/mbig-endian/mfpu=*

MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=*/march=armv7-r

MULTILIB_EXCEPTIONS += mthumb
MULTILIB_EXCEPTIONS += mthumb/mbig-endian
MULTILIB_EXCEPTIONS += mthumb/mbig-endian/mfpu=*
MULTILIB_EXCEPTIONS += mthumb/mfpu=*

MULTILIB_OSDIRNAMES += mthumb/march.armv7-r=!armv7-r/thumb
MULTILIB_OSDIRNAMES += mthumb/mbig-endian/march.armv7-r=!armv7-r/thumb/eb
MULTILIB_OSDIRNAMES += mthumb/march.armv7-r/mfpu.vfpv3-d16=!armv7-r/thumb/fpu
MULTILIB_OSDIRNAMES += mthumb/mbig-endian/march.armv7-r/mfpu.vfpv3-d16=!armv7-r/thumb/fpu/eb
MULTILIB_OSDIRNAMES += mthumb/mfloat-abi.hard/march.armv7-r/mfpu.vfpv3-d16=!armv7-r/thumb/fpu.hard
MULTILIB_OSDIRNAMES += mthumb/mfloat-abi.softfp/march.armv7-r/mfpu.vfpv3-d16=!armv7-r/thumb/fpu.softfp
MULTILIB_OSDIRNAMES += mthumb/mfloat-abi.hard/mbig-endian/march.armv7-r/mfpu.vfpv3-d16=!armv7-r/thumb/fpu.hard/eb
MULTILIB_OSDIRNAMES += mthumb/mfloat-abi.softfp/mbig-endian/march.armv7-r/mfpu.vfpv3-d16=!armv7-r/thumb/fpu.softfp/eb
-------------------------------------------

2) make sure change gcc configuration options in build-toolchain as following:
Change the option "--with-extra-multilibs=armv6-m,armv7-m,armv7e-m,armv7-r" to "--with-extra-multilibs=armv7-r".
Because armv7-r is the only profile covered by 1).

I tested this method by building from the release source package, all libraries are generated as expected.

Hope this will help.
Thanks.

Revision history for this message
Ed Carter (ed-f-carter) said :
#12

Thank you for your support, I was able to build the toolchain using this modification.

I believe all the ARM architectures can be configured for little and big endian modes. The default is little endian, and it seems nearly all manufacturers use the little endian configuration. The only example of a big endian Cortex device I am aware of is the TMS570 series from TI (Cortex-R4F), but I'd be surprised if there weren't others.
Thanks again,
  Ed

Revision history for this message
chengbin (can-finner) said :
#13

Thanks for your feedback, we will support big endian in future releases.
Thanks.

Revision history for this message
42Bastian (bastian-schick) said :
#14

Hi
in order to get big-endian support work along with the other targets plus v5te, I modified the t-armv* files. Now I get these targets:
armv5te/arm/fpu;@mfloat-abi=hard@march=armv5te
armv5te/arm;@march=armv5te
armv5te/arm/softfp;@mfloat-abi=softfp@march=armv5te
armv5te;@mthumb@march=armv5te
armv6-m;@march=armv6s-m
armv6-m;@mthumb@march=armv6s-m
armv7e-m/fpu;@mthumb@mfloat-abi=hard@march=armv7e-m@mfpu=fpv4-sp-d16
armv7e-m;@mthumb@march=armv7e-m
armv7e-m/softfp;@mthumb@mfloat-abi=softfp@march=armv7e-m@mfpu=fpv4-sp-d16
armv7-m;@mthumb@march=armv7-m
armv7-r/be;@march=armv7-r@mbe
armv7-r/fpu/be;@mfloat-abi=hard@march=armv7-r@mfpu=vfpv3-d16@mbe
armv7-r/fpu;@mfloat-abi=hard@march=armv7-r@mfpu=vfpv3-d16
armv7-r;@march=armv7-r
armv7-r/softfp/be;@mfloat-abi=softfp@march=armv7-r@mfpu=vfpv3-d16@mbe
armv7-r/softfp;@mfloat-abi=softfp@march=armv7-r@mfpu=vfpv3-d16
armv7-r/thumb/be;@mthumb@march=armv7-r@mbe
armv7-r/thumb/fpu/be;@mthumb@mfloat-abi=hard@march=armv7-r@mfpu=vfpv3-d16@mbe
armv7-r/thumb/fpu;@mthumb@mfloat-abi=hard@march=armv7-r@mfpu=vfpv3-d16
armv7-r/thumb;@mthumb@march=armv7-r
armv7-r/thumb/softfp/be;@mthumb@mfloat-abi=softfp@march=armv7-r@mfpu=vfpv3-d16@mbe
armv7-r/thumb/softfp;@mthumb@mfloat-abi=softfp@march=armv7-r@mfpu=vfpv3-d16

If someone likes to have the modified files (including config.gcc to know about t-armv5te), drop me an email:
<email address hidden>

Cheers,
42Bastian

Revision history for this message
Sebastian (sebastian-davalle) said :
#15

Could somebody please, share with me a makefile example for the TMS570 cortex-r4f?
I get the code compiled, but I'm having some issues trying to link it.

Thanks in advance!

Revision history for this message
JiriJ (jirij-0) said :
#16

Hello Sebastian,

you can try following ones:

####################################################################################################
** Mekefile:
####################################################################################################

LD=gcc
MODE= -mcpu=cortex-r4 -mbig-endian -mthumb -mthumb-interwork -mfpu=vfpv3-d16 -mfloat-abi=hard
LDFLAGS= $(MODE) -nostartfiles -Wl,-Map,$(EXECS).map,-T,$(LDSCRIPT),-n

$(EXECS).elf : depend $(OBJ) $(LDSCRIPT)
 @echo Linking $@
 @$(LD) -o $($@ $(LDFLAGS) $(OBJ)

####################################################################################################
** linkdesc.ld (I guess made by TI HalCoGen):
####################################################################################################

ENTRY(_intvecs)

/*----------------------------------------------------------------------------*/
/* Memory Map */

MEMORY
{
    FLASH0 (RX) : org = 0x00000000, len = 0x00180000
    FLASH1 (RX) : org = 0x00180000, len = 0x00180000
    STACKS (RW) : org = 0x08000000, len = 0x00004000
    RAM (RW) : org = 0x08008000, len = 0x0003EB00

}

/*----------------------------------------------------------------------------*/
/* Section Configuration */

SECTIONS
{
    .text :
    {
        KEEP(*(.intvecs))
        *(.text*)
        *(.rodata*)
    } > FLASH0
    .bss : {} > RAM
    .data : {} > RAM
}

Good luck,
JiriJ

Revision history for this message
Sebastian (sebastian-davalle) said :
#17

I'm getting the following error when linking my code:

Installed Multilib:

arm-none-eabi-gcc -print-multi-lib
.;
armv7-r/thumb;@mthumb@march=armv7-r
armv7-r/thumb/fpu;@mthumb@march=armv7-r@mfpu=vfpv3-d16
armv7-r/thumb/eb;@mthumb@mbig-endian@march=armv7-r
armv7-r/thumb/fpu/eb;@mthumb@mbig-endian@march=armv7-r@mfpu=vfpv3-d16

Configured Multilib option before build GCC
################################ t-arm-elf ##########################################3
MULTILIB_OPTIONS = mthumb/marm
MULTILIB_DIRNAMES = thumb arm

MULTILIB_OPTIONS += mbig-endian march=armv7-r mfpu=vfpv3-d16
MULTILIB_DIRNAMES += mbig-endian armv7-r vfpv3-d16

MULTILIB_MATCHES += march?armv7=mcpu?cortex-r4
MULTILIB_MATCHES += march?armv7=mcpu?cortex-r4f

MULTILIB_EXCEPTIONS += marm*
MULTILIB_EXCEPTIONS += mfloat-abi*
MULTILIB_EXCEPTIONS += mbig-endian*
MULTILIB_EXCEPTIONS += march*
MULTILIB_EXCEPTIONS += mfpu*
MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=softfp
MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=hard
MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=*/mbig-endian
MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=*/march=armv7-r
MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=softfp/mfpu*
MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=hard/mfpu*
MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=*/mbig-endian/mfpu*
MULTILIB_EXCEPTIONS += mthumb/mfloat-abi=*/mbig-endian/march=armv7-r
MULTILIB_EXCEPTIONS += mthumb
MULTILIB_EXCEPTIONS += mthumb/mbig-endian
MULTILIB_EXCEPTIONS += mthumb/mbig-endian/mfpu=*
MULTILIB_EXCEPTIONS += mthumb/mfpu=*

MULTILIB_OSDIRNAMES += mthumb/march.armv7-r=!armv7-r/thumb
MULTILIB_OSDIRNAMES += mthumb/mbig-endian/march.armv7-r=!armv7-r/thumb/eb
MULTILIB_OSDIRNAMES += mthumb/march.armv7-r/mfpu.vfpv3-d16=!armv7-r/thumb/fpu
MULTILIB_OSDIRNAMES += mthumb/mbig-endian/march.armv7-r/mfpu.vfpv3-d16=!armv7-r/thumb/fpu/eb
MULTILIB_OSDIRNAMES += mthumb/mfloat-abi.hard/march.armv7-r/mfpu.vfpv3-d16=!armv7-r/thumb/fpu.hard
MULTILIB_OSDIRNAMES += mthumb/mfloat-abi.softfp/march.armv7-r/mfpu.vfpv3-d16=!armv7-r/thumb/fpu.softfp
MULTILIB_OSDIRNAMES += mthumb/mfloat-abi.hard/mbig-endian/march.armv7-r/mfpu.vfpv3-d16=!armv7-r/thumb/fpu.hard/eb
MULTILIB_OSDIRNAMES += mthumb/mfloat-abi.softfp/mbig-endian/march.armv7-r/mfpu.vfpv3-d16=!armv7-r/thumb/fpu.softfp/eb

MULTILIB_REQUIRED += mthumb/march=armv7
MULTILIB_REQUIRED += mthumb/march=armv7/mfloat-abi=softfp/mfpu=vfpv3-d16
MULTILIB_REQUIRED += mthumb/march=armv7/mfloat-abi=hard/mfpu=vfpv3-d16
MULTILIB_OSDIRNAMES += mthumb/march.armv7=!armv7-ar/thumb
MULTILIB_OSDIRNAMES += mthumb/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16=!armv7-ar/thumb/fpu
MULTILIB_OSDIRNAMES += mthumb/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16=!armv7-ar/thumb/softfp

MULTILIB_REUSE += mthumb/march.armv7=marm/march.armv7
MULTILIB_REUSE += mthumb/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16=marm/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16
MULTILIB_REUSE += mthumb/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16=marm/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16
#####################################################################################

Makefiel information:

Compiling and linking with -mcpu=cortex-r4 or r4f
MODE= -mcpu=cortex-r4 -mbig-endian -mthumb -mthumb-interwork -mfpu=vfpv3-d16 -mfloat-abi=hard

Through this error:
.../arm-none-eabi/lib/libstdc++.a(new_op.o): compiled for a little endian system and target is big endian

In the other hand, if I compile and Link with the following $(MODE)
MODE = -march=armv7-r -mthumb -mthumb-interwork -mfloat-abi=hard -mfpu=vfpv3-d16 -mbig-endian

The output error is:
error: baremetal-tms570.elf uses VFP register arguments, ..... arm-none-eabi/lib/armv7-r/thumb/fpu/eb/libstdc++.a(new_op.o) does not

What am I doing wrong?? Any idea?

BTW: this is how GCC was configured:

Configured with: ../gcc-4.7.3/configure --prefix=/home/seba/INVAP-GNC/TMS570-GNU-Toolchain/arm-gnu-toolchain/gcc-arm-none-eabi --target=arm-none-eabi --enable-interwork --enable-languages=c,c++ --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-lto --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-newlib --without-headers --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Tools for ARM Embedded Processors' --with-multilib-list=armv7-r : (reconfigured) ../gcc-4.7.3/configure --prefix=/home/seba/INVAP-GNC/TMS570-GNU-Toolchain/arm-gnu-toolchain/gcc-arm-none-eabi --target=arm-none-eabi --enable-interwork --enable-languages=c,c++ --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-lto --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-newlib --with-headers=yes --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Tools for ARM Embedded Processors' --with-multilib-list=armv7-r --enable-plugins

Revision history for this message
Sebastian (sebastian-davalle) said :
#18

In addition, for one specific source file I get the following information.

arm-none-eabi-gcc -Wall -O2 -g -march=armv7-r -mthumb -mthumb-interwork -mfloat-abi=hard -mfpu=vfpv3-d16 -mbig-endian -std=c++11 -c -o canasResource.cpp.o canasResource.cpp -print-multi-directory

armv7-r/thumb/fpu/eb

So, it seems to be right when compiling, but gcc can not find the right libraries for linking.

Revision history for this message
42Bastian (bastian-schick) said :
#19

Sebastian
try compiling with -mfloat.abi=softfp
abi=hard Jeans passing parameters in CPU registers

Revision history for this message
Sebastian (sebastian-davalle) said :
#20

The following error appears with -mfloat-abi=softfp

gcc-arm-none-eabi/lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/ld: error: /home/seba/INVAP-GNC/TMS570-GNU-Toolchain/arm-gnu-toolchain/gcc-arm-none-eabi/lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/lib/armv7-r/thumb/fpu/eb/libc.a(lib_a-memchr.o): Conflicting architecture profiles A/R

Isn't it TMS570 a cortext-r4f processor?, shouldn't I use -mfloat-abi=hard ?

Revision history for this message
42Bastian (bastian-schick) said :
#22

*hmpf*, I thought the latest pre-built binaries meanwhile support TMS570, but no :(
I tried _my_ version which has these multi-libs:
.;
thumb;@mthumb
fpu;@mfloat-abi=hard
armv7-r;@march=armv7-r
armv7-r/vfpv3;@mfloat-abi=hard@march=armv7-r@mfpu=vfpv3-d16
armv7-m;@mthumb@march=armv7-m
armv6-m;@mthumb@march=armv6s-m
armv7e-m;@mthumb@march=armv7e-m
armv7-r/thumb2;@mthumb@march=armv7-r
armv7e-m/fpv4;@mthumb@mfloat-abi=hard@march=armv7e-m@mfpu=fpv4-sp-d16
armv7-r/thumb2/vfpv3;@mthumb@mfloat-abi=hard@march=armv7-r@mfpu=vfpv3-d16
armv7-r/be;@mbig-endian@march=armv7-r
armv7-r/vfpv3/be;@mbig-endian@mfloat-abi=hard@march=armv7-r@mfpu=vfpv3-d16
armv7-r/thumb2/be;@mbig-endian@mthumb@march=armv7-r
armv7-r/thumb2/vfpv3/be;@mbig-endian@mthumb@mfloat-abi=hard@march=armv7-r@mfpu=vfpv3-d16

I made a simple C++ example and it compiles and links.

I see this in my map file:
c:/compiler/gcc/arm-none-eabi-gcc-4_6/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/armv7-r/thumb2/vfpv3/be\libstdc++.a(new_op.o)

So with my setup it seems to work.

Revision history for this message
Sebastian (sebastian-davalle) said :
#23

Another question:

Are you using the source file generated with HalCoGen? Or did you created your own drivers ?

Revision history for this message
Sebastian (sebastian-davalle) said :
#24

Here there are the key points of my makefile:

#SYS_LIBS = -lstdc++_s -lsupc++_s -lm -lgcc -lc_s -lgcc -lc_s -lnosys --->> what does _s means?
SYS_LIBS = -lstdc++ -lsupc++ -lm -lgcc -lc -lgcc -lc
LIBS += $(SYS_LIBS)
...
MODE = -mcpu=cortex-r4f -mthumb -mthumb-interwork -mfloat-abi=hard -mfpu=vfpv3-d16 -mbig-endian
...
LD = arm-none-eabi-g++ --->> I also try using gcc but nothing changes
LDFLAGS = $(MODE) -nostartfiles -O$(OPTIMIZATION) -Wl,-Map=$(OUTDIR)/$(PROJECT).map,-T$(LSCRIPT),-n,--cref,--gc-sections

$(PROJECT).elf: $(LSCRIPT) $(OBJECTS)
 @echo Linking $@
 $(Q) $(LD) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(PROJECT).elf

-------------------------------------------------------------------------------
All files were compiled successfully.

I get the following errors while linking:

/gcc-arm-none-eabi-4_8-2013q4-20131204/install-native/lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/lib/armv7-ar/thumb/fpu/libc_s.a(lib_a-fflush.o): In function `fflush':
fflush.c:(.text.fflush+0x0): multiple definition of `fflush'
../TMS570/rtsv7R4_T_be_v3D16_eabi.lib(fflush.obj):fflush.asm:(.text+0x4c): first defined here

same error with _cleanup and __aeabi_uidivmod

gcc-arm-none-eabi-4_8-2013q4-20131204/install-native/lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/lib/armv7-ar/thumb/fpu/libc_s.a(lib_a-assert.o): compiled for a little endian system and target is big endian

gcc-arm-none-eabi-4_8-2013q4-20131204/install-native/lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /home/seba/INVAP-GNC/TMS570-GNU-Toolchain/gcc-arm-none-eabi-4_8-2013q4-20131204/install-native/lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/lib/armv7-ar/thumb/fpu/libc_s.a(lib_a-assert.o)

Seems tu be the right lib... I don know what happens!

Any idea?

Revision history for this message
42Bastian (bastian-schick) said :
#25

Why are you linking against the CCS libraries? Either GCC or CGT, not both.
If you use C++, you always should use g++ for linking.
Normaly there is no need to specify -lgcc and -lc.

Regarding HalCoGen: No, we do not use it at all.

Also: The current launchpad compiler does still not support big endian!

Revision history for this message
Sebastian (sebastian-davalle) said :
#26

I made a project using Code Composer Studio and HalCoGen, and now I want to port it and compile it with GCC/GNU. That is why I'm using the drivers generated by HalCoGen, and it is also the reason why I'm trying to link CCS library.

As can see, it doesn't mind if you change t-arm-elf with big-endian support and re-build the toolchaing, The generated libraries located in the multilib directories are Little-endian, so when I try to link my BE code against them, it fails.
Should I change anywhere else to achieve this?

Thanks in advance!

Revision history for this message
jason_li_c (jason-li-c) said :
#27

does anyone build success for R4 or R5?

Revision history for this message
42Bastian (bastian-schick) said :
#28

We use GCC for Cortex-R4 (TI RM4x) without problems. Still no support for TMS570 (big endian).

Revision history for this message
jason_li_c (jason-li-c) said :
#29

thank you, I am using tms570lc43 which has arm r5f core, still have problems when building with gcc

Revision history for this message
42Bastian (bastian-schick) said :
#30

What do you mean by "building the gcc". Do you succeed to build it from the instructions on this site?
If yes, than you need to change the source to add big-endian support to the multi-lib files.
I don't think you'll need a special r5 handling.

Revision history for this message
jason_li_c (jason-li-c) said :
#31

sorry, I mean build c code by gcc, I am using gcc-arm-none-eabi-4_9-2015q1p1 now , and still have error in link script file or others .

Revision history for this message
42Bastian (bastian-schick) said :
#32

Sounds more like a general problem of understanding GCC and BINUTILS. Only hint I can give is google, reading, doing ...

Revision history for this message
Doug Brunner (madengineer10) said :
#33

Hi all, I'm also trying to build for TMS570. Where does support for big-endian Cortex-R4F stand in the latest release (2016q1)? I saw that the files in src/gcc/gcc/config/arm had changed from those described in this thread, so I first tried uncommenting the lines that seemed applicable in t-arm-elf, a three line stanza:

MULTILIB_OPTIONS += mlittle-endian/mbig-endian
MULTILIB_DIRNAMES += le be
MULTILIB_MATCHES += mbig-endian=mbe mlittle-endian=mle

However, when build had completed, there was no big-endian library to be found in install-mingw/arm-none-eabi/lib, just the usual little-endian ones. I see there's a listing for t-arm-elf in post #17 above, but that looks like it will produce a toolchain good only for big-endian targets, which would mean managing multiple toolchains to handle the little-endian Cortex-M and ARM9 parts I also use. It seems from previous posts that we can now make a toolchain that supports both big- and little-endian targets, but I'm unclear on how to proceed. Can someone with a better understanding of the multilib system help?

Revision history for this message
42Bastian (bastian-schick) said :
#34

Doug,

I managed to patch this version:
5.2.1 20151202 (release) [ARM/embedded-5-branch revision 231848]

for big-endian support.
IIRC I did only change t-baremetal (after hours and hours of trying).
The biggest problem was to get also the FPU multi-libs

arm-none-eabi-gcc --print-multi-lib
.;
thumb;@mthumb
softfp;@mfloat-abi=softfp
fpu;@mfloat-abi=hard
armv6-m;@mthumb@march=armv6s-m
armv7-m;@mthumb@march=armv7-m
armv7e-m;@mthumb@march=armv7e-m
armv7-ar/thumb;@mthumb@march=armv7
armv8-m.base;@mthumb@march=armv8-m.base
armv8-m.main;@mthumb@march=armv8-m.main
armv7e-m/softfp/fpv5-sp-d16;@mthumb@march=armv7e-m@mfloat-abi=softfp@mfpu=fpv5-sp-d16
armv7e-m/softfp/fpv5-d16;@mthumb@march=armv7e-m@mfloat-abi=softfp@mfpu=fpv5-d16
armv7e-m/softfp;@mthumb@march=armv7e-m@mfloat-abi=softfp@mfpu=fpv4-sp-d16
armv7e-m/fpu/fpv5-sp-d16;@mthumb@march=armv7e-m@mfloat-abi=hard@mfpu=fpv5-sp-d16
armv7e-m/fpu/fpv5-d16;@mthumb@march=armv7e-m@mfloat-abi=hard@mfpu=fpv5-d16
armv7e-m/fpu;@mthumb@march=armv7e-m@mfloat-abi=hard@mfpu=fpv4-sp-d16
armv7-ar/thumb/be;@mthumb@march=armv7@mbig-endian
armv7-ar/thumb/softfp;@mthumb@march=armv7@mfloat-abi=softfp@mfpu=vfpv3-d16
armv7-ar/thumb/be/softfp;@mthumb@march=armv7@mfloat-abi=softfp@mfpu=vfpv3-d16@mbig-endian
armv7-ar/thumb/fpu;@mthumb@march=armv7@mfloat-abi=hard@mfpu=vfpv3-d16
armv7-ar/thumb/be/fpu;@mthumb@march=armv7@mfloat-abi=hard@mfpu=vfpv3-d16@mbig-endian
armv8-m.main/softfp/fpv5-sp-d16;@mthumb@march=armv8-m.main@mfloat-abi=softfp@mfpu=fpv5-sp-d16
armv8-m.main/softfp/fpv5-d16;@mthumb@march=armv8-m.main@mfloat-abi=softfp@mfpu=fpv5-d16
armv8-m.main/fpu/fpv5-sp-d16;@mthumb@march=armv8-m.main@mfloat-abi=hard@mfpu=fpv5-sp-d16
armv8-m.main/fpu/fpv5-d16;@mthumb@march=armv8-m.main@mfloat-abi=hard@mfpu=fpv5-d16

Here my t-baremetal:

# A set of predefined MULTILIB which can be used for different ARM targets.
# Via the configure option --with-multilib-list, user can customize the
# final MULTILIB implementation.

comma := ,

with_multilib_list := $(subst $(comma), ,$(with_multilib_list))

MULTILIB_OPTIONS = mthumb/marm
MULTILIB_DIRNAMES = thumb arm
MULTILIB_OPTIONS += march=armv7
MULTILIB_DIRNAMES += armv7-ar

#MULTILIB_OPTIONS += march=armv6s-m/march=armv7-m/march=armv7e-m/march=armv7/march=armv8-m.base/march=armv8-m.main
#MULTILIB_DIRNAMES += armv6-m armv7-m armv7e-m armv7-ar armv8-m.base armv8-m.main

MULTILIB_OPTIONS += mfloat-abi=softfp/mfloat-abi=hard
MULTILIB_DIRNAMES += softfp fpu
#MULTILIB_OPTIONS += mfpu=fpv5-sp-d16/mfpu=fpv5-d16/mfpu=fpv4-sp-d16/mfpu=vfpv3-d16
#MULTILIB_DIRNAMES += fpv5-sp-d16 fpv5-d16 fpv4-sp-d16 vfpv3-d16
MULTILIB_OPTIONS += mfpu=vfpv3-d16
MULTILIB_DIRNAMES += vfpv3-d16

MULTILIB_OPTIONS += mbig-endian/mlittle-endian
MULTILIB_DIRNAMES += be le

MULTILIB_MATCHES += march?armv7=march?armv7-r
MULTILIB_MATCHES += march?armv7=mcpu?cortex-r4
MULTILIB_MATCHES += march?armv7=mcpu?cortex-r4f
MULTILIB_MATCHES += march?armv7=mcpu?cortex-r5
MULTILIB_MATCHES += march?armv7=mcpu?cortex-r7

ifneq (,$(filter armv7 armv7-r armv7-a,$(with_multilib_list)))
MULTILIB_MATCHES += march?armv7=march?armv7-r
MULTILIB_MATCHES += march?armv7=march?armv7-a
MULTILIB_MATCHES += march?armv7=march?armv8-a
MULTILIB_MATCHES += march?armv7=mcpu?cortex-r4
MULTILIB_MATCHES += march?armv7=mcpu?cortex-r4f
MULTILIB_MATCHES += march?armv7=mcpu?cortex-r5
MULTILIB_MATCHES += march?armv7=mcpu?cortex-r7
MULTILIB_MATCHES += march?armv7=mcpu?generic-armv7-a
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a5
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a7
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a8
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a9
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a12
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a15
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a17
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a15.cortex-a7
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a17.cortex-a7
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a53
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a57
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a72
MULTILIB_MATCHES += march?armv7=mcpu?exynos-m1
MULTILIB_MATCHES += march?armv7=mcpu?xgene1
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a57.cortex-a53
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a72.cortex-a53
endif

ifeq (0,1)
MULTILIB_MATCHES = march?armv6s-m=mcpu?cortex-m0
MULTILIB_MATCHES += march?armv6s-m=mcpu?cortex-m0.small-multiply
MULTILIB_MATCHES += march?armv6s-m=mcpu?cortex-m0plus
MULTILIB_MATCHES += march?armv6s-m=mcpu?cortex-m0plus.small-multiply
MULTILIB_MATCHES += march?armv6s-m=mcpu?cortex-m1
MULTILIB_MATCHES += march?armv6s-m=mcpu?cortex-m1.small-multiply
MULTILIB_MATCHES += march?armv6s-m=march?armv6-m
MULTILIB_MATCHES += march?armv7-m=mcpu?cortex-m3
MULTILIB_MATCHES += march?armv7e-m=mcpu?cortex-m4
MULTILIB_MATCHES += march?armv7e-m=mcpu?cortex-m7
MULTILIB_MATCHES += march?armv7e-m=mcpu?marvell-pj4
MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv3
MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv3-fp16
MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv3-d16-fp16
MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv3xd
MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv3xd-fp16
MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv4
MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv4-d16
MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?neon
MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?neon-fp16
MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?neon-vfpv4
endif

MULTILIB_EXCEPTIONS =
MULTILIB_REUSE =
MULTILIB_REQUIRED =

MULTILIB_REQUIRED = mthumb
MULTILIB_REQUIRED += marm
MULTILIB_REQUIRED += mfloat-abi=hard
MULTILIB_REQUIRED += mfloat-abi=softfp

MULTILIB_OSDIRNAMES = mthumb=!thumb
MULTILIB_OSDIRNAMES += marm=!arm
MULTILIB_OSDIRNAMES += mfloat-abi.hard=!fpu
MULTILIB_OSDIRNAMES += mfloat-abi.softfp=!softfp

ifneq (,$(findstring armv6-m,$(with_multilib_list)))
MULTILIB_REQUIRED += mthumb/march=armv6s-m
MULTILIB_OSDIRNAMES += mthumb/march.armv6s-m=!armv6-m
endif

ifneq (,$(findstring armv8-m.base,$(with_multilib_list)))
MULTILIB_REQUIRED += mthumb/march=armv8-m.base
MULTILIB_OSDIRNAMES += mthumb/march.armv8-m.base=!armv8-m.base
endif

ifneq (,$(findstring armv7-m,$(with_multilib_list)))
MULTILIB_REQUIRED += mthumb/march=armv7-m
MULTILIB_OSDIRNAMES += mthumb/march.armv7-m=!armv7-m
endif

ifneq (,$(findstring armv7e-m,$(with_multilib_list)))
MULTILIB_REQUIRED += mthumb/march=armv7e-m
MULTILIB_REQUIRED += mthumb/march=armv7e-m/mfloat-abi=softfp/mfpu=fpv4-sp-d16
MULTILIB_REQUIRED += mthumb/march=armv7e-m/mfloat-abi=hard/mfpu=fpv4-sp-d16
MULTILIB_REQUIRED += mthumb/march=armv7e-m/mfloat-abi=softfp/mfpu=fpv5-d16
MULTILIB_REQUIRED += mthumb/march=armv7e-m/mfloat-abi=hard/mfpu=fpv5-d16
MULTILIB_REQUIRED += mthumb/march=armv7e-m/mfloat-abi=softfp/mfpu=fpv5-sp-d16
MULTILIB_REQUIRED += mthumb/march=armv7e-m/mfloat-abi=hard/mfpu=fpv5-sp-d16
MULTILIB_OSDIRNAMES += mthumb/march.armv7e-m=!armv7e-m
MULTILIB_OSDIRNAMES += mthumb/march.armv7e-m/mfloat-abi.hard/mfpu.fpv4-sp-d16=!armv7e-m/fpu
MULTILIB_OSDIRNAMES += mthumb/march.armv7e-m/mfloat-abi.softfp/mfpu.fpv4-sp-d16=!armv7e-m/softfp
MULTILIB_OSDIRNAMES += mthumb/march.armv7e-m/mfloat-abi.hard/mfpu.fpv5-d16=!armv7e-m/fpu/fpv5-d16
MULTILIB_OSDIRNAMES += mthumb/march.armv7e-m/mfloat-abi.softfp/mfpu.fpv5-d16=!armv7e-m/softfp/fpv5-d16
MULTILIB_OSDIRNAMES += mthumb/march.armv7e-m/mfloat-abi.hard/mfpu.fpv5-sp-d16=!armv7e-m/fpu/fpv5-sp-d16
MULTILIB_OSDIRNAMES += mthumb/march.armv7e-m/mfloat-abi.softfp/mfpu.fpv5-sp-d16=!armv7e-m/softfp/fpv5-sp-d16
endif

ifneq (,$(findstring armv8-m.main,$(with_multilib_list)))
MULTILIB_REQUIRED += mthumb/march=armv8-m.main
MULTILIB_REQUIRED += mthumb/march=armv8-m.main/mfloat-abi=softfp/mfpu=fpv5-d16
MULTILIB_REQUIRED += mthumb/march=armv8-m.main/mfloat-abi=hard/mfpu=fpv5-d16
MULTILIB_REQUIRED += mthumb/march=armv8-m.main/mfloat-abi=softfp/mfpu=fpv5-sp-d16
MULTILIB_REQUIRED += mthumb/march=armv8-m.main/mfloat-abi=hard/mfpu=fpv5-sp-d16
MULTILIB_OSDIRNAMES += mthumb/march.armv8-m.main=!armv8-m.main
MULTILIB_OSDIRNAMES += mthumb/march.armv8-m.main/mfloat-abi.hard/mfpu.fpv5-d16=!armv8-m.main/fpu/fpv5-d16
MULTILIB_OSDIRNAMES += mthumb/march.armv8-m.main/mfloat-abi.softfp/mfpu.fpv5-d16=!armv8-m.main/softfp/fpv5-d16
MULTILIB_OSDIRNAMES += mthumb/march.armv8-m.main/mfloat-abi.hard/mfpu.fpv5-sp-d16=!armv8-m.main/fpu/fpv5-sp-d16
MULTILIB_OSDIRNAMES += mthumb/march.armv8-m.main/mfloat-abi.softfp/mfpu.fpv5-sp-d16=!armv8-m.main/softfp/fpv5-sp-d16
endif

ifneq (,$(filter armv7 armv7-r armv7-a,$(with_multilib_list)))
MULTILIB_REQUIRED += mthumb/march=armv7
MULTILIB_REQUIRED += mthumb/march=armv7/mfloat-abi=softfp/mfpu=vfpv3-d16
MULTILIB_REQUIRED += mthumb/march=armv7/mfloat-abi=hard/mfpu=vfpv3-d16

MULTILIB_OSDIRNAMES += mthumb/march.armv7=!armv7-ar/thumb
MULTILIB_OSDIRNAMES += mthumb/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16=!armv7-ar/thumb/fpu
MULTILIB_OSDIRNAMES += mthumb/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16=!armv7-ar/thumb/softfp

MULTILIB_REQUIRED += mthumb/march=armv7/mbig-endian
MULTILIB_REQUIRED += mthumb/march=armv7/mfloat-abi=softfp/mfpu=vfpv3-d16/mbig-endian
MULTILIB_REQUIRED += mthumb/march=armv7/mfloat-abi=hard/mfpu=vfpv3-d16/mbig-endian

MULTILIB_OSDIRNAMES += mthumb/march.armv7/mbig-endian=!armv7-ar/thumb/be
MULTILIB_OSDIRNAMES += mthumb/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16/mbig-endian=!armv7-ar/thumb/be/fpu
MULTILIB_OSDIRNAMES += mthumb/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16/mbig-endian=!armv7-ar/thumb/be/softfp

MULTILIB_REUSE += mthumb/march.armv7=marm/march.armv7
MULTILIB_REUSE += mthumb/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16=marm/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16

                       mthumb/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16=marm/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16 is trying to reuse nonexistent multilib.

MULTILIB_REUSE += mthumb/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16=marm/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16

MULTILIB_REUSE += mthumb/march.armv7/mbig-endian=marm/march.armv7/mbig-endian
MULTILIB_REUSE += mthumb/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16/mbig-endian=marm/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16/mbig-endian
MULTILIB_REUSE += mthumb/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16/mbig-endian=marm/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16/mbig-endian
endif

Revision history for this message
Doug Brunner (madengineer10) said :
#35

Thanks very much Bastian! I built with that against the 2016q1 release source I had already downloaded, and all appears to be in order. It's producing working binaries for the TMS570 and LPC2929 (ARM9 chip), and compiles and links OK for the STM32F10x (don't have one of them on hand to test at the moment).

I don't get all the libraries you did (it's missing armv6-m, armv7-m, armv7e-m, and armv8-m) but it seems I'm just failing over to the base and thumb builds. When I get a chance I'll try the patch against the version you used.

Revision history for this message
42Bastian (bastian-schick) said :
#36

Doug, I am sorry,

I check my gcc-build VM and the t-baremetal is different. Here the correct one:

# A set of predefined MULTILIB which can be used for different ARM targets.
# Via the configure option --with-multilib-list, user can customize the
# final MULTILIB implementation.

comma := ,

with_multilib_list := $(subst $(comma), ,$(with_multilib_list))

MULTILIB_OPTIONS = mthumb/marm
MULTILIB_DIRNAMES = thumb arm
MULTILIB_OPTIONS += march=armv7
MULTILIB_DIRNAMES += armv7-ar

MULTILIB_OPTIONS += march=armv6s-m/march=armv7-m/march=armv7e-m/march=armv7/march=armv8-m.base/march=armv8-m.main
MULTILIB_DIRNAMES += armv6-m armv7-m armv7e-m armv7-ar armv8-m.base armv8-m.main

MULTILIB_OPTIONS += mfloat-abi=softfp/mfloat-abi=hard
MULTILIB_DIRNAMES += softfp fpu
MULTILIB_OPTIONS += mfpu=fpv5-sp-d16/mfpu=fpv5-d16/mfpu=fpv4-sp-d16/mfpu=vfpv3-d16
MULTILIB_DIRNAMES += fpv5-sp-d16 fpv5-d16 fpv4-sp-d16 vfpv3-d16
#MULTILIB_OPTIONS += mfpu=vfpv3-d16
#MULTILIB_DIRNAMES += vfpv3-d16

MULTILIB_OPTIONS += mbig-endian/mlittle-endian
MULTILIB_DIRNAMES += be le

ifneq (,$(filter armv7 armv7-r armv7-a,$(with_multilib_list)))
MULTILIB_MATCHES += march?armv7=march?armv7-r
MULTILIB_MATCHES += march?armv7=march?armv7-a
MULTILIB_MATCHES += march?armv7=march?armv8-a
MULTILIB_MATCHES += march?armv7=mcpu?cortex-r4
MULTILIB_MATCHES += march?armv7=mcpu?cortex-r4f
MULTILIB_MATCHES += march?armv7=mcpu?cortex-r5
MULTILIB_MATCHES += march?armv7=mcpu?cortex-r7
MULTILIB_MATCHES += march?armv7=mcpu?generic-armv7-a
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a5
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a7
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a8
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a9
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a12
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a15
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a17
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a15.cortex-a7
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a17.cortex-a7
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a53
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a57
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a72
MULTILIB_MATCHES += march?armv7=mcpu?exynos-m1
MULTILIB_MATCHES += march?armv7=mcpu?xgene1
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a57.cortex-a53
MULTILIB_MATCHES += march?armv7=mcpu?cortex-a72.cortex-a53
endif

ifneq (,$(filter armv6s,$(with_multilib_list)))
MULTILIB_MATCHES = march?armv6s-m=mcpu?cortex-m0
MULTILIB_MATCHES += march?armv6s-m=mcpu?cortex-m0.small-multiply
MULTILIB_MATCHES += march?armv6s-m=mcpu?cortex-m0plus
MULTILIB_MATCHES += march?armv6s-m=mcpu?cortex-m0plus.small-multiply
MULTILIB_MATCHES += march?armv6s-m=mcpu?cortex-m1
MULTILIB_MATCHES += march?armv6s-m=mcpu?cortex-m1.small-multiply
MULTILIB_MATCHES += march?armv6s-m=march?armv6-m
endif

ifneq (,$(filter armv7-m,$(with_multilib_list)))
MULTILIB_MATCHES += march?armv7-m=mcpu?cortex-m3
endif

ifneq (,$(filter armv7e-m,$(with_multilib_list)))
MULTILIB_MATCHES += march?armv7e-m=mcpu?cortex-m4
MULTILIB_MATCHES += march?armv7e-m=mcpu?cortex-m7
MULTILIB_MATCHES += march?armv7e-m=mcpu?marvell-pj4
endif

MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv3
MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv3-fp16
MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv3-d16-fp16
MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv3xd
MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv3xd-fp16
MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv4
MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv4-d16
MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?neon
MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?neon-fp16
MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?neon-vfpv4

MULTILIB_EXCEPTIONS =
MULTILIB_REUSE =
MULTILIB_REQUIRED =

MULTILIB_REQUIRED = mthumb
MULTILIB_REQUIRED += marm
MULTILIB_REQUIRED += mfloat-abi=hard
MULTILIB_REQUIRED += mfloat-abi=softfp

MULTILIB_OSDIRNAMES = mthumb=!thumb
MULTILIB_OSDIRNAMES += marm=!arm
MULTILIB_OSDIRNAMES += mfloat-abi.hard=!fpu
MULTILIB_OSDIRNAMES += mfloat-abi.softfp=!softfp

ifneq (,$(findstring armv6-m,$(with_multilib_list)))
MULTILIB_REQUIRED += mthumb/march=armv6s-m
MULTILIB_OSDIRNAMES += mthumb/march.armv6s-m=!armv6-m
endif

ifneq (,$(findstring armv8-m.base,$(with_multilib_list)))
MULTILIB_REQUIRED += mthumb/march=armv8-m.base
MULTILIB_OSDIRNAMES += mthumb/march.armv8-m.base=!armv8-m.base
endif

ifneq (,$(findstring armv7-m,$(with_multilib_list)))
MULTILIB_REQUIRED += mthumb/march=armv7-m
MULTILIB_OSDIRNAMES += mthumb/march.armv7-m=!armv7-m
endif

ifneq (,$(findstring armv7e-m,$(with_multilib_list)))
MULTILIB_REQUIRED += mthumb/march=armv7e-m
MULTILIB_REQUIRED += mthumb/march=armv7e-m/mfloat-abi=softfp/mfpu=fpv4-sp-d16
MULTILIB_REQUIRED += mthumb/march=armv7e-m/mfloat-abi=hard/mfpu=fpv4-sp-d16
MULTILIB_REQUIRED += mthumb/march=armv7e-m/mfloat-abi=softfp/mfpu=fpv5-d16
MULTILIB_REQUIRED += mthumb/march=armv7e-m/mfloat-abi=hard/mfpu=fpv5-d16
MULTILIB_REQUIRED += mthumb/march=armv7e-m/mfloat-abi=softfp/mfpu=fpv5-sp-d16
MULTILIB_REQUIRED += mthumb/march=armv7e-m/mfloat-abi=hard/mfpu=fpv5-sp-d16
MULTILIB_OSDIRNAMES += mthumb/march.armv7e-m=!armv7e-m
MULTILIB_OSDIRNAMES += mthumb/march.armv7e-m/mfloat-abi.hard/mfpu.fpv4-sp-d16=!armv7e-m/fpu
MULTILIB_OSDIRNAMES += mthumb/march.armv7e-m/mfloat-abi.softfp/mfpu.fpv4-sp-d16=!armv7e-m/softfp
MULTILIB_OSDIRNAMES += mthumb/march.armv7e-m/mfloat-abi.hard/mfpu.fpv5-d16=!armv7e-m/fpu/fpv5-d16
MULTILIB_OSDIRNAMES += mthumb/march.armv7e-m/mfloat-abi.softfp/mfpu.fpv5-d16=!armv7e-m/softfp/fpv5-d16
MULTILIB_OSDIRNAMES += mthumb/march.armv7e-m/mfloat-abi.hard/mfpu.fpv5-sp-d16=!armv7e-m/fpu/fpv5-sp-d16
MULTILIB_OSDIRNAMES += mthumb/march.armv7e-m/mfloat-abi.softfp/mfpu.fpv5-sp-d16=!armv7e-m/softfp/fpv5-sp-d16
endif

ifneq (,$(findstring armv8-m.main,$(with_multilib_list)))
MULTILIB_REQUIRED += mthumb/march=armv8-m.main
MULTILIB_REQUIRED += mthumb/march=armv8-m.main/mfloat-abi=softfp/mfpu=fpv5-d16
MULTILIB_REQUIRED += mthumb/march=armv8-m.main/mfloat-abi=hard/mfpu=fpv5-d16
MULTILIB_REQUIRED += mthumb/march=armv8-m.main/mfloat-abi=softfp/mfpu=fpv5-sp-d16
MULTILIB_REQUIRED += mthumb/march=armv8-m.main/mfloat-abi=hard/mfpu=fpv5-sp-d16
MULTILIB_OSDIRNAMES += mthumb/march.armv8-m.main=!armv8-m.main
MULTILIB_OSDIRNAMES += mthumb/march.armv8-m.main/mfloat-abi.hard/mfpu.fpv5-d16=!armv8-m.main/fpu/fpv5-d16
MULTILIB_OSDIRNAMES += mthumb/march.armv8-m.main/mfloat-abi.softfp/mfpu.fpv5-d16=!armv8-m.main/softfp/fpv5-d16
MULTILIB_OSDIRNAMES += mthumb/march.armv8-m.main/mfloat-abi.hard/mfpu.fpv5-sp-d16=!armv8-m.main/fpu/fpv5-sp-d16
MULTILIB_OSDIRNAMES += mthumb/march.armv8-m.main/mfloat-abi.softfp/mfpu.fpv5-sp-d16=!armv8-m.main/softfp/fpv5-sp-d16
endif

ifneq (,$(filter armv7 armv7-r armv7-a,$(with_multilib_list)))
MULTILIB_REQUIRED += mthumb/march=armv7
MULTILIB_REQUIRED += mthumb/march=armv7/mfloat-abi=softfp/mfpu=vfpv3-d16
MULTILIB_REQUIRED += mthumb/march=armv7/mfloat-abi=hard/mfpu=vfpv3-d16

MULTILIB_OSDIRNAMES += mthumb/march.armv7=!armv7-ar/thumb
MULTILIB_OSDIRNAMES += mthumb/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16=!armv7-ar/thumb/fpu
MULTILIB_OSDIRNAMES += mthumb/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16=!armv7-ar/thumb/softfp

MULTILIB_REQUIRED += mthumb/march=armv7/mbig-endian
MULTILIB_REQUIRED += mthumb/march=armv7/mfloat-abi=softfp/mfpu=vfpv3-d16/mbig-endian
MULTILIB_REQUIRED += mthumb/march=armv7/mfloat-abi=hard/mfpu=vfpv3-d16/mbig-endian

MULTILIB_OSDIRNAMES += mthumb/march.armv7/mbig-endian=!armv7-ar/thumb/be
MULTILIB_OSDIRNAMES += mthumb/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16/mbig-endian=!armv7-ar/thumb/be/fpu
MULTILIB_OSDIRNAMES += mthumb/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16/mbig-endian=!armv7-ar/thumb/be/softfp

MULTILIB_REUSE += mthumb/march.armv7=marm/march.armv7
MULTILIB_REUSE += mthumb/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16=marm/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16
MULTILIB_REUSE += mthumb/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16=marm/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16

MULTILIB_REUSE += mthumb/march.armv7/mbig-endian=marm/march.armv7/mbig-endian
MULTILIB_REUSE += mthumb/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16/mbig-endian=marm/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16/mbig-endian
MULTILIB_REUSE += mthumb/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16/mbig-endian=marm/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16/mbig-endian
endif

Revision history for this message
Doug Brunner (madengineer10) said :
#37

Thanks Bastian - I was wondering why some of the options were unconditionally disabled with the ifeq (0,1). Earlier I merged the file you previously sent and the unmodified one from the 2016q1 release, and it looks like I ended up with something that does mostly the same thing as this file. The only differences are that your file conditionally enables the MULTILIB_MATCHES based on the with_multilib_list, and doesn't include the Cortex-R8 support that was apparently added for 2016q1.

Revision history for this message
Roman Storozhenko (d-el) said :
#38

Hi!
In which version does the MULTILIB (big endian + little-endian) library support?

Revision history for this message
Tejas Belagod (belagod-tejas) said :
#39

Hi Roman,

We don't have multilib support for BE yet in our releases. Any particular core you're looking for BE support for?

Thanks,
Tejas.

Revision history for this message
Roman Storozhenko (d-el) said :
#40

I was looking for a Toolchain with Big Endian libraries (TMS570 Cortex-R4F).

Revision history for this message
Doug Brunner (madengineer10) said :
#41

+1 for building this as part of the release.

Roman, if you can use 5.3-2016q1, I have toolchains built for Windows and Linux with multilib support for the TMS570's BE CR4F and all the regularly supported cores. Testing the patch on the latest release has been on my list of things to do for a while but I have no idea when I'll get to it. Message me if you can use the 5.3-2016q1 binary package.

Revision history for this message
Roman Storozhenko (d-el) said :
#42

Doug, yes, I can use 5.3-2016q1.
Thank you!

Revision history for this message
42Bastian (bastian-schick) said :
#43

On my companies FTP is an older version (5.2.1) for Windows and Linux (including the patch):
http://www.sciopta.de/ftp/

Revision history for this message
Doug Brunner (madengineer10) said :
#44

Roman,

Sorry for the delay. The builds are now up at http://fcrl.me.udel.edu/gae/5_3-2016q1-beplus.zip (Windows) and http://fcrl.me.udel.edu/gae/5_3-2016q1-beplus.tar.gz (Linux x64). The gcc build process did not produce the libwinpthread-1.dll required by the tools, so I found a copy on my machine and added it where needed.

Revision history for this message
Roman Storozhenko (d-el) said :
#46
Revision history for this message
Doug Brunner (madengineer10) said :
#47

Sorry about that - copied into the wrong install folder. Fixed now.

Revision history for this message
Roman Storozhenko (d-el) said :
#48

Thank you very much!
I have build and debug.

...
Building target: TMS570LS1227_LED_gcc.elf
Invoking: Cross ARM GNU C Linker
arm-none-eabi-gcc -mcpu=cortex-r4f -march=armv7-r -mbig-endian -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 ...
Finished building target: TMS570LS1227_LED_gcc.elf

Revision history for this message
shouzhi (shouzhi007) said :
#49

Could any one send me a copy of makefile source for compiling armv7-r ?

Revision history for this message
shouzhi (shouzhi007) said :
#50

I met following issues
Could anyone can help ?

==========================

**** Build of configuration Debug for project armeb ****

"D:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O

Building file: "../source/HL_can.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_can.d" -MT"source/HL_can.o" -o"source/HL_can.o" "../source/HL_can.c"
Finished building: "../source/HL_can.c"

Building file: "../source/HL_adc.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_adc.d" -MT"source/HL_adc.o" -o"source/HL_adc.o" "../source/HL_adc.c"
Finished building: "../source/HL_adc.c"

Building file: "../source/HL_crc.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_crc.d" -MT"source/HL_crc.o" -o"source/HL_crc.o" "../source/HL_crc.c"
Finished building: "../source/HL_crc.c"

Building file: "../source/HL_dcc.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_dcc.d" -MT"source/HL_dcc.o" -o"source/HL_dcc.o" "../source/HL_dcc.c"
Finished building: "../source/HL_dcc.c"

Building file: "../source/HL_emif.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_emif.d" -MT"source/HL_emif.o" -o"source/HL_emif.o" "../source/HL_emif.c"
Finished building: "../source/HL_emif.c"

Building file: "../source/HL_ecap.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_ecap.d" -MT"source/HL_ecap.o" -o"source/HL_ecap.o" "../source/HL_ecap.c"
Finished building: "../source/HL_ecap.c"

Building file: "../source/HL_emac.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_emac.d" -MT"source/HL_emac.o" -o"source/HL_emac.o" "../source/HL_emac.c"
Finished building: "../source/HL_emac.c"

Building file: "../source/HL_epc.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_epc.d" -MT"source/HL_epc.o" -o"source/HL_epc.o" "../source/HL_epc.c"
Finished building: "../source/HL_epc.c"

Building file: "../source/HL_eqep.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_eqep.d" -MT"source/HL_eqep.o" -o"source/HL_eqep.o" "../source/HL_eqep.c"
Finished building: "../source/HL_eqep.c"

Building file: "../source/HL_errata.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_errata.d" -MT"source/HL_errata.o" -o"source/HL_errata.o" "../source/HL_errata.c"
Finished building: "../source/HL_errata.c"

Building file: "../source/HL_esm.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_esm.d" -MT"source/HL_esm.o" -o"source/HL_esm.o" "../source/HL_esm.c"
Finished building: "../source/HL_esm.c"

Building file: "../source/HL_etpwm.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_etpwm.d" -MT"source/HL_etpwm.o" -o"source/HL_etpwm.o" "../source/HL_etpwm.c"
Finished building: "../source/HL_etpwm.c"

Building file: "../source/HL_gio.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_gio.d" -MT"source/HL_gio.o" -o"source/HL_gio.o" "../source/HL_gio.c"
Finished building: "../source/HL_gio.c"

Building file: "../source/HL_het.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_het.d" -MT"source/HL_het.o" -o"source/HL_het.o" "../source/HL_het.c"
Finished building: "../source/HL_het.c"

Building file: "../source/HL_i2c.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_i2c.d" -MT"source/HL_i2c.o" -o"source/HL_i2c.o" "../source/HL_i2c.c"
Finished building: "../source/HL_i2c.c"

Building file: "../source/HL_lin.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_lin.d" -MT"source/HL_lin.o" -o"source/HL_lin.o" "../source/HL_lin.c"
Finished building: "../source/HL_lin.c"

Building file: "../source/HL_mdio.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_mdio.d" -MT"source/HL_mdio.o" -o"source/HL_mdio.o" "../source/HL_mdio.c"
Finished building: "../source/HL_mdio.c"

Building file: "../source/HL_nmpu.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_nmpu.d" -MT"source/HL_nmpu.o" -o"source/HL_nmpu.o" "../source/HL_nmpu.c"
Finished building: "../source/HL_nmpu.c"

Building file: "../source/HL_mibspi.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_mibspi.d" -MT"source/HL_mibspi.o" -o"source/HL_mibspi.o" "../source/HL_mibspi.c"
Finished building: "../source/HL_mibspi.c"

Building file: "../source/HL_notification.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_notification.d" -MT"source/HL_notification.o" -o"source/HL_notification.o" "../source/HL_notification.c"
Finished building: "../source/HL_notification.c"

Building file: "../source/HL_phy_dp83640.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_phy_dp83640.d" -MT"source/HL_phy_dp83640.o" -o"source/HL_phy_dp83640.o" "../source/HL_phy_dp83640.c"
Finished building: "../source/HL_phy_dp83640.c"

Building file: "../source/HL_phy_tlk111.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_phy_tlk111.d" -MT"source/HL_phy_tlk111.o" -o"source/HL_phy_tlk111.o" "../source/HL_phy_tlk111.c"
Finished building: "../source/HL_phy_tlk111.c"

Building file: "../source/HL_pinmux.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_pinmux.d" -MT"source/HL_pinmux.o" -o"source/HL_pinmux.o" "../source/HL_pinmux.c"
Finished building: "../source/HL_pinmux.c"

Building file: "../source/HL_pom.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_pom.d" -MT"source/HL_pom.o" -o"source/HL_pom.o" "../source/HL_pom.c"
Finished building: "../source/HL_pom.c"

Building file: "../source/HL_sys_core.s"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_sys_core.d" -MT"source/HL_sys_core.o" -x assembler-with-cpp -o"source/HL_sys_core.o" "../source/HL_sys_core.s"
Finished building: "../source/HL_sys_core.s"

Building file: "../source/HL_sys_dma.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_sys_dma.d" -MT"source/HL_sys_dma.o" -o"source/HL_sys_dma.o" "../source/HL_sys_dma.c"
Finished building: "../source/HL_sys_dma.c"

Building file: "../source/HL_sci.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_sci.d" -MT"source/HL_sci.o" -o"source/HL_sci.o" "../source/HL_sci.c"
Finished building: "../source/HL_sci.c"

Building file: "../source/HL_sys_intvecs.s"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_sys_intvecs.d" -MT"source/HL_sys_intvecs.o" -x assembler-with-cpp -o"source/HL_sys_intvecs.o" "../source/HL_sys_intvecs.s"
Finished building: "../source/HL_sys_intvecs.s"

Building file: "../source/HL_sys_main.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_sys_main.d" -MT"source/HL_sys_main.o" -o"source/HL_sys_main.o" "../source/HL_sys_main.c"
Finished building: "../source/HL_sys_main.c"

Building file: "../source/HL_sys_mpu.s"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_sys_mpu.d" -MT"source/HL_sys_mpu.o" -x assembler-with-cpp -o"source/HL_sys_mpu.o" "../source/HL_sys_mpu.s"
../source/HL_sys_main.c: In function 'vTask2':
../source/HL_sys_main.c:78:9: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
         printf("hi this task2\n");
         ^~~~~~
../source/HL_sys_main.c:78:9: warning: incompatible implicit declaration of built-in function 'printf'
../source/HL_sys_main.c:78:9: note: include '<stdio.h>' or provide a declaration of 'printf'
Finished building: "../source/HL_sys_mpu.s"

Building file: "../source/HL_sys_pcr.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_sys_pcr.d" -MT"source/HL_sys_pcr.o" -o"source/HL_sys_pcr.o" "../source/HL_sys_pcr.c"
Finished building: "../source/HL_sys_pcr.c"

Building file: "../source/HL_sys_phantom.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_sys_phantom.d" -MT"source/HL_sys_phantom.o" -o"source/HL_sys_phantom.o" "../source/HL_sys_phantom.c"
Finished building: "../source/HL_sys_phantom.c"

Building file: "../source/HL_sys_pmm.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_sys_pmm.d" -MT"source/HL_sys_pmm.o" -o"source/HL_sys_pmm.o" "../source/HL_sys_pmm.c"
Finished building: "../source/HL_sys_pmm.c"

Building file: "../source/HL_sys_pmu.s"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_sys_pmu.d" -MT"source/HL_sys_pmu.o" -x assembler-with-cpp -o"source/HL_sys_pmu.o" "../source/HL_sys_pmu.s"
Finished building: "../source/HL_sys_pmu.s"

Building file: "../source/HL_sys_startup.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_sys_startup.d" -MT"source/HL_sys_startup.o" -o"source/HL_sys_startup.o" "../source/HL_sys_startup.c"
Finished building: "../source/HL_sys_startup.c"

Building file: "../source/HL_sys_vim.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_sys_vim.d" -MT"source/HL_sys_vim.o" -o"source/HL_sys_vim.o" "../source/HL_sys_vim.c"
Finished building: "../source/HL_sys_vim.c"

Building file: "../source/HL_system.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/HL_system.d" -MT"source/HL_system.o" -o"source/HL_system.o" "../source/HL_system.c"
Finished building: "../source/HL_system.c"

Building file: "../source/os_croutine.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/os_croutine.d" -MT"source/os_croutine.o" -o"source/os_croutine.o" "../source/os_croutine.c"
Finished building: "../source/os_croutine.c"

Building file: "../source/os_event_groups.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/os_event_groups.d" -MT"source/os_event_groups.o" -o"source/os_event_groups.o" "../source/os_event_groups.c"
Finished building: "../source/os_event_groups.c"

Building file: "../source/os_heap.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/os_heap.d" -MT"source/os_heap.o" -o"source/os_heap.o" "../source/os_heap.c"
Finished building: "../source/os_heap.c"

Building file: "../source/os_list.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/os_list.d" -MT"source/os_list.o" -o"source/os_list.o" "../source/os_list.c"
Finished building: "../source/os_list.c"

Building file: "../source/os_mpu_wrappers.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/os_mpu_wrappers.d" -MT"source/os_mpu_wrappers.o" -o"source/os_mpu_wrappers.o" "../source/os_mpu_wrappers.c"
Finished building: "../source/os_mpu_wrappers.c"

Building file: "../source/os_port.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/os_port.d" -MT"source/os_port.o" -o"source/os_port.o" "../source/os_port.c"
Finished building: "../source/os_port.c"

Building file: "../source/os_portasm.s"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/os_portasm.d" -MT"source/os_portasm.o" -x assembler-with-cpp -o"source/os_portasm.o" "../source/os_portasm.s"
Finished building: "../source/os_portasm.s"

Building file: "../source/os_queue.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/os_queue.d" -MT"source/os_queue.o" -o"source/os_queue.o" "../source/os_queue.c"
Finished building: "../source/os_queue.c"

Building file: "../source/os_tasks.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/os_tasks.d" -MT"source/os_tasks.o" -o"source/os_tasks.o" "../source/os_tasks.c"
Finished building: "../source/os_tasks.c"

Building file: "../source/os_timer.c"
Invoking: GNU Compiler
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-r5 -mfpu=vfpv3-d16 -I"D:/Users/atc0037/workspace_v8/armeb" -I"D:/Users/atc0037/workspace_v8/armeb/include" -I"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -MMD -MP -MF"source/os_timer.d" -MT"source/os_timer.o" -o"source/os_timer.o" "../source/os_timer.c"
Finished building: "../source/os_timer.c"

Building target: "armeb.out"
Invoking: GNU Linker
"D:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mbig-endian -mcpu=cortex-r5 -Wl,-Map,"armeb.map" -Bstatic -o"armeb.out" "./source/HL_adc.o" "./source/HL_can.o" "./source/HL_crc.o" "./source/HL_dcc.o" "./source/HL_ecap.o" "./source/HL_emac.o" "./source/HL_emif.o" "./source/HL_epc.o" "./source/HL_eqep.o" "./source/HL_errata.o" "./source/HL_esm.o" "./source/HL_etpwm.o" "./source/HL_gio.o" "./source/HL_het.o" "./source/HL_i2c.o" "./source/HL_lin.o" "./source/HL_mdio.o" "./source/HL_mibspi.o" "./source/HL_nmpu.o" "./source/HL_notification.o" "./source/HL_phy_dp83640.o" "./source/HL_phy_tlk111.o" "./source/HL_pinmux.o" "./source/HL_pom.o" "./source/HL_sci.o" "./source/HL_sys_core.o" "./source/HL_sys_dma.o" "./source/HL_sys_intvecs.o" "./source/HL_sys_main.o" "./source/HL_sys_mpu.o" "./source/HL_sys_pcr.o" "./source/HL_sys_phantom.o" "./source/HL_sys_pmm.o" "./source/HL_sys_pmu.o" "./source/HL_sys_startup.o" "./source/HL_sys_vim.o" "./source/HL_system.o" "./source/os_croutine.o" "./source/os_event_groups.o" "./source/os_heap.o" "./source/os_list.o" "./source/os_mpu_wrappers.o" "./source/os_port.o" "./source/os_portasm.o" "./source/os_queue.o" "./source/os_tasks.o" "./source/os_timer.o" -Wl,-T"../source/HL_sys_link.ld"
makefile:186: recipe for target 'armeb.out' failed
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar/crti.o: compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar/crti.o
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar/crtbegin.o: compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar/crtbegin.o
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar/crt0.o: compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar/crt0.o
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-exit.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-exit.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-impure.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-impure.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-init.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-init.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-memcpy.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-memcpy.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-memset.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-memset.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-puts.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-puts.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-strlen-stub.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-strlen-stub.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-__call_atexit.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-__call_atexit.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-atexit.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-atexit.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-findfp.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-findfp.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-fini.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-fini.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-fvwrite.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-fvwrite.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-fwalk.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-fwalk.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-lock.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-lock.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-mallocr.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-mallocr.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-memchr-stub.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-memchr-stub.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-memmove.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-memmove.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-mlock.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-mlock.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-reallocr.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-reallocr.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-sbrkr.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-sbrkr.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-stdio.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-stdio.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-writer.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-writer.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-wsetup.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-wsetup.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-__atexit.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-__atexit.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-closer.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-closer.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-fclose.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-fclose.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-fflush.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-fflush.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-freer.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-freer.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-lseekr.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-lseekr.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-makebuf.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-makebuf.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-readr.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-readr.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-reent.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-reent.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-fstatr.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-fstatr.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-isattyr.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-isattyr.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libm.a(lib_a-s_floor.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libm.a(lib_a-s_floor.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar\libgcc.a(_divsi3.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar\libgcc.a(_divsi3.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar\libgcc.a(_dvmd_tls.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar\libgcc.a(_dvmd_tls.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar\libgcc.a(_arm_addsubdf3.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar\libgcc.a(_arm_addsubdf3.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar\libgcc.a(_arm_muldivdf3.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar\libgcc.a(_arm_muldivdf3.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar\libgcc.a(_arm_cmpdf2.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar\libgcc.a(_arm_cmpdf2.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar\libgcc.a(_arm_fixunsdfsi.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar\libgcc.a(_arm_fixunsdfsi.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libnosys.a(close.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libnosys.a(close.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libnosys.a(fstat.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libnosys.a(fstat.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libnosys.a(isatty.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libnosys.a(isatty.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libnosys.a(lseek.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libnosys.a(lseek.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libnosys.a(read.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libnosys.a(read.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libnosys.a(sbrk.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libnosys.a(sbrk.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libnosys.a(write.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libnosys.a(write.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libnosys.a(_exit.o): compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libnosys.a(_exit.o)
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar/crtend.o: compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar/crtend.o
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar/crtn.o: compiled for a little endian system and target is big endian
d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file d:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-ar/crtn.o
collect2.exe: error: ld returned 1 exit status
gmake[1]: *** [armeb.out] Error 1
gmake[1]: Target 'secondary-outputs' not remade because of errors.
gmake: *** [all] Error 2
makefile:182: recipe for target 'all' failed

**** Build Finished ****

Revision history for this message
Tejas Belagod (belagod-tejas) said :
#51

This is the error: compiled for a little endian system and target is big endian. You will first need to build multilibs for big-endian, then use those multilibs to build your project. Have you re-built the tools from sources for big-endian?

Revision history for this message
shouzhi (shouzhi007) said :
#52

You mean I need to re-built the toolchain to support big-endian ?

It does not support by default ?

Revision history for this message
42Bastian (bastian-schick) said :
#53

No, after many many years still the tool chain does not support big-endian out of the box.
So maybe use the free TI compiler instead of gcc.