From nobody Tue Apr 11 20:13:31 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Pwxqc0mcvz44VJj for ; Tue, 11 Apr 2023 20:13:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pwxqb4rthz3KT9 for ; Tue, 11 Apr 2023 20:13:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681244011; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=i7SX8XuA00WLdlJesveMZCIKS6wRzQMm7euVk6unjPI=; b=VMiGdzB+UePzwP/E/ypVvSzOY4uza/JNMgqOd+Pn5XAMe0MhbgGj01RMbkhTRvHHiQ2n3C 0acskLS3swkn1cNUFkgcaB7gxBDOkn22J/ISdvM2HvkfsPQAQTMIk7JBeBPT6VM3q/jYnR ktOgB36+TOWhJNqRBI9ppX1oxoCPBD0VPgafKN0YK7RTj3Lwh26PQ4+i/KwxZnnh807nvF IQSBKpQj1VHAqQO7DtUw+pngN6qkRyh03bYUgAoKOgyVi9bd7U9HE/qU0QKtvsk7q0yjPR r7kSqnvINctJp9H9O1mlVIiMx5ubiwIRzOLT/Q5WDa0yQgrOD3Un8YA/r9810g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681244011; a=rsa-sha256; cv=none; b=sqZ1UdmN63ih8RLkhwBIxLJGtC+trcxQjqAHDRqXh4Zs+jfPNw2r729MlCa/v5pGYmBMJU vY6qPfhUcCrOzmgA6FYw4H/7q1/gP6aDpinKUmTVk9Kr5utKwRYv5CosEkPCvNwkANtE0V wSI8/pOA0cvYxfLoy8B4c5wNMT0L6jWsExmTpvvXW4cEMbpq1GRWQciT/QIJdlRe98mdDY tAsjsYALMD2Y58jAy3e+RkU/pCNlWDlmd7jozTT3oBDNcy61OgERrxvIaE7YhQJxase69z OSD39QiSpXn7e9XswltmAJcvKAyJ0zaAwLJ5DCLOoZhITPUIDMLMU1K5/rHqRg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Pwxqb3yzJzX2f for ; Tue, 11 Apr 2023 20:13:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 33BKDVZI082756 for ; Tue, 11 Apr 2023 20:13:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33BKDV6U082755 for ports-bugs@FreeBSD.org; Tue, 11 Apr 2023 20:13:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 270769] databases/postgresql13-client fails to build WITH_LLVM_BINUTILS (LLVM strip) Date: Tue, 11 Apr 2023 20:13:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pgsql@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter blocked flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270769 Bug ID: 270769 Summary: databases/postgresql13-client fails to build WITH_LLVM_BINUTILS (LLVM strip) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: pgsql@FreeBSD.org Reporter: emaste@freebsd.org Blocks: 258872 Flags: maintainer-feedback?(pgsql@FreeBSD.org) Assignee: pgsql@FreeBSD.org >From the exp-run in PR258872 https://pkg-status.freebsd.org/gohan05/data/mainamd64PR258872-default/2023-= 04-05_14h36m44s/logs/errors/postgresql13-client-13.10.log =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D STRIPPROG=3D'strip -x' /bin/sh ../../../config/install-sh -c -m 644 -s libp= q.a '/wrkdirs/usr/ports/databases/postgresql13-client/work/stage/usr/local/lib/= libpq.a' strip: error: '/wrkdirs/usr/ports/databases/postgresql13-client/work/stage/usr/local/lib/= _inst.20299_': not stripping symbol '.L.str' because it is named in a relocation =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D pgsql's build has requested to strip all non-global symbols (strip -x), but there is at least one non-global symbol that in fact cannot be stripped bec= ause it is referenced by a relocation. Both GNU strip and ELF Tool Chain strip silently handle this case (and just retain the local symbol), but LLVM strip is stricter and emits an error upon request to strip a non-removable local symbol. There is an LLVM ticket open for this at https://github.com/llvm/llvm-project/issues/47468. It probably makes sense = for LLVM strip to behave the same as GNU and ELF Tool Chain strip, but I believe pgsql should just not use strip -x when there are symbols that cannot be stripped. My suggestion would be to consider just not stripping .a archives. Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258872 [Bug 258872] [exp-run] WITH_LLVM_BINUTILS --=20 You are receiving this mail because: You are the assignee for the bug.=