Latest(SLQS04.00.16-lite) Lite SDK Application build failed with arm toolchain


#1

Hi All,

I am trying to build Sample application from SLQS04.00.16-lite SDK. We are using “arm-fsl-linux-gnueabi/4.8.3/” toolchain. Individual object are compiled fine and objects are created. It fails while trying to link. In our toolchain are compiled with "-mfloat-abi=hard’. It looks like the “liblite-qmi.a” is compiled with different setting enabled. That causes link operation to failed. Please look below for failure logs.

lite-qmi-demo$ make CPU=arm
Compiling src/packingdemo.c
obj/arm/ exists - good.
Compiling src/qosdemo.c
obj/arm/ exists - good.
Compiling src/swiomademo.c
obj/arm/ exists - good.
Compiling src/wdsdemo.c
obj/arm/ exists - good.
Compiling src/locdemo.c
obj/arm/ exists - good.
Compiling src/nasdemo.c
obj/arm/ exists - good.
Compiling src/uimdemo.c
obj/arm/ exists - good.
Compiling src/dmsdemo.c
obj/arm/ exists - good.
Compiling src/smsdemo.c
obj/arm/ exists - good.
Compiling src/packingdemo_common.c
obj/arm/ exists - good.
Compiling src/swilocdemo.c
obj/arm/ exists - good.
Compiling src/helper_sms.c
obj/arm/ exists - good.
Compiling src/tmddemo.c
obj/arm/ exists - good.
Compiling src/catdemo.c
obj/arm/ exists - good.
Compiling src/pdsdemo.c
obj/arm/ exists - good.
Compiling src/swiomaextdemo.c
obj/arm/ exists - good.
Compiling src/sardemo.c
obj/arm/ exists - good.
Compiling src/rmsdemo.c
obj/arm/ exists - good.
Compiling src/voicedemo.c
obj/arm/ exists - good.
Compiling src/swiavmsdemo.c
obj/arm/ exists - good.
Compiling src/imsa-unit-test.c
obj/arm/ exists - good.
Compiling src/imsademo.c
obj/arm/ exists - good.
Compiling src/audiodemo.c
obj/arm/ exists - good.
Compiling src/swiaudiodemo.c
obj/arm/ exists - good.
Compiling src/imsdemo.c
obj/arm/ exists - good.
Compiling src/ping.c
obj/arm/ exists - good.
Compiling src/swiavmsdemo-avc2.c
obj/arm/ exists - good.
Compiling src/swidmsdemo.c
bin/ exists - good.
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: error: bin/packingdemoarm uses VFP register arguments, …/…/lite-qmi/lib/arm//liblite-qmi.a(switype_256bit.o) does not
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: failed to merge target specific data of file …/…/lite-qmi/lib/arm//liblite-qmi.a(switype_256bit.o)
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: error: bin/packingdemoarm uses VFP register arguments, …/…/lite-qmi/lib/arm//liblite-qmi.a(dms.o) does not
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: failed to merge target specific data of file …/…/lite-qmi/lib/arm//liblite-qmi.a(dms.o)
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: error: bin/packingdemoarm uses VFP register arguments, …/…/lite-qmi/lib/arm//liblite-qmi.a(nas.o) does not
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: failed to merge target specific data of file …/…/lite-qmi/lib/arm//liblite-qmi.a(nas.o)
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: error: bin/packingdemoarm uses VFP register arguments, …/…/lite-qmi/lib/arm//liblite-qmi.a(wds.o) does not
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: failed to merge target specific data of file …/…/lite-qmi/lib/arm//liblite-qmi.a(wds.o)
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: error: bin/packingdemoarm uses VFP register arguments, …/…/lite-qmi/lib/arm//liblite-qmi.a(uim.o) does not
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: failed to merge target specific data of file …/…/lite-qmi/lib/arm//liblite-qmi.a(uim.o)
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: error: bin/packingdemoarm uses VFP register arguments, …/…/lite-qmi/lib/arm//liblite-qmi.a(swioma.o) does not
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: failed to merge target specific data of file …/…/lite-qmi/lib/arm//liblite-qmi.a(swioma.o)
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: error: bin/packingdemoarm uses VFP register arguments, …/…/lite-qmi/lib/arm//liblite-qmi.a(qos.o) does not
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: failed to merge target specific data of file …/…/lite-qmi/lib/arm//liblite-qmi.a(qos.o)
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: error: bin/packingdemoarm uses VFP register arguments, …/…/lite-qmi/lib/arm//liblite-qmi.a(loc.o) does not
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: failed to merge target specific data of file …/…/lite-qmi/lib/arm//liblite-qmi.a(loc.o)
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: error: bin/packingdemoarm uses VFP register arguments, …/…/lite-qmi/lib/arm//liblite-qmi.a(sms.o) does not
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: failed to merge target specific data of file …/…/lite-qmi/lib/arm//liblite-qmi.a(sms.o)
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: error: bin/packingdemoarm uses VFP register arguments, …/…/lite-qmi/lib/arm//liblite-qmi.a(swiloc.o) does not
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: failed to merge target specific data of file …/…/lite-qmi/lib/arm//liblite-qmi.a(swiloc.o)
.
.
.
qmi/lib/arm//liblite-qmi.a(qmdcscommon.o)
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: error: bin/packingdemoarm uses VFP register arguments, …/…/lite-qmi/lib/arm//liblite-qmi.a(qaGobiApiNas.o) does not
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: failed to merge target specific data of file …/…/lite-qmi/lib/arm//liblite-qmi.a(qaGobiApiNas.o)
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: error: bin/packingdemoarm uses VFP register arguments, …/…/lite-qmi/lib/arm//liblite-qmi.a(qaNasInitiateNetworkRegistration.o) does not
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: failed to merge target specific data of file …/…/lite-qmi/lib/arm//liblite-qmi.a(qaNasInitiateNetworkRegistration.o)
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: error: bin/packingdemoarm uses VFP register arguments, …/…/lite-qmi/lib/arm//liblite-qmi.a(qaNasPerformNetworkScan.o) does not
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: failed to merge target specific data of file …/…/lite-qmi/lib/arm//liblite-qmi.a(qaNasPerformNetworkScan.o)
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: error: bin/packingdemoarm uses VFP register arguments, …/…/lite-qmi/lib/arm//liblite-qmi.a(qaCbkSwiOmaDmEventReportIndExt.o) does not
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: failed to merge target specific data of file …/…/lite-qmi/lib/arm//liblite-qmi.a(qaCbkSwiOmaDmEventReportIndExt.o)
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: error: bin/packingdemoarm uses VFP register arguments, …/…/lite-qmi/lib/arm//liblite-qmi.a(qaCbkDcsEventReportInd.o) does not
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: failed to merge target specific data of file …/…/lite-qmi/lib/arm//liblite-qmi.a(qaCbkDcsEventReportInd.o)
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: error: bin/packingdemoarm uses VFP register arguments, …/…/lite-qmi/lib/arm//liblite-qmi.a(qaCbkFmsEventReportInd.o) does not
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: failed to merge target specific data of file …/…/lite-qmi/lib/arm//liblite-qmi.a(qaCbkFmsEventReportInd.o)
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: error: bin/packingdemoarm uses VFP register arguments, …/…/lite-qmi/lib/arm//liblite-qmi.a(qaCbkOmaDmEventReportInd.o) does not
/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/libexec/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.8.3/ld: failed to merge target specific data of file …/…/lite-qmi/lib/arm//liblite-qmi.a(qaCbkOmaDmEventReportInd.o)
collect2: error: ld returned 1 exit status
make: *** [bin/packingdemoarm] Error 1

Is there a way to workaround this ? We appreciate any pointers.

Appreciate your help!!!