Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2021 07:49:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 257127] kernel.bin creation fails, empty file
Message-ID:  <bug-257127-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257127

            Bug ID: 257127
           Summary: kernel.bin creation fails, empty file
           Product: Base System
           Version: 13.0-STABLE
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: freebsd@oldach.net

make buildkernel on RPi4/8G:

....................... snip .........................................
      text      data       bss        dec        hex   filename
  11133030   1719011   3665920   16517961   0xfc0b49   kernel.full
--- kernel.debug ---
--- kernel.bin ---
--- kernel.debug ---
objcopy --only-keep-debug kernel.full kernel.debug
--- kernel ---
objcopy --strip-debug --add-gnu-debuglink=3Dkernel.debug  kernel.full kernel
--- kernel.bin ---
arm_kernel_boothdr.awk: missing kernbase/_start/_end symbol(s)
created kernel.bin from kernel.full
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Mon Jul 12 05:03:24 CEST 2021
--------------------------------------------------------------
>>> Kernel(s)  GENERIC built in 1865 seconds, ncpu: 4, make -j8
--------------------------------------------------------------


hmo@p48 /boot/kernel $ l kernel*
-r-xr-xr-x  1 root  wheel  15834432 Jul 12 09:36 kernel*
-r-xr-xr-x  1 root  wheel         0 Jul 12 09:36 kernel.bin*
hmo@p48 /boot/kernel $


hmo@p48 /usr/obj/usr/src/arm64.aarch64/sys/GENERIC $ l kernel*
-rwxr-xr-x  1 root  wheel  15834432 Jul 12 09:36 kernel*
-rw-r--r--  1 root  wheel         0 Jul 12 09:36 kernel.bin
-rwxr-xr-x  1 root  wheel  72341960 Jul 12 09:36 kernel.debug*
-rwxr-xr-x  1 root  wheel  85199304 Jul 12 09:36 kernel.full*
hmo@p48 /usr/obj/usr/src/arm64.aarch64/sys/GENERIC $


On 10th July build was still OK:
-r-xr-xr-x  1 root  wheel  15822088 Jul 10 20:30 /mnt/boot/kernel/kernel*
-r-xr-xr-x  1 root  wheel  12845936 Jul 10 20:31 /mnt/boot/kernel/kernel.bi=
n*


Perhaps related to the recent one-tru-awk patches?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257127-7>