From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C2DD038449C2; Fri, 3 May 2024 20:08:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C2DD038449C2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714766938; bh=eMIzD3h/qSBn0DQfIF5H7gPMeGngfjmt4+X2ni+Xwgc=; h=From:To:Subject:Date:From; b=CYTUv9oIEGR0OkNgyP9jq9JEL3ZZoRK38YY4YNGPVDgtP9+92zMm2U1hqZ/wfm75i iMmrU4qoinHddcgfKckdh9xLl4H3lktUfrErMOHJve7WLpCFY7Zvve5/6jWvy9h0ce v6cbKm7mNL+RRrT92i+FoT5XeCmAWNYRZE4zkhNk= From: "jcmvbkbc at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libbacktrace/114941] New: libbacktrace build is broken for FDPIC uclibc targets by gcc-14-5173-g2b64e4a54042 Date: Fri, 03 May 2024 20:08:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libbacktrace X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jcmvbkbc at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114941 Bug ID: 114941 Summary: libbacktrace build is broken for FDPIC uclibc targets by gcc-14-5173-g2b64e4a54042 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libbacktrace Assignee: unassigned at gcc dot gnu.org Reporter: jcmvbkbc at gcc dot gnu.org CC: ian at gcc dot gnu.org Target Milestone: --- A fix for the https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111315 turned = on the use of the dl_iterate_phdr interface in the libbacktrace, but since the typ= e of the dl_phdr_info::dlpi_addr on FDPIC targets using uclibc is not compatible with uintptr_t the libstdc++-v3 build breaks for these targets with the following message: elf.c:7372:62: error: incompatible type for argument 6 of =E2=80=98elf_add= =E2=80=99 7372 | if (elf_add (pd->state, filename, descriptor, NULL, 0, info->dlpi_addr, |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 ~~~~^~~~~~~~~~~ | | | struct elf32_fdpic_loadaddr elf.c:6504:20: note: expected =E2=80=98uintptr_t=E2=80=99 {aka =E2=80=98uns= igned int=E2=80=99} but argument is of type =E2=80=98struct elf32_fdpic_loadaddr=E2=80=99=