public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/113971] New: failure to build on arm64 musl (#error "Unsupported AArch64 platform for heap trampolines")
@ 2024-02-17 13:51 csfore at posteo dot net
  2024-02-17 22:18 ` [Bug target/113971] [14 Regression] " pinskia at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: csfore at posteo dot net @ 2024-02-17 13:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113971

            Bug ID: 113971
           Summary: failure to build on arm64 musl (#error "Unsupported
                    AArch64 platform for heap trampolines")
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: csfore at posteo dot net
  Target Milestone: ---

Created attachment 57450
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57450&action=edit
build.log

Steps to reproduce:
1. Attempt to build latest snapshot on ARM64 with Musl
2. Failure to build with error below

Musl version: 1.2.3

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/aarch64-gentoo-linux-musl/13/lto-wrapper
Target: aarch64-gentoo-linux-musl
Configured with:
/var/tmp/portage/sys-devel/gcc-13.2.1_p20240113-r1/work/gcc-13-20240113/configure
--host=aarch64-gentoo-linux-musl --build=aarch64-gentoo-linux-musl
--prefix=/usr --bindir=/usr/aarch64-gentoo-linux-musl/gcc-bin/13
--includedir=/usr/lib/gcc/aarch64-gentoo-linux-musl/13/include
--datadir=/usr/share/gcc-data/aarch64-gentoo-linux-musl/13
--mandir=/usr/share/gcc-data/aarch64-gentoo-linux-musl/13/man
--infodir=/usr/share/gcc-data/aarch64-gentoo-linux-musl/13/info
--with-gxx-include-dir=/usr/lib/gcc/aarch64-gentoo-linux-musl/13/include/g++-v13
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/aarch64-gentoo-linux-musl/13/python
--enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt
--disable-werror --with-system-zlib --disable-nls
--disable-libunwind-exceptions --enable-checking=release
--with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo
13.2.1_p20240113-r1 p12' --with-gcc-major-version-only --enable-libstdcxx-time
--enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=posix
--enable-__cxa_atexit --disable-multilib --disable-fixed-point --enable-libgomp
--disable-libssp --disable-libada --disable-cet --disable-systemtap
--disable-valgrind-annotations --disable-vtable-verify --disable-libvtv
--without-zstd --without-isl --enable-default-pie --enable-default-ssp
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 13.2.1 20240113 (Gentoo 13.2.1_p20240113-r1 p12)

Error:
/var/tmp/portage/sys-devel/gcc-14.0.1_pre20240211-r1/work/gcc-14-20240211/libgcc/config/aarch64/heap-trampoline.c:53:2:
error: #error "Unsupported AArch64 platform for heap trampolines"
   53 | #error "Unsupported AArch64 platform for heap trampolines"
      |  ^~~~~
/var/tmp/portage/sys-devel/gcc-14.0.1_pre20240211-r1/work/gcc-14-20240211/libgcc/config/aarch64/heap-trampoline.c:
In function '__gcc_nested_func_ptr_created':
/var/tmp/portage/sys-devel/gcc-14.0.1_pre20240211-r1/work/gcc-14-20240211/libgcc/config/aarch64/heap-trampoline.c:146:30:
error: 'aarch64_trampoline_insns' undeclared (first use in this function); did
you mean 'aarch64_trampoline'?
  146 |   memcpy (trampoline->insns, aarch64_trampoline_insns,
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~
      |                              aarch64_trampoline

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-02-20 15:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-17 13:51 [Bug target/113971] New: failure to build on arm64 musl (#error "Unsupported AArch64 platform for heap trampolines") csfore at posteo dot net
2024-02-17 22:18 ` [Bug target/113971] [14 Regression] " pinskia at gcc dot gnu.org
2024-02-17 23:27 ` iains at gcc dot gnu.org
2024-02-18 16:28 ` iains at gcc dot gnu.org
2024-02-20 15:03 ` cvs-commit at gcc dot gnu.org
2024-02-20 15:06 ` iains at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).