gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cross compile gpsd-3.20.1~dev for arm with buildroot


From: Florian Kiera
Subject: Cross compile gpsd-3.20.1~dev for arm with buildroot
Date: Fri, 5 Jun 2020 16:39:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1

Heyo,

I am trying to update the gpsd version for our buildroot and keep running into an error:

/home/florian/Desktop/buildroot-2019.02.8.2/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-ld -o libgps.so.27.0.0 --sysroot=/home/florian/Desktop/buildroot-2019.02.8.2/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot -pthread -shared -Wl,-Bsymbolic -Wl,-soname=libgps.so.27 ais_json.os bits.os gpsdclient.os gps_maskdump.os gpsutils.os hex.os json.os libgps_core.os libgps_dbus.os libgps_json.os libgps_shm.os libgps_sock.os netlib.os os_compat.os rtcm2_json.os rtcm3_json.os shared_json.os timespec_str.os libgpsmm.os -L. -L/home/florian/Desktop/buildroot-2019.02.8.2/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/lib -L/home/florian/Desktop/buildroot-2019.02.8.2/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/lib -lstdc++ -lrt -lnsl -lm -ldbus-1 -ldbus-1 -lrt -lnsl
/home/florian/Desktop/buildroot-2019.02.8.2/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-ld: unrecognized option '-Wl,-Bsymbolic'
/home/florian/Desktop/buildroot-2019.02.8.2/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-ld: use the --help option for usage information

Full log: compile_fail.txt

I already know buildroot can be tricky sometimes. But how it comes that scons/gpsd is using the arm-buildroot-linux-uclibcgnueabihf-ld to compile the libgps.so while on x86_64 it uses the g++? It also used the g++ when compiling with the older version 3.18 (line 131 of compile-3.18_success.txt).

uclibcgnueabihf-ld isn't used a single time in the 3.18 cross compilation, why so in the 3.20 cross compilation? Its neither used in the compilation for x86_64.

Regards Florian

Attachment: compile-3.18_success.txt
Description: Text document

Attachment: compile_fail.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]