buildkernel for armv6 -r324071 (for example): "warning: multiple common of `ahci_devclass'"; more for armv7

Mark Millard markmi at dsl-only.net
Wed Sep 27 23:05:12 UTC 2017


This was a non-debug kernel build via
an amd64 -> armv6 (-mcpu=cortex-a7)
build:

--- kernel.full ---
linking kernel.full
imx6_ahci.o: warning: multiple common of `ahci_devclass'
ahci_pci.o: warning: previous common is here
ctfmerge -L VERSION -g -o kernel.full ...
     text     data       bss        dec        hex   filename
  8177284   466951   1572864   10217099   0x9be68b   kernel.full
imx6_ahci.o: warning: multiple common of `ahci_devclass'
ahci_pci.o: warning: previous common is here
Building /usr/obj/armv7_clang/arm.armv6/usr/src/sys/GENERIC-NODBG/kernel.debug
Building /usr/obj/armv7_clang/arm.armv6/usr/src/sys/GENERIC-NODBG/kernel

I do not remember seeing this before.



As a side note for armv7 I happened to notice
the messages:

/usr/src/sys/arm/arm/cpufunc_asm.S:167:2: warning: deprecated since v7, use 'dsb'
 mcr p15, 0, r0, c7, c10, 4
 ^
/usr/src/sys/arm/arm/cpufunc_asm.S:172:2: warning: deprecated since v7, use 'dsb'
 mcr p15, 0, r0, c7, c10, 4
 ^
/usr/src/sys/arm/arm/cpufunc_asm.S:175:2: warning: deprecated since v7, use 'dsb'
 mcr p15, 0, r0, c7, c10, 4
 ^


===
Mark Millard
markmi at dsl-only.net



More information about the freebsd-arm mailing list