[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Illegal instruction....
From: |
David J Taylor |
Subject: |
Re: Illegal instruction.... |
Date: |
Tue, 26 May 2020 19:44:57 +0100 |
pi@raspi-3:~/gpsd $ sudo file /bin/tar
/bin/tar: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV),
dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux
3.2.0, BuildID[sha1]=53533d506171c559ad7c50eecf27e585e511040f, stripped
pi@raspi-3:~/gpsd $ file /usr/local/lib/libgps.so.27.0.0
/usr/local/lib/libgps.so.27.0.0: ELF 32-bit LSB pie executable, ARM, EABI5
version 1 (SYSV), dynamically linked,
BuildID[sha1]=758c80d49b842ca7a3581ba7f47b5fc16674ed90, stripped
There is the smoking gun. You can't mix and match those two.
RGDS
GARY
===================================
Thanks, Gary. I don't know how the "ELF 32-bit LSB pie executable" got into
the libgps.so, but it is from running the "scons --config=force && scons
install" from the gitlab as you suggested. I can tell that from the date
and time.
Checking the cgps executable (which works):
pi@raspi-3:~ $ file `which cgps`
/usr/local/bin/cgps: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV),
dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux
3.2.0, BuildID[sha1]=9a25919cfce7994c5238a0f8171bebbe716c3019, stripped
shows that compiling as part of the scons commands produced a working
program (without the "pie"), so I should be able to compile my program in
the same way if you could please share the compile and link used to create
cgps. I don't know where to look in the git clone to see the flags and
commands.
Thanks,
David
--
SatSignal Software - Quality software for you
Web: https://www.satsignal.eu
Email: address@hidden
Twitter: @gm8arv
- Re: Illegal instruction...., (continued)
- Re: Illegal instruction...., Martin Burnicki, 2020/05/25
- Re: Illegal instruction...., David J Taylor, 2020/05/25
- Re: Illegal instruction...., Gary E. Miller, 2020/05/25
- Re: Illegal instruction...., Paul Theodoropoulos, 2020/05/25
- Re: Illegal instruction...., David J Taylor, 2020/05/26
- Re: Illegal instruction...., Martin Burnicki, 2020/05/26
- Re: Illegal instruction...., David J Taylor, 2020/05/26
- Re: Illegal instruction...., Martin Burnicki, 2020/05/26
- Re: Illegal instruction...., David J Taylor, 2020/05/26
- Re: Illegal instruction...., Gary E. Miller, 2020/05/26
- Re: Illegal instruction....,
David J Taylor <=
- Re: Illegal instruction...., Gary E. Miller, 2020/05/26
- Re: Illegal instruction...., David J Taylor, 2020/05/27
- Re: Illegal instruction...., Bryan Christianson, 2020/05/27
- Re: Illegal instruction...., David J Taylor, 2020/05/27
- Re: Illegal instruction...., Charles Curley, 2020/05/27
- Re: Illegal instruction...., David J Taylor, 2020/05/27
- Re: Illegal instruction...., Charles Curley, 2020/05/27
- Re: Illegal instruction...., David J Taylor, 2020/05/28
- Re: Illegal instruction...., Bryan Christianson, 2020/05/26
- Re: Illegal instruction...., David J Taylor, 2020/05/26