Title: Samsung Enterprise Portal mySingle

Hi,

 

As your guide, i tried to build again.

 

without : -mapcs -fno-common -fstack-protector --param==ssp=buffer-size=4
and -fPIC instead of -fpic

 

But it is failed with same the message. (/usr/lib/libnfc-common-lib.so.1: unexpected reloc type 0x03)

 

Thank you,

Kwanwoo Nam.

 

------- Original Message -------

Sender : 남관우<kw46....@samsung.com> S4(선임)/선임/SLP개발그룹(무선)/삼성전자

Date : 2012-11-14 21:45 (GMT+09:00)

Title : Re: Re: Re: unexpected reloc type 0x03 error with gcc-4.6.4 (2012.10 version)

 

Hi,

 

Here is our LDFLAGS.

-Wl,--rpath=/usr/lib -Wl,--as-needed

 

And i try to build with your guide.

without : -mapcs -fno-common
and -fPIC instead of -fpic

 

But it is failed with same the message. (/usr/lib/libnfc-common-lib.so.1: unexpected reloc type 0x03)

 

Thank you,

Kwanwoo Nam.

 

------- Original Message -------

Sender : Michael Hope<michael.h...@linaro.org>

Date : 2012-11-14 06:43 (GMT+09:00)

Title : Re: Re: unexpected reloc type 0x03 error with gcc-4.6.4 (2012.10 version)

 

On 14 November 2012 00:48, 남관우 wrote:
>
> Hi,
>
>
>
> First, our CFLAGS is here.
>
>
>
> -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,--as-needed
> -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mfpu=vfpv3-d16 -mfloat-abi=hard -mthumb -Wa,-mimplicit-it=thumb
> -mapcs -mno-sched-prolog -mabi=aapcs-linux -Uarm -fno-common -fpic
>
>
>
> It was occurred with the message. (/usr/lib/libnfc-common-lib.so.1: unexpected reloc type 0x03)
>
>
>
> Second,
>
> -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,--as-needed
> -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mfpu=vfpv3-d16 -mfloat-abi=hard -mthumb -Wa,-mimplicit-it=thumb
> -mapcs -mno-sched-prolog -fno-common -fpic
>
>
>
> It was occurred too. (/usr/lib/libnfc-common-lib.so.1: unexpected reloc type 0x03)


Hi there.  I don't know the cause but I'm suspicious of a few things.
Could you try the following builds?

The most likely:
* Without -mapcs
* Without  -fstack-protector --param=ssp-buffer-size=4

Less likely:
* Without -fno-common
* With -fPIC instead of -fpic (should make no difference on ARM)

Could you also send through the linker command line?  It would be
great to get a full log up on pastebin or similar.

-- Michael

 

 

_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to