Re: [yocto] arm-*-linux-gnueabi : unrecognized option -Wl, -soname

2016-09-06 Thread Khem Raj
> On Sep 5, 2016, at 6:00 AM, Pietro wrote: > > Well, > > I am cross-compiling the gRPC using the Yocto build system, I have > created a recipe for a new package which generates the gRPC > library(ies). > > The error comes from here *guess* : > ifeq ($(SYSTEM),Darwin) > $(Q) $(LD) $(LDFLAG

Re: [yocto] arm-*-linux-gnueabi : unrecognized option -Wl, -soname

2016-09-06 Thread Pietro
Maciej Borzęcki writes: > On Tue, Sep 6, 2016 at 12:05 PM, Pietro wrote: >> >> >> >> "Daniel." writes: >> >>> I *guess* that it should be -Wl,-soname=libgpr.so.1 intead of >>> -Wl,-soname,libgpr.so.1. Now from where this flags are comming is a >>> good question.. >> >> No that is correct, I dou

Re: [yocto] arm-*-linux-gnueabi : unrecognized option -Wl, -soname

2016-09-06 Thread Maciej Borzęcki
On Tue, Sep 6, 2016 at 12:05 PM, Pietro wrote: > > > > "Daniel." writes: > >> I *guess* that it should be -Wl,-soname=libgpr.so.1 intead of >> -Wl,-soname,libgpr.so.1. Now from where this flags are comming is a >> good question.. > > No that is correct, I double checked. > > I would love to build

Re: [yocto] arm-*-linux-gnueabi : unrecognized option -Wl, -soname

2016-09-06 Thread Pietro
"Daniel." writes: > I *guess* that it should be -Wl,-soname=libgpr.so.1 intead of > -Wl,-soname,libgpr.so.1. Now from where this flags are comming is a > good question.. No that is correct, I double checked. I would love to build the library "by hand" - namely without using bitbake - from t

Re: [yocto] arm-*-linux-gnueabi : unrecognized option -Wl, -soname

2016-09-05 Thread Daniel.
Try to crosscompile "by hand" using Yocto toolschains. then try to crosscompile it inside Yocto. Does gRPC uses autotools? If so you may be interested in $CONFIGURE_FLAGS setted by Yocto' environment setup script. Here is an example of how I did compile libfprint using Yocto's toolchain: http://pas

Re: [yocto] arm-*-linux-gnueabi : unrecognized option -Wl, -soname

2016-09-05 Thread Pietro
Well, I am cross-compiling the gRPC using the Yocto build system, I have created a recipe for a new package which generates the gRPC library(ies). The error comes from here *guess* : ifeq ($(SYSTEM),Darwin) $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)gpr$(S

Re: [yocto] arm-*-linux-gnueabi : unrecognized option -Wl, -soname

2016-09-05 Thread Daniel.
I *guess* that it should be -Wl,-soname=libgpr.so.1 intead of -Wl,-soname,libgpr.so.1. Now from where this flags are comming is a good question.. 2016-09-05 9:17 GMT-03:00 Pietro : > > Hi all, > > I want to cross compile the gRPC library for ARM and I am using the > Yocto build system. > > The bui

[yocto] arm-*-linux-gnueabi : unrecognized option -Wl, -soname

2016-09-05 Thread Pietro
Hi all, I want to cross compile the gRPC library for ARM and I am using the Yocto build system. The build fails for the following error, which I am suspicious has something to do with the compiler being used: [LD] Linking /export/arm/xxx/PD15.1/build/tmp-glibc/work/cortexa8t2hf-vfp-neon-p