From nobody Fri Mar 22 20:49:34 2024 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 4V1ZFW2547z5FKY2 for ; Fri, 22 Mar 2024 20:49:35 +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 4V1ZFW1380z4DD3 for ; Fri, 22 Mar 2024 20:49:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711140575; a=rsa-sha256; cv=none; b=KYelPpvj1MCE7OC80cDIxCiOH7ZgArD5NWTfa67k3yhhQsQan5QuuKc/zEYWNJJvs6px7u Q7fjLpEDtIyVjgG7IljGpfZhfaMIKy7uqDozHQxhBbrmI0ttdR2rpJ9hBeKijPaUTY2zEs h7dZOV4YJ6AVnSvI8r5cJEWbTZXO858ARBSJBqsEg9QDq4j3eUWg5DjVJZW89yywBPxVPB fdJOmY3y1O5NtWMpzhgLquw80Huc91C/UJBS69RJyGBXN0J+2pbLTiMpAdwLvpp5oYFwhP XjLo+1afhRf13+p3I5dTxW3C9thYefUARug2nin9KAgzcv5H93lrYz8jMflu4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711140575; 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=CfnvAxFUuRNRCFjuXB9oV14DPNpkrQL1EUYwmcd0Vgs=; b=HY2tLmFVaEpKxqI5YOpi0FG5QyBbdOs+bLnC6zAQKPhhkLhL/rpgSoTqCyWme5t7X5vcxA jGKhh/AlIgxdQcRfbI0+3HvD/+ynrluj0iktctujqq5V64G2OdENSzgXjBu5Vglkgp6Dsl FOUNzjlznHKA/KUEr0PvwAGBuKzzM185wYVR8eaVIE8Ij+kAEXTILphUzMHPvGypVKpkBp P0G4J6fiizikAbeda9fNgpjs6E3YFWnZaSK12RkxrzfX2fM2ONjCkcNCHr4WfgWWgpajzJ t0X6M4ip0Lp8eUZ+KyllUTwVG6llY/v72JSduoYiYGvO0FplcsPnj2R+iyFr2w== 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 4V1ZFW0XGXzJyK for ; Fri, 22 Mar 2024 20:49:35 +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 42MKnYCQ080572 for ; Fri, 22 Mar 2024 20:49:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42MKnYhl080569 for ports-bugs@FreeBSD.org; Fri, 22 Mar 2024 20:49:34 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 277896] databases/mysql80-server databases/mysql81-server: fix build with libc++ 18 on i386 Date: Fri, 22 Mar 2024 20:49:34 +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 Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: joneum@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 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277896 Bug ID: 277896 Summary: databases/mysql80-server databases/mysql81-server: fix build with libc++ 18 on i386 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: joneum@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(joneum@FreeBSD.org) Assignee: joneum@FreeBSD.org When building against libc++ 18, several iostream classes now get inlined into C++ binaries for efficiency. But because the mysql ports use -malign-double on non-powerpc architectures, this causes an ABI problem with libc++.so, which has not been built with that flag, at least on i386. This can cause segfaults during the build of the port. If it is not the architecture default, as it is on amd64, -malign-double should not be used without recompiling basically the entire userspace runtime. Quoting the gcc docs: > Warning: if you use the -malign-double switch, structures containing > the above types are aligned differently than the published application > binary interface specifications for the x86-32 and are not binary > compatible with structures in code compiled without that switch. Hence, remove -malign-double from CXXFLAGS for these ports. --=20 You are receiving this mail because: You are the assignee for the bug.=