kern. crosscomp fails with "options CNMAGIC"

"Dr. Nicola Mingotti" <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
Hi,

from a previous thread, i tried to recompile the CURRENT kernel with
----
options CNMAGIC="\001\002"
----

it fails with these last messages:
----
Q_ARM -D__VCCOREVER__=0x04000000 -DVCHIQ_ENABLE_DEBUG=1 
-DVCHIQ_LOG_DEFAULT=5 -c 
/home/p/systems/netbsd-CURRENT/usr/src/sys/kern/init_main.c -o i
nit_main.o  &&  echo 
/home/p/systems/netbsd-CURRENT/usr/src/../../arch/earmv7hf/tooldir.NetBSD-10.0-amd64/bin/nbctfconvert 
-g -L VERSION -g init_m
ain.o && 
  /home/p/systems/netbsd-CURRENT/usr/src/../../arch/earmv7hf/tooldir.NetBSD-10.0-amd64/bin/nbctfconvert 
-g -L VERSION -g init_main.o
*** [init_main.o] Error code 1

nbmake: stopped making "all" in 
/home/p/systems/netbsd-CURRENT/arch/earmv7hf/sys/arch/evbarm/compile/NIC-13-10-2024
--- in_pcb.o ---
/home/p/systems/netbsd-CURRENT/usr/src/../../arch/earmv7hf/tooldir.NetBSD-10.0-amd64/bin/nbctfconvert 
-g -L VERSION -g in_pcb.o
--- init_sysctl.o ---
/home/p/systems/netbsd-CURRENT/usr/src/../../arch/earmv7hf/tooldir.NetBSD-10.0-amd64/bin/nbctfconvert 
-g -L VERSION -g init_sysctl.o
nbmake: 1 error

nbmake: stopped making "all" in 
/home/p/systems/netbsd-CURRENT/arch/earmv7hf/sys/arch/evbarm/compile/NIC-13-10-2024

ERROR: Failed to make all in 
"/home/p/systems/netbsd-CURRENT/usr/src/../../arch/earmv7hf/sys/arch/evbarm/compile/NIC-13-10-2024"

*** BUILD ABORTED ***
----

If i remove the option and add, for example, "options INSECURE", 
compiling works.

Compiling command:
./build.sh  -O ../../arch/earmv7hf/  -j3 -U -m evbarm -a earmv7hf 
kernel=NIC-13-10-2024

I tried to change the string with something else, it also fails.

bye
Nicola
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.