From nobody Fri Jan 31 14:30:02 2025 X-Original-To: haskell@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 4YkywC2p1Lz5mBMY for ; Fri, 31 Jan 2025 14:30:03 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YkywB3vX4z3VCc for ; Fri, 31 Jan 2025 14:30:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738333802; 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=+0G2uhA3FgIW8nAi63acQchX87rRck0ocP77rm1+UqQ=; b=UV9IX1cbc4MTGJyFRMkK9VzYAqHoeF471m1wmkTLeqex0tf/G56cXU2gFI2UJkT2+dQMvr 0c1K8nYJ9ObtCZpglEmp5xJ1flxmZy+bWeS7b+yh8E90NHFN3KMHSM6YANLaHEJy0161Mu UYI7iCnXWLe2LexrfkLcwwzcY0QoHp2jnyLwXc2Ymohd377J4XIl/ooVlJ8UgUKYdcV7sj C+xy+uNhg0uT6OGik+9Fqy+XQwD8AK44jcECdcUU3lR3zVIKK8UaxBEb8w3otXo27ad/G3 2ShRdwYF269sSEtm6zf4zj0cELuszr7tmTam9wNTzPWaDzeNYJRdyRieuapZsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738333802; 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=+0G2uhA3FgIW8nAi63acQchX87rRck0ocP77rm1+UqQ=; b=YBGSMNyIxpX91cmdygcwz+0ZfUuKRP93Yl1j9+LeqVnX9m5zsYTVrZqZQ2+Hk92LIjV+dE dfQCwqA3ELwOXwwPmj5X3VcbDho9ddaI8gsXdavpHadLBZwOoktxAE6NzfVqVVZCWmtOZf s8qKLgqAf3/ExM4fu/FFVp31mh7JwLidgCTjZKlvB/5J9TL/jyWr8kgD9HYynjz/sDwj8P anzy5aMZbgsXscjUsZxJpGciGv3EoxjbvfaD2PTBvD9z9c0KJRnYJUYnzJPxJ6N00/WqR9 WmWQ/AsixX2aRZ3/dmf8DSvsLfsMDVHy6CTHJXAK5RoS2rpkObAIxQLY28QOGQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738333802; a=rsa-sha256; cv=none; b=rwPtyEqo92s64l+SGonreV4Ts2Wk5GXa9dbP7XwYSDMUOIb1xO2okRMp6uIeF4zfYKe46n H/8ojN4ohYLD9fCQ8nIjiubsMLwMKihOk/ORyygw39GJLsy95JFs7I3wRooL6t1ddmPP+y UQipux6Le3j98IZz+3Mm2NGewIb1r7o2OURf736HCq1ovR2umxf6te1A979WzIxOL0b1jw g2rKsVYHpg6+YQ6u/5/P/g2Al02SWVDNmh2yWLI8qkmbDDMXFJEJ7NPzn6o6NGFKjWK1rf w+NpuAixHSoP+xmnWAW2pr+Ak3T8QdHJ8zlBa1/AuAVkejulnr7LmGsdcxCn8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YkywB36zrz5sW for ; Fri, 31 Jan 2025 14:30:02 +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 50VEU25n046518 for ; Fri, 31 Jan 2025 14:30:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50VEU28I046517 for haskell@FreeBSD.org; Fri, 31 Jan 2025 14:30:02 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: haskell@FreeBSD.org Subject: [Bug 284484] lang/nhc98: Fails to build with GCC 14: error: implicit declaration of function 'sbrk' [-Wimplicit-function-declaration] Date: Fri, 31 Jan 2025 14:30:02 +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: salvadore@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Haskell issues and discussions List-Archive: https://lists.freebsd.org/archives/freebsd-haskell List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-haskell@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284484 Bug ID: 284484 Summary: lang/nhc98: Fails to build with GCC 14: error: implicit declaration of function 'sbrk' [-Wimplicit-function-declaration] Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: haskell@FreeBSD.org Reporter: salvadore@freebsd.org Blocks: 281091 Assignee: haskell@FreeBSD.org Flags: maintainer-feedback?(haskell@FreeBSD.org) The port fails to build with GCC 14, which is about to become GCC_DEFAULT version. This link can help: https://gcc.gnu.org/gcc-14/porting_to.html gcc14 -c -I/wrkdirs/usr/ports/lang/nhc98/work/nhc98-1.22/include -DVERSION=3D"\"1.22\"" -O2 -pipe -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc14 -fno-strict-aliasing -o /wrkdirs/usr/ports/lang/nhc98/work/nhc98-1.22/targets/ix86-FreeBSD/obj/runt= ime/Kernel/mutator.o mutator.c gcc14 -c -I/wrkdirs/usr/ports/lang/nhc98/work/nhc98-1.22/include -DVERSION=3D"\"1.22\"" -O2 -pipe -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc14 -fno-strict-aliasing -o /wrkdirs/usr/ports/lang/nhc98/work/nhc98-1.22/targets/ix86-FreeBSD/obj/runt= ime/Kernel/mutlib.o mutlib.c gcc14 -c -I/wrkdirs/usr/ports/lang/nhc98/work/nhc98-1.22/include -DVERSION=3D"\"1.22\"" -O2 -pipe -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc14 -fno-strict-aliasing -o /wrkdirs/usr/ports/lang/nhc98/work/nhc98-1.22/targets/ix86-FreeBSD/obj/runt= ime/Kernel/main.o main.c gcc14 -c -I/wrkdirs/usr/ports/lang/nhc98/work/nhc98-1.22/include -DVERSION=3D"\"1.22\"" -O2 -pipe -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc14 -fno-strict-aliasing -o /wrkdirs/usr/ports/lang/nhc98/work/nhc98-1.22/targets/ix86-FreeBSD/obj/runt= ime/Kernel/haskellInit.o haskellInit.c gcc14 -c -I/wrkdirs/usr/ports/lang/nhc98/work/nhc98-1.22/include -DVERSION=3D"\"1.22\"" -O2 -pipe -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc14 -fno-strict-aliasing -o /wrkdirs/usr/ports/lang/nhc98/work/nhc98-1.22/targets/ix86-FreeBSD/obj/runt= ime/Kernel/dump.o dump.c gcc14 -c -I/wrkdirs/usr/ports/lang/nhc98/work/nhc98-1.22/include -DVERSION=3D"\"1.22\"" -O2 -pipe -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc14 -fno-strict-aliasing -o /wrkdirs/usr/ports/lang/nhc98/work/nhc98-1.22/targets/ix86-FreeBSD/obj/runt= ime/Kernel/inscount.o inscount.c gcc14 -c -I/wrkdirs/usr/ports/lang/nhc98/work/nhc98-1.22/include -DVERSION=3D"\"1.22\"" -O2 -pipe -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc14 -fno-strict-aliasing -o /wrkdirs/usr/ports/lang/nhc98/work/nhc98-1.22/targets/ix86-FreeBSD/obj/runt= ime/Kernel/collector.o collector.c collector.c: In function 'initGc': collector.c:56:43: error: implicit declaration of function 'sbrk' [-Wimplicit-function-declaration] 56 | ((NodePtr)-1)=3D=3D (hpStart =3D (NodePtr)sbrk((int)totalSize= * sizeof(Node))) | ^~~~ gmake[2]: *** [Makefile:41: /wrkdirs/usr/ports/lang/nhc98/work/nhc98-1.22/targets/ix86-FreeBSD/obj/runt= ime/Kernel/collector.o] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/lang/nhc98/work/nhc98-1.22/src/runtime/Kernel' gmake[1]: *** [Makefile:31: ofiles] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/nhc98/work/nhc98-1.22/src/runtime' gmake: *** [Makefile:238: targets/ix86-FreeBSD/runtime] Error 2 *** Error code 1 Stop. make: stopped in /usr/ports/lang/nhc98 Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281091 [Bug 281091] [exp-run] Update GCC_DEFAULT to 14 etc. --=20 You are receiving this mail because: You are the assignee for the bug.=