-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
Upgrade to GCC 10.1 toolchain #6294
Commits on Jul 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 59023e9 - Browse repository at this point
Copy the full SHA 59023e9View commit details -
Rebuilt using pure GNU binutils and GCC
Remove dependencies on earlier forked GNU utilities (gcc-xtensa, binutils-gdb-xtensa) and just use GCC sources, unmodified (except for patches in the esp-quick-toolchain directories).
Configuration menu - View commit details
-
Copy full SHA for 8642204 - Browse repository at this point
Copy the full SHA 8642204View commit details -
Configuration menu - View commit details
-
Copy full SHA for 354cfcd - Browse repository at this point
Copy the full SHA 354cfcdView commit details -
GDB works with pure GNU GCC and pure GNU binutils now. Still warnings galore, but tested with the example sketch in the docs.
Configuration menu - View commit details
-
Copy full SHA for 99a0c6f - Browse repository at this point
Copy the full SHA 99a0c6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 83f308e - Browse repository at this point
Copy the full SHA 83f308eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33fee67 - Browse repository at this point
Copy the full SHA 33fee67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 726f0e9 - Browse repository at this point
Copy the full SHA 726f0e9View commit details -
Fix deprecated implicit copy ctors in IP code
Fix some warnings present in GCC8/9 in the IPAddress code In AddressListIterator there was a copy constructor which simply copied the structure bit-for-bit. That's the default operation, so remove it to avoid the warning there. IPAddress, add a default copy constructor since the other copy constructors are simply parsing from one format into a native ip_addr_t. @d-a-v, can you give these a look over and see if they're good (since IP stuff is really your domain).
Configuration menu - View commit details
-
Copy full SHA for 3afe9e3 - Browse repository at this point
Copy the full SHA 3afe9e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef74b7c - Browse repository at this point
Copy the full SHA ef74b7cView commit details -
Fix WiFiClientSecure implicit default copy ctor
These both use shared-ptrs to handle refcnts to allocated data, so using the default copy constructor is fine (and has been in use for a long time).
Configuration menu - View commit details
-
Copy full SHA for a15ab56 - Browse repository at this point
Copy the full SHA a15ab56View commit details -
Dummy size for heap to avoid GCC 8/9 warnings
Make GCC think _heap_start is large enough to avoid the basic (and incorrect) bounds-checking warnings it produces. The size chosen is arbitrary and does not affect the actual size of the heap in any way.
Configuration menu - View commit details
-
Copy full SHA for 3065a3f - Browse repository at this point
Copy the full SHA 3065a3fView commit details
Commits on Jul 14, 2019
-
Make heap an undefined extend array
Instead of a bogus size, use an indefinite size for the heap to avoid GCC warnings
Configuration menu - View commit details
-
Copy full SHA for a68d8ce - Browse repository at this point
Copy the full SHA a68d8ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for b0a5fe6 - Browse repository at this point
Copy the full SHA b0a5fe6View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb3df45 - Browse repository at this point
Copy the full SHA bb3df45View commit details -
Fix ticker function cast warnings in GCC 9
The callback function is defined to take a (void*) as parameter, but our templates let users use anything that fits inside sizeof(void*) to be passed in. Add pragmas to stop GCC warnings about this, since we already check the size of the type will fit in the allocated space.
Configuration menu - View commit details
-
Copy full SHA for 71f48ac - Browse repository at this point
Copy the full SHA 71f48acView commit details -
Remove GCC support fcn that's in ROM
Manually delete the divdi3.so from the libgcc.a library by running the updated EQT's 9.1-post script.
Configuration menu - View commit details
-
Copy full SHA for f4cc2d1 - Browse repository at this point
Copy the full SHA f4cc2d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1168360 - Browse repository at this point
Copy the full SHA 1168360View commit details
Commits on Jul 15, 2019
-
Make exceptions work again, get std::regex up
Exceptions are broken on all builds (GCC4.8-9.1) due to the removal of the PROGMEM non-32b read exception handler (added in the unstable pre3.0.0). Build the exception code with -mforce-l32 and patch accordingly to avoid LoadStore errors. Apply patches to select portions of the regex lib which use _stype_ (which is now in flash).
Configuration menu - View commit details
-
Copy full SHA for 1cb9282 - Browse repository at this point
Copy the full SHA 1cb9282View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5ee285 - Browse repository at this point
Copy the full SHA e5ee285View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86812e6 - Browse repository at this point
Copy the full SHA 86812e6View commit details
Commits on Jul 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9f6c8f5 - Browse repository at this point
Copy the full SHA 9f6c8f5View commit details -
Workaround g++ template section problem for exception strings
G++ seems to throw out the section attributes for templates. This means that the __EXCSTR(a synonym for "PSTR()") is ignored and exception.what strings are stored in RODATA, eating up RAM. Workaround by using the linker to place the strings keying off their name ("*__exception_what__*").
Configuration menu - View commit details
-
Copy full SHA for c5fcedd - Browse repository at this point
Copy the full SHA c5fceddView commit details -
Rebuild moving exception.what to unique names
Exception.whats are now all in __exception_what__ and can be moved by the linker to flash. Works aroung G++ issue with segments being lost in templates.
Configuration menu - View commit details
-
Copy full SHA for b279f33 - Browse repository at this point
Copy the full SHA b279f33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c695a5 - Browse repository at this point
Copy the full SHA 3c695a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8240618 - Browse repository at this point
Copy the full SHA 8240618View commit details
Commits on Jul 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 357e2eb - Browse repository at this point
Copy the full SHA 357e2ebView commit details -
Update to latest libs, save iram
Move two GCC FP support routines out of iram since they are in ROM already, saving some add'l IRAM. Same list as gcc 4.8.
Configuration menu - View commit details
-
Copy full SHA for 0151092 - Browse repository at this point
Copy the full SHA 0151092View commit details
Commits on Jul 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for bb3bde9 - Browse repository at this point
Copy the full SHA bb3bde9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6944b6f - Browse repository at this point
Copy the full SHA 6944b6fView commit details
Commits on Aug 19, 2019
-
Configuration menu - View commit details
-
Copy full SHA for cf04569 - Browse repository at this point
Copy the full SHA cf04569View commit details
Commits on Aug 20, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b7cdc03 - Browse repository at this point
Copy the full SHA b7cdc03View commit details -
Fix "reinterpret_case is not a constexpr" error
In GCC 9 (and 8 from what I read on SO), a cast of a const int to a function pointer (via explicit or implicit reinterpret_cast) is not a constexpr. ```` /home/earle/Arduino/hardware/esp8266com/esp8266/cores/esp8266/umm_malloc/umm_performance.cpp:45:36: error: a reinterpret_cast is not a constant expression 45 | int constexpr (*_rom_putc1)(int) = (int (*)(int))(void*)0x40001dcc; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```` Remove the constexpr, potentially increasing heap usage by 4 bytes in debug mode.
Configuration menu - View commit details
-
Copy full SHA for 7f2ad70 - Browse repository at this point
Copy the full SHA 7f2ad70View commit details
Commits on Sep 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 58e909e - Browse repository at this point
Copy the full SHA 58e909eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c3d12b - Browse repository at this point
Copy the full SHA 1c3d12bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 230891d - Browse repository at this point
Copy the full SHA 230891dView commit details
Commits on Sep 30, 2019
-
Upgrade to GCC 9.2, released in August 2019
Add builds for all 5 cross-compiles to pass CI
Configuration menu - View commit details
-
Copy full SHA for 22ecb65 - Browse repository at this point
Copy the full SHA 22ecb65View commit details
Commits on Oct 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d17bac3 - Browse repository at this point
Copy the full SHA d17bac3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 910fe3a - Browse repository at this point
Copy the full SHA 910fe3aView commit details
Commits on Nov 19, 2019
-
Configuration menu - View commit details
-
Copy full SHA for e4c2c69 - Browse repository at this point
Copy the full SHA e4c2c69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89c3add - Browse repository at this point
Copy the full SHA 89c3addView commit details -
Configuration menu - View commit details
-
Copy full SHA for 293ba4d - Browse repository at this point
Copy the full SHA 293ba4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8115e1f - Browse repository at this point
Copy the full SHA 8115e1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d6f0f1 - Browse repository at this point
Copy the full SHA 9d6f0f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e684db1 - Browse repository at this point
Copy the full SHA e684db1View commit details
Commits on Dec 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 075d9c1 - Browse repository at this point
Copy the full SHA 075d9c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe8b4da - Browse repository at this point
Copy the full SHA fe8b4daView commit details
Commits on Dec 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 541c92e - Browse repository at this point
Copy the full SHA 541c92eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9a315c - Browse repository at this point
Copy the full SHA e9a315cView commit details -
Move add'l softFP from IRAM to flash
Per @mikee47, we miss sone add'l soft-FP routined in the linker which makes them end up in IRAM. Move them explicitly into flash, like a couple others we have already done this for.
Configuration menu - View commit details
-
Copy full SHA for b33206d - Browse repository at this point
Copy the full SHA b33206dView commit details -
Move to std=c++17/c17 in platform, remove abs/round
Move to C++17 and C17 standards on the compiler options. Remove "register" from core since it is deprecated. Remove the #define abs() and #define round() which a) overwrote the C stdlib definitions, poorly, and b) broke the GCC core code which used "abs" as an internal function name. Now abs() returns an integer, and not whatever was being absoluted. fabs() etc. can be used if users need fload/double suport. round() returns a double now, which is basically what it was returning in the original case since adding/subtracting by a FP.
Configuration menu - View commit details
-
Copy full SHA for 4e292d7 - Browse repository at this point
Copy the full SHA 4e292d7View commit details
Commits on Dec 9, 2019
-
Use std::abs/round to replace the macro definitions
Per discussion w/@devyte, preserve the abs() and round() functionality via the using statement.
Configuration menu - View commit details
-
Copy full SHA for 0f2e6ab - Browse repository at this point
Copy the full SHA 0f2e6abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98aa5f0 - Browse repository at this point
Copy the full SHA 98aa5f0View commit details
Commits on Dec 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f5f7673 - Browse repository at this point
Copy the full SHA f5f7673View commit details -
Add 2nd arg (exception handler) to ets_isr_t
Disassembly of the ROM shows there are 2 params to the ets_isr_t callback. The first is the arg passed in, the second is a pointer to an exception frame where you can get info about when the IRQ happened.
Configuration menu - View commit details
-
Copy full SHA for 54013d7 - Browse repository at this point
Copy the full SHA 54013d7View commit details -
Move the gdbstub example to a subdir
The Arduino IDE and the build CI don't build it without a subdir, so make one for gdbstub's example so it's visible and tested.
Configuration menu - View commit details
-
Copy full SHA for d79cd6c - Browse repository at this point
Copy the full SHA d79cd6cView commit details -
Fix ets_irq_arratch redefinition and core IRQ handlers
Remove a duplicated, different declaration for ets_irq_attach from ets_sys.h. It never really even matched the other declaration in the same header. Update the core to IRQ handlers to fix the prototype and include the 2nd, unused frame parameter.
Configuration menu - View commit details
-
Copy full SHA for 39dd0b9 - Browse repository at this point
Copy the full SHA 39dd0b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6686826 - Browse repository at this point
Copy the full SHA 6686826View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87a9a50 - Browse repository at this point
Copy the full SHA 87a9a50View commit details
Commits on Dec 12, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7090f68 - Browse repository at this point
Copy the full SHA 7090f68View commit details
Commits on Feb 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a00e6b9 - Browse repository at this point
Copy the full SHA a00e6b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91d21b6 - Browse repository at this point
Copy the full SHA 91d21b6View commit details
Commits on Feb 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5d2f09d - Browse repository at this point
Copy the full SHA 5d2f09dView commit details
Commits on Feb 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9074bb9 - Browse repository at this point
Copy the full SHA 9074bb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89cacef - Browse repository at this point
Copy the full SHA 89cacefView commit details
Commits on Mar 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4ffe519 - Browse repository at this point
Copy the full SHA 4ffe519View commit details -
Configuration menu - View commit details
-
Copy full SHA for afff569 - Browse repository at this point
Copy the full SHA afff569View commit details
Commits on Apr 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7926828 - Browse repository at this point
Copy the full SHA 7926828View commit details -
Configuration menu - View commit details
-
Copy full SHA for d661ac6 - Browse repository at this point
Copy the full SHA d661ac6View commit details
Commits on May 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 70ec21a - Browse repository at this point
Copy the full SHA 70ec21aView commit details -
Merge master and fix eboot build
GCC10 now uses `-fno-common` so the eboot global variables were being placed in IRAM. Adjust the makefile and rebuild to fix.
Configuration menu - View commit details
-
Copy full SHA for 24f5500 - Browse repository at this point
Copy the full SHA 24f5500View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43f9f0e - Browse repository at this point
Copy the full SHA 43f9f0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ca6e78 - Browse repository at this point
Copy the full SHA 8ca6e78View commit details
Commits on May 20, 2020
-
Pull in latest PSTR changes and fix GCC10.1 build
Somehow the prior GCC build's -mforce32 patch wasn't applying correctly, but I was still able to get a binary. Fixed. Also pulled in latest PSTR changes in progmem.h
Configuration menu - View commit details
-
Copy full SHA for d2b4e4c - Browse repository at this point
Copy the full SHA d2b4e4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce07fd5 - Browse repository at this point
Copy the full SHA ce07fd5View commit details
Commits on Jun 3, 2020
-
Merge branch 'master' of https://github.com/esp8266/Arduino into gcc9.1
Rebuild eboot.elf with new sources.
Configuration menu - View commit details
-
Copy full SHA for 7c29e67 - Browse repository at this point
Copy the full SHA 7c29e67View commit details
Commits on Jun 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7a20b53 - Browse repository at this point
Copy the full SHA 7a20b53View commit details
Commits on Jun 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 20b620d - Browse repository at this point
Copy the full SHA 20b620dView commit details
Commits on Jun 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c4dea28 - Browse repository at this point
Copy the full SHA c4dea28View commit details
Commits on Jun 17, 2020
-
Optional stack smash protection -fstack-protector
Add a menu to enable GCC's built-in stack smash protection. When a subroutine goes past its end of stack, generate a crashdump on function exit like: ```` GCC detected stack overrun Stack corrupted, stack smash detected. >>>stack>>> ctx: cont sp: 3fffff20 end: 3fffffc0 offset: 0000 3fffff20: 40202955 00000001 0000001c 4020287e 3fffff30: feefeffe 000000fd 00000000 00000000 ... <<<stack<<< ```` Disabled by default because there is a small per-function code overhead (and CPU time if the function is called very frequently and is very small). BearSSL and LWIP are not built using stack smash detection, yet.
Configuration menu - View commit details
-
Copy full SHA for 803bcf8 - Browse repository at this point
Copy the full SHA 803bcf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f8a196 - Browse repository at this point
Copy the full SHA 8f8a196View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c99453 - Browse repository at this point
Copy the full SHA 2c99453View commit details -
Dump faulting function PC in stack overflow
Report a fake exception to have the exception decoder print the actual faulting function. This won't tell you where in the function the issue happened, but it will tell you the function name first and foremost.
Configuration menu - View commit details
-
Copy full SHA for 5559729 - Browse repository at this point
Copy the full SHA 5559729View commit details
Commits on Jul 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for db8ef89 - Browse repository at this point
Copy the full SHA db8ef89View commit details -
Configuration menu - View commit details
-
Copy full SHA for d17dc0f - Browse repository at this point
Copy the full SHA d17dc0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 837a4e0 - Browse repository at this point
Copy the full SHA 837a4e0View commit details