Bug 281951 - devel/xtensa-esp-elf: missing toolchain binaries/wrapper and/or symlinks for esp32-*, esp32s2-*, esp32s3-*
Summary: devel/xtensa-esp-elf: missing toolchain binaries/wrapper and/or symlinks for ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Craig Leres
URL:
Keywords:
Depends on:
Blocks: 281692
  Show dependency treegraph
 
Reported: 2024-10-09 08:35 UTC by O. Hartmann
Modified: 2024-10-18 20:25 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (leres)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2024-10-09 08:35:27 UTC
Using Espressif's official IDF v5.3.1 using devel/xtensa-esp-elf, fails with missing toolchain binaries. i.e.

bin/xtensa-esp32-elf-c++
...

or, for instance another target, like ESP32s3 is desired,

bin/xtensa-esp32s3-elf-c++

is missing.

This is due the fact, this port installs binaries in a common/generic way but misses a wrapper for the toolchain's binaries and probably further libs and so on.
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-10-16 04:13:29 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5c481f617d09312d3604a16765fcb296c5835bef

commit 5c481f617d09312d3604a16765fcb296c5835bef
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2024-10-16 04:12:09 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2024-10-16 04:12:09 +0000

    devel/xtensa-esp-elf: Add espressif bin wrappers

    Build and install the espressif rust based wrapper.

    According to upstream, the target xtensa cpu is set via the
    XTENSA_GNU_CONFIG environment variable for gcc 12 and later.

    In addition to esp32 the esp32s2 and esp32s3 target cpus are now
    supported.

    While we're here, change to USE_GCC=yes:build.

    PR:             281951

 devel/xtensa-esp-elf/Makefile  | 81 +++++++++++++++++++++++++++++++++------
 devel/xtensa-esp-elf/distinfo  |  8 +++-
 devel/xtensa-esp-elf/pkg-descr |  3 +-
 devel/xtensa-esp-elf/pkg-plist | 87 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 166 insertions(+), 13 deletions(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-10-18 20:25:48 UTC
A commit in branch 2024Q4 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d885d8e5be190265d45d9ec38de68037f240db18

commit d885d8e5be190265d45d9ec38de68037f240db18
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2024-10-16 04:12:09 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2024-10-18 20:24:55 +0000

    devel/xtensa-esp-elf: Add espressif bin wrappers

    Build and install the espressif rust based wrapper.

    According to upstream, the target xtensa cpu is set via the
    XTENSA_GNU_CONFIG environment variable for gcc 12 and later.

    In addition to esp32 the esp32s2 and esp32s3 target cpus are now
    supported.

    While we're here, change to USE_GCC=yes:build.

    PR:             281951
    (cherry picked from commit 5c481f617d09312d3604a16765fcb296c5835bef)

 devel/xtensa-esp-elf/Makefile  | 81 +++++++++++++++++++++++++++++++++------
 devel/xtensa-esp-elf/distinfo  |  8 +++-
 devel/xtensa-esp-elf/pkg-descr |  3 +-
 devel/xtensa-esp-elf/pkg-plist | 87 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 166 insertions(+), 13 deletions(-)