Closed unsubtleguy closed 5 years ago
Hmm that's strange, I'm using gcc 9.2.1 under Debian without any issue, investigating...
I'm sorry but I tried:
docker run -it fedora:30
dnf install git make gcc gcc-c++ arm-none-eabi-gcc-cs arm-none-eabi-newlib readline-devel qt5-qtbase-devel libatomic
git clone https://github.com/RfidResearchGroup/proxmark3.git
cd proxmark3
make -j
and I didn't get any error.
Embarrassingly - it appears that I've raised this against the wrong repo, as it appears to be a problem in compiling https://github.com/Proxmark/proxmark3.git - not https://github.com/RfidResearchGroup/proxmark3
Curiously, this repo compiles fine (yet the official repo does not) - I'm not too interested in determining why, as I also have an RDV4 and would benefit from swapping to this project instead.
I'll see myself out, please mark this as an PEBCAC issue :)
Since you do have a RDV4, I do recommend use this repo.
No prob @unsubtleguy and welcome here. At least your ticket had the side-effect that we've added Fedora installation instructions to our docs ;)
Describe the bug Compiling on Fedora 29/30 using gcc 9.2.0 (arm-none-eabi-gcc (Fedora 9.2.0-1.fc30) 9.2.0) fails with the following error:
To Reproduce Steps to reproduce the behavior:
Expected behavior Compilation to succeed
Desktop (please complete the following information):
Additional context
Seems very similar to Very similar to https://github.com/RfidResearchGroup/proxmark3/issues/192 - I've modified
common/Makefile.common
to include-Wno-address-of-packed-member
under CFLAGs, and compilation succeeded - program seems to work normally after compilation too.For brevity, the patch i'm describing is as follows: