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 4YkywB18B8z5mBMQ for ; Fri, 31 Jan 2025 14:30:02 +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 4YkywB0Y3gz3VCQ 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: in-reply-to:in-reply-to:references:references; bh=6jNSHagW+YveiFrtlP6iiwuHu2QSR/LIniEhmxXv/GM=; b=TsLKUl3jnHhaMTr5webj4CnDZVzOKclO8L4On+LDxdD1P/x4NqS8//0zp+ZslIPebFFoFd ZMKRuBvs4sLhbgd0s9jrErj1IoLsj+Fda0MwyK/fgQT0sVwAmbb7z/JgsPeJc5jjEy+qZU iW+O2O5qfWbOXjBW2CK8SqJHvgb9eEIdkkJLbEjiWi2sWnAQzg3WqwfExJ+5HM+9eYj2qa Dvz+8/IazbDSJwoY9eKrfsX8G9hSAz9VTXSkE3iP9hOTOnuJbBPei3HdfQdjVhWnUEQfkX 4O23C0lqtu/2r1sdlwchzjOpoZFz72fV4Sdm/olUs/GtXU1H45E6Swc72gh2bQ== 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: in-reply-to:in-reply-to:references:references; bh=6jNSHagW+YveiFrtlP6iiwuHu2QSR/LIniEhmxXv/GM=; b=YBhuoLi38F2HMq6O1sx8TVOptkCRwKaeXqVxp5ihTUI0UZYNsQF3XC+5nPMGOgjpVwOqXG CIaXUgbUUyjSRXm8qMeowqxTaij8NW3FKFWrieoV+ysu5DrctZdbM/Aw2Ynh25u38/CucN DDvLvQ1W5Me5yTO7sdV/oqG5NZ/yf/A6x1VPf1xpalS3xRsecPDIPCZAyFk9Tlu5S5y6pH is5eT9clnif3RoCDSYBGZj07x03qvGIL3z4FR70DmIMwEVl3QXj74V450ydo/mVfc+Uxnv 4mZI9lkXGL4So+gebkdTp+HNtl1XNERERpPoRYHltizUeJ/Dbdi/+Tv8yT/peA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738333802; a=rsa-sha256; cv=none; b=Bt1irbYdG7HH9gYL2+jvgriuryZjTho9OJNAy1fEfDsFmcqSe8yvxfr5jqr/Lx/2WfFxyC ZSZ7E9zRLZ7z3bxLRpY+EykMdvH0cqt08Q/ymopOrW5zAhuj0opBbFaskGch+j0RZbhtMX 918YHzM+rvlzcjlf0fzVOWBSzipijrgJsz5rX20IxGdDO/jYF799WC2AtFIMYqi8qFMVas 89BcLRN8kj3gBgTJ2GfSfDYhFoM+MFwX5kqUb6wUCaSJBFmaYhEGglusBtjxWkWDSDZapc Q0rHnVEjSTTkoNVhLtOxjpuHdT9qFcVK62geN2eXBPCah65+6gAct6Zs9UEbKw== 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 4YkywB06Jsz68g 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 50VEU1Gu046498 for ; Fri, 31 Jan 2025 14:30:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50VEU1ej046497 for haskell@FreeBSD.org; Fri, 31 Jan 2025 14:30:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: haskell@FreeBSD.org Subject: maintainer-feedback requested: [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-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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 Bugzilla Automation has asked freebsd-haskell (Nobod= y) for maintainer-feedback: Bug 284484: lang/nhc98: Fails to build with GCC 14: error: implicit declara= tion of function 'sbrk' [-Wimplicit-function-declaration] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284484 --- Description --- 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