From nobody Tue Sep 3 13:06:46 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 4Wym9N1GP1z5PTtm for ; Tue, 03 Sep 2024 13:06:48 +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 4Wym9M1zc7z4br3 for ; Tue, 3 Sep 2024 13:06:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725368807; a=rsa-sha256; cv=none; b=nO4KhIMACNLI90PU111rmp/fazwoVYalNbfDVSPHATWzNG30BGZiNJBix6h3LBgYbSgExY xducqW+C7TjzyfvSSgInjIrKTU7TPxl2ARdWhwIyuMC2geYrjpx3hPym29MyipOG/VK+eI csIJUmbr0rl9emc2Gx0D8CFQuzbuf/FXYGqQ8cd+VI4/e/VKWKuk2zPnWzYP/KtgHA85F2 g0e8xG6rkyrAfldSfYhvbhOx3l/69zqQx5ZU78+gMtXC5zaf1fGZwc61lIqMJI49/IP+jJ U46KOYmW+SNmSnFT0CW9nEzBONtPHug8m682AkTzClA6po2RpZnSqyYnJqC+MQ== 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=1725368807; 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=E8llRyFoYD6Umd1+x+RLHuzcsAP9ZqzVbkkPkO7NbLI=; b=ajN6tFM8iiSn0Dcy107uA6p4I0hiF+OLLWGieWB3+AFiNXc425b7j9vJZ5XqaNgI6klogY otn3qmWkrt8tq1DpsaFJPH+Lu1T95bbA8/yICrJbZv4onMg9yUHHjPLZ2P71i6F/NDh9IC xyCzpQLMPfcsOQgo4GbA7/PHngUC2xgddHdP56QNcXFg1k21xqyUI+09zSuHUggKD7Pr1C KorbCXIKMHunzuTCm79j16jjcedrPlP6Xo98FjKp/TVf/0pMln0p38tRXfI5dP27dkcn/y nb18z5OZ8ctnQojvpy2e8+eaabeTA2xBg+g+ueJr6OmMhBxipuuSJjSZx9jWuA== 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 4Wym9M1VBpzhHn for ; Tue, 3 Sep 2024 13:06:47 +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 483D6lsZ005620 for ; Tue, 3 Sep 2024 13:06:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 483D6l8w005619 for ports-bugs@FreeBSD.org; Tue, 3 Sep 2024 13:06:47 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 281232] emulators/x49gp: Fails to build with GCC 14: error: returning 'x49gp_timer_t *' {aka 'struct x49gp_timer_s *'} from a function with incompatible return type 'QEMUTimer *' [-Wincompatible-pointer-types] Date: Tue, 03 Sep 2024 13:06:46 +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: shaun@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc 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: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281232 Bug ID: 281232 Summary: emulators/x49gp: Fails to build with GCC 14: error: returning 'x49gp_timer_t *' {aka 'struct x49gp_timer_s *'} from a function with incompatible return type 'QEMUTimer *' [-Wincompatible-pointer-types] Product: Ports & Packages Version: Latest Hardware: Any URL: https://pkg-status.freebsd.org/gohan04/data/140amd64-d efault-foo/2024-08-29_19h57m48s/logs/errors/x49gp-2010 0425_9.log OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: shaun@FreeBSD.org Reporter: salvadore@freebsd.org Blocks: 281091 Assignee: shaun@FreeBSD.org Flags: maintainer-feedback?(shaun@FreeBSD.org) Build fails with GCC 14. This blocks GCC_DEFAULT update to GCC 14. gcc14 -O2 -Wall -Iinclude -Ibitmaps -Iqemu/qemu-git/target-arm -Iqemu/qemu-git -Iqemu/qemu-git/fpu -Iqemu/qemu-git/arm-softmmu -DTARGET_ARM -DX49GP -D_GNU_SOURCE -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -DNEED_CPU_H -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -o timer.o = -c timer.c timer.c: In function 'qemu_new_timer': timer.c:156:16: error: returning 'x49gp_timer_t *' {aka 'struct x49gp_timer= _s *'} from a function with incompatible return type 'QEMUTimer *' [-Wincompatible-pointer-types] 156 | return x49gp_new_timer((long) clock, cb, opaque); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timer.c: In function 'qemu_free_timer': timer.c:162:33: error: passing argument 1 of 'x49gp_free_timer' from incompatible pointer type [-Wincompatible-pointer-types] 162 | return x49gp_free_timer(ts); | ^~ | | | QEMUTimer * timer.c:78:33: note: expected 'x49gp_timer_t *' {aka 'struct x49gp_timer_s = *'} but argument is of type 'QEMUTimer *' 78 | x49gp_free_timer(x49gp_timer_t *ts) | ~~~~~~~~~~~~~~~^~ timer.c: In function 'qemu_mod_timer': timer.c:168:32: error: passing argument 1 of 'x49gp_mod_timer' from incompatible pointer type [-Wincompatible-pointer-types] 168 | return x49gp_mod_timer(ts, expire_time); | ^~ | | | QEMUTimer * timer.c:104:32: note: expected 'x49gp_timer_t *' {aka 'struct x49gp_timer_s= *'} but argument is of type 'QEMUTimer *' 104 | x49gp_mod_timer(x49gp_timer_t *ts, int64_t expires) | ~~~~~~~~~~~~~~~^~ timer.c: In function 'qemu_del_timer': timer.c:174:32: error: passing argument 1 of 'x49gp_del_timer' from incompatible pointer type [-Wincompatible-pointer-types] 174 | return x49gp_del_timer(ts); | ^~ | | | QEMUTimer * timer.c:84:32: note: expected 'x49gp_timer_t *' {aka 'struct x49gp_timer_s = *'} but argument is of type 'QEMUTimer *' 84 | x49gp_del_timer(x49gp_timer_t *ts) | ~~~~~~~~~~~~~~~^~ timer.c: In function 'qemu_timer_pending': timer.c:180:36: error: passing argument 1 of 'x49gp_timer_pending' from incompatible pointer type [-Wincompatible-pointer-types] 180 | return x49gp_timer_pending(ts); | ^~ | | | QEMUTimer * timer.c:127:36: note: expected 'x49gp_timer_t *' {aka 'struct x49gp_timer_s= *'} but argument is of type 'QEMUTimer *' 127 | x49gp_timer_pending(x49gp_timer_t *ts) | ~~~~~~~~~~~~~~~^~ gmake[1]: *** [Makefile:276: timer.o] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/emulators/x49gp/work/x49gp/x49gp-code' gmake: *** [Makefile:323: depend-and-build] Error 2 *** Error code 2 Stop. make: stopped in /usr/ports/emulators/x49gp Full log: https://pkg-status.freebsd.org/gohan04/data/140amd64-default-foo/2024-08-29= _19h57m48s/logs/errors/x49gp-20100425_9.log Useful link: https://gcc.gnu.org/gcc-14/porting_to.html 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.=