Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The upload-reset tool has wrong Linux 64-bit version #806

Open
yulix opened this issue Jul 3, 2020 · 3 comments
Open

The upload-reset tool has wrong Linux 64-bit version #806

yulix opened this issue Jul 3, 2020 · 3 comments

Comments

@yulix
Copy link

yulix commented Jul 3, 2020

In .../tools/linux64 directory, use file command to check the version, it is 32-bit

yulix@01:~/stm32/Arduino_STM32/tools/linux64$ file upload-reset
upload-reset: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=dc8dc5ad6de94179a9d534b1a34aeb6d906640b1, not stripped

In the same directory, the hid-flash tool has 64-bit version.

yulix@01:~/stm32/Arduino_STM32/tools/linux64$ file hid-flash
hid-flash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=0781b11c35343e90d85375e5a2e0fdbc33104e1f, not stripped

@stevstrong
Copy link
Collaborator

I am not familiar with LINUX.
What is the solution?

@dewhisna
Copy link
Contributor

@stevstrong -- this doesn't appear to be a "Linux issue" per se, but that whomever is building the Arduino_STM32 bundle is apparently mixing 32-bit and 64-bit binaries in the tools folders.

@stevstrong
Copy link
Collaborator

I really cannot understand and solve the issue.
Is there anyone who can help on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants