pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/54987
The following reply was made to PR pkg/54987; it has been noted by GNATS.
From: Benny Siegert <bsiegert%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/54987
Date: Sun, 28 Sep 2025 15:03:46 +0200
I tried reproducing this on Linux (Fedora on aarch64), but ran into
another bit of build breakage:
cc -c -I./../arch/generic -I. -Wall -O2 -Dunix -I/usr/pkg/include
-I/usr/include -DHAVE_CONFIG_H
-DDEFAULTPATH='".:/usr/pkg/lib/gforth/site-forth:/usr/pkg/share/gforth/site-forth:/usr/pkg/lib/gforth/0.7.3:/usr/pkg/share/gforth/0.7.3"'
-I/usr/pkg/include -I/usr/include -o signals.o signals.c
In file included from signals.c:24:
forth.h:279:2: warning: #warning flush-icache probably will not work
(see manual) [-Wcpp]
279 | #warning flush-icache probably will not work (see manual)
| ^~~~~~~
forth.h:281:2: warning: #warning no FLUSH_ICACHE, turning off dynamic
native code by default [-Wcpp]
281 | #warning no FLUSH_ICACHE, turning off dynamic native code by
default
| ^~~~~~~
signals.c: In function 'install_signal_handlers':
signals.c:402:29: error: initialization of 'void (*)(void)' from
incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types]
402 | void (*throw_handler)() = die_on_signal ? graceful_exit :
signal_throw;
| ^~~~~~~~~~~~~
signals.c:429:34: error: passing argument 2 of 'bsd_signal' from
incompatible pointer type [-Wincompatible-pointer-types]
429 | bsd_signal(sigs_to_throw[i], throw_handler);
| ^~~~~~~~~~~~~
| |
| void (*)(void)
signals.c:74:41: note: expected 'void (*)(int)' but argument is of type
'void (*)(void)'
74 | Sigfunc *bsd_signal(int signo, Sigfunc *func)
| ~~~~~~~~~^~~~
signals.c:432:47: error: pointer type mismatch in conditional expression
[-Wincompatible-pointer-types]
432 | ignore_async_signals ? SIG_IGN : throw_handler);
| ^
In file included from /usr/include/signal.h:30,
from signals.c:34:
signals.c:432:39: note: first expression has type 'void (*)(int)'
432 | ignore_async_signals ? SIG_IGN : throw_handler);
| ^~~~~~~
signals.c:432:49: note: second expression has type 'void (*)(void)'
432 | ignore_async_signals ? SIG_IGN : throw_handler);
| ^~~~~~~~~~~~~
*** Error code 1
Home |
Main Index |
Thread Index |
Old Index