Summary: | devel/xtensa-esp32-elf fails to build with GCC 8 (and is years outdated) | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Gerald Pfeifer <gerald> |
Component: | Individual Port(s) | Assignee: | Craig Leres <leres> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | gerald |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
Bug Depends on: | |||
Bug Blocks: | 231590 |
Description
Gerald Pfeifer
2018-11-03 14:03:24 UTC
I've tested USE_GCC=7 and will commit change that soon.
Regarding obsolete gcc versions, Kyle Evans provide a great answer last time
this came up:
On 5/22/18 3:56 AM, Kyle Evans wrote:
> This is kind of a crosstool-NG/vendor thing -- they maintain a stable
> set of versions that they've confirmed works correctly for the target
> platform in question, and they move ahead a little more
> cautiously/slowly then the rest of us might because they have to
> consider correctness, size, and speed with each toolchain upgrade.
For example openvehicles.com depends on this version of the toolchain (which is why I created the port in the first place). This toolchain can also be used to build esp32/arduino sketches.
A commit references this bug: Author: leres Date: Sun Nov 4 02:01:11 UTC 2018 New revision: 483956 URL: https://svnweb.freebsd.org/changeset/ports/483956 Log: Pin to gcc7 and unblock 231590 which wants to update GCC_DEFAULT from 7 to 8. PR: 232933 Reported by: Gerald Pfeifer Approved by: ler (mentor, implicit) Changes: head/devel/xtensa-esp32-elf/Makefile (In reply to Craig Leres from comment #1) > I've tested USE_GCC=7 and will commit change that soon. Thank you, Craig! > Regarding obsolete gcc versions, Kyle Evans provide a great answer last time > this came up: Fair enough, though GCC 5.2 is reaaally rather old by now (even within the GCC 5 series) so there may be problems we'll be running into later on, even with USE_GCC=7. |