NetBSD Problem Report #58353

From wiz@exadelic.gatalith.at  Wed Jun 19 11:09:47 2024
Return-Path: <wiz@exadelic.gatalith.at>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 918F61A9238
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 19 Jun 2024 11:09:47 +0000 (UTC)
Message-Id: <20240619110941.70DCE2EBBAE4@exadelic.gatalith.at>
Date: Wed, 19 Jun 2024 13:09:41 +0200 (CEST)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Subject: ld.elf_so problem with gcc12 + gtk4
X-Send-Pr-Version: 3.95

>Number:         58353
>Category:       toolchain
>Synopsis:       ld.elf_so problem with gcc12 + gtk4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 19 11:10:00 +0000 2024
>Last-Modified:  Fri Jun 21 08:20:01 +0000 2024
>Originator:     Thomas Klausner
>Release:        NetBSD 10.99.10
>Organization:

>Environment:


Architecture: x86_64
Machine: amd64
>Description:
When building gtk4 on a -current system with gcc 12 and

PKGSRC_USE_RELRO=       full

in /etc/mk.conf (you'll have to comment out "RELRO_SUPPORTED= partial"
in x11/gtk4/Makefile), there is a core dump of Gdk4 during the build.

The problem with the package is tracked in PR 57792, but Rin Okuyama
requested a separate bug report for the toolchain.

>How-To-Repeat:
Comment out "RELRO_SUPPORTED= partial" in x11/gtk4/Makefile, add
PKGSRC_USE_RELRO=       full
to /etc/mk.conf and try building x11/gtk4 on -current with gcc12.
>Fix:
Not known.

>Audit-Trail:
From: Patrick Welche <prlw1@welche.eu>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: toolchain/58353: ld.elf_so problem with gcc12 + gtk4
Date: Fri, 21 Jun 2024 09:12:30 +0100

 On Wed, Jun 19, 2024 at 11:10:01AM +0000, Thomas Klausner wrote:
 > The problem with the package is tracked in PR 57792, but Rin Okuyama
 > requested a separate bug report for the toolchain.

 Information in PR 57792 is not restricted to the package and
 is worth reading IMHO.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.