On 15 November 2012 01:58, 남관우 kw46.nam@samsung.com wrote:
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.nam@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)
Ta. I'm afraid we don't have enough information to solve this. Could you please send a full build log and we can go from there. gzipped on a public server is best.
-- Michael
Hello mister Hope,
this is already solved.
There was -fpie option which cause that problem.
Pardon, i didn't inform you in time.
On 11/22/2012 04:58 AM, Michael Hope wrote:
On 15 November 2012 01:58, 남관우 kw46.nam@samsung.com wrote:
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.nam@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)
Ta. I'm afraid we don't have enough information to solve this. Could you please send a full build log and we can go from there. gzipped on a public server is best.
-- Michael
On 23 November 2012 02:43, Andrey Senkevich a.senkevich@samsung.com wrote:
Hello mister Hope,
this is already solved.
There was -fpie option which cause that problem.
Pardon, i didn't inform you in time.
Good to hear you have a solution,
-- Michael
linaro-toolchain@lists.linaro.org