|
|
Message-ID: <20260615131730.GO3520958@port70.net> Date: Mon, 15 Jun 2026 15:17:30 +0200 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Cc: devel@...ibc-ng.org Subject: sh fdpic gcc-15 regression gcc-15 added fdpic support in libbacktrace (for the xtensa fdpic port) https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=c6803cdaba7a7bf933e52cd36f901430253cc2b0 https://inbox.sourceware.org/gcc-patches/20240527065026.855607-1-jcmvbkbc@gmail.com/ this broke the gcc build for sh2eb-linux-muslfdpic because it assumes link.h defines __RELOC_POINTER and elf32_fdpic_loadaddr (ugly api..). the easy fix is to disable the new fdpic code for __SH_FDPIC__. but i wonder if there is and actual abi issue in musl because those defs are used in uclibc fdpic targets (frv, bfin, arm, xtensa) for the dl_iterate_phdr api (used by libgcc for unwinding). is this api broken on muslfdpic i.e. did the unwinder ever work? https://github.com/wbx-github/uclibc-ng/blob/master/include/link.h#L185 https://github.com/wbx-github/uclibc-ng/blob/master/libc/sysdeps/linux/xtensa/bits/elf-fdpic.h (i'm not running anything on sh2, just testing mcm builds)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.