AVR Downloader/UploaDEr - Bugs: bug #54387, minor compiler warnings
You are not allowed to post comments on this tracker with your current authentication level.
bug #54387: minor compiler warnings
Submitter: | Dave Braun <sk8nfool> | ||
Submitted: | Thu 26 Jul 2018 01:52:55 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | None |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Name: | sk8nfool |
Open/Closed: | Open | Release: | 6.3 |
Programmer hardware: | N/A | Device type: | N/A |
Sat 28 Jul 2018 11:57:33 AM UTC, comment #2: |
Dave Braun <sk8nfool> |
Thu 26 Jul 2018 07:48:55 PM UTC, comment #1: Frankly, I have no idea what is the definition for EM_AVR32 that could actually be found in AVR32 ELF files in the wild ... 0x18ad seems to have been historically used, but obviously never made it into any official state.
|
Joerg Wunsch <joerg_wunsch>![]() |
Thu 26 Jul 2018 01:52:55 PM UTC, original submission:
Compiling version 6.3 from source on Ubuntu 18.04 reports a redefinition warning that seems to be currently benign but may cause problems in the future. The error is
|
Dave Braun <sk8nfool> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2018-07-26 | sk8nfool | Attached File | - | ![]() |
Added excerpt.log, #44628 |
I'm confused. What is 0x18AD? The ELF package has a bunch of constants define for use in the e_machine field of the elf32 and elf64 headers. These are simple integers ranging from 0 (EM_NONE) to 247 (EM_BPF). These are set by whatever application creates the ELF formatted file. To my knowledge 0x18AD doesn't fit this definition!
There is a comment in the elf.h file suggesting using large random numbers for new architectures. But there is a definition for the 32 bit AVR architecture. Perhaps 0x18AD is left over from ancient history when the 32 bit AVR architecture was new? If that's the case then there is a need for two constants - the official value (185) and the unofficial value (0x18AD).