Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: compiling amd64-kernel fails (w/o cgd)

Known issue, riastradh@ should be fixing soon.

As a workaround, add ``select chacha'' to yhe end of your kernel config.

On Tue, 28 Jul 2020, Kurt Schreiner wrote:


after cvs-updating -current an hour or so ago, compiling a new
(custonized) kernel fails like so:

making sure the kern library is up to date...
`libkern.o' is up to date.
    create  vers.c
   compile  vNBx64/vers.o
      link  vNBx64/netbsd
/u/NetBSD/arch/amd64/TOOLS/bin/x86_64--netbsd-ld: identcpu.o: in function `cpu_probe':
/u/NetBSD/src/sys/arch/x86/x86/identcpu.c:1024: undefined reference to `chacha_sse2_impl'
/u/NetBSD/arch/amd64/TOOLS/bin/x86_64--netbsd-ld: /u/NetBSD/src/sys/arch/x86/x86/identcpu.c:1024: undefined reference to `chacha_md_init'
--- netbsd ---
*** [netbsd] Error code 1

nbmake: stopped in /u/NetBSD/arch/amd64/obj/sys/arch/amd64/compile/vNBx64
1 error

If I add "pseudo-device        cgd" to my configuration,
compiling a new kernel works fine again.

Is there a technical reason for chacha & co depending on cgd?
And is it documented somewhere? ;-)



| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 |     |
| Software Developer | 0786 F758 55DE 53BA 7731 |   |

Home | Main Index | Thread Index | Old Index