Hi,
Am 09.09.20 um 14:56 schrieb Goran Broeckaert:
I have a simple application which depends on grpc. I'm using Yocto Zeus
for my project and I've written the following recipe:
[snip]
The linker tries to link with the -native version of gRPC instead of the
target one. Can be seen in the following line from the output:
recipe-sysroot-native/usr/lib/libgrpc++.so.1.24.1: error adding symbols:
file in wrong format
The grpc cmake config requires the binaries and Yocto doesn't install
cross compile binaries into the sysroot. Therefore the grcp recipe has a
bad hack and install the cmake files from the native package:
SYSROOT_DIRS_BLACKLIST_append_class-target = "${baselib}/cmake/grpc"
I have try to fix the root cause in grpc but the pull request was closed
by the developers because 'Yocto is not a platform we [grpc] officially
support':
https://github.com/grpc/grpc/pull/22498
Regards
Stefan
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#142440):
https://lists.openembedded.org/g/openembedded-core/message/142440
Mute This Topic: https://lists.openembedded.org/mt/76731562/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-