I see a strange error when I attempt to configure perl on a NetBSD 9.3
server :
.
.
.
If this doesn't make any sense to you, just accept the default 'n'.
Build a threading Perl? [n]
Your platform has some specific hints regarding threaded builds, using
them...
Perl can be built so that multiple Perl interpreters can coexist
within the same Perl executable.
If this doesn't make any sense to you, just accept the default 'n'.
Build Perl for multiplicity? [n]
Use which C compiler? [cc] gcc
gcc: error: unrecognized command line option ‘--whole-archive’; did you
mean ‘--whole-program’?
Hmm... Looks kind of like a BSD system, but we'll see...
.
.
.
I have never seen that before.
Perhaps there is some strange compiler test in the config script?
For the record this is NetBSD 9.3 on sparcv9 :
p$
p$ uname -a
NetBSD pollux.bw.genunix.com 9.3_STABLE NetBSD 9.3_STABLE (GENERIC) #0:
Tue Mar 12 12:45:42 UTC 2024
mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/sparc64/compile/GENERIC sparc64
p$
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
server :
.
.
.
If this doesn't make any sense to you, just accept the default 'n'.
Build a threading Perl? [n]
Your platform has some specific hints regarding threaded builds, using
them...
Perl can be built so that multiple Perl interpreters can coexist
within the same Perl executable.
If this doesn't make any sense to you, just accept the default 'n'.
Build Perl for multiplicity? [n]
Use which C compiler? [cc] gcc
gcc: error: unrecognized command line option ‘--whole-archive’; did you
mean ‘--whole-program’?
Hmm... Looks kind of like a BSD system, but we'll see...
.
.
.
I have never seen that before.
Perhaps there is some strange compiler test in the config script?
For the record this is NetBSD 9.3 on sparcv9 :
p$
p$ uname -a
NetBSD pollux.bw.genunix.com 9.3_STABLE NetBSD 9.3_STABLE (GENERIC) #0:
Tue Mar 12 12:45:42 UTC 2024
mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/sparc64/compile/GENERIC sparc64
p$
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken