[Bug 268490] [igb] [lagg] [vlan]: Intel i210 performance severely degraded

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Feb 2023 15:32:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268490

--- Comment #8 from Daniel Duerr <duerrd561@gmail.com> ---
(In reply to Kevin Bowling from comment #5)

Hi Kevin, sorry to say I'm having a difficult time getting the kernel to
compile. I have a pretty decent amount of experience building custom kernels,
but cannot for the life of me get past this error:

env NM='nm' NMFLAGS='' sh /usr/src/sys/kern/genassym.sh ia32_genassym.o >
ia32_assym.h
cc -target x86_64-unknown-freebsd12.2
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -x assembler-with-cpp -DLOCORE
-O2 -pipe -fno-strict-aliasing  -g -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/ck/include -I/usr/src/sys/contrib/libfdt -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD 
-MF.depend.acpi_wakecode.o -MTacpi_wakecode.o
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include -mcmodel=kernel -mno-red-zone
-mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef
-Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare
-Wno-error-empty-body -Wno-error-parentheses-equality
-Wno-error-unused-function -Wno-error-pointer-sign
-Wno-error-shift-negative-value -Wno-address-of-packed-member  -mno-aes
-mno-avx  -std=iso9899:1999  -Werror /usr/src/sys/amd64/acpica/acpi_wakecode.S
error: unknown -Werror warning specifier: '-Wno-error-tautological-compare'
[-Werror,-Wunknown-warning-option]
error: unknown -Werror warning specifier: '-Wno-error-empty-body'
[-Werror,-Wunknown-warning-option]
error: unknown -Werror warning specifier: '-Wno-error-parentheses-equality'
[-Werror,-Wunknown-warning-option]
error: unknown -Werror warning specifier: '-Wno-error-unused-function'
[-Werror,-Wunknown-warning-option]
error: unknown -Werror warning specifier: '-Wno-error-pointer-sign'
[-Werror,-Wunknown-warning-option]
error: unknown -Werror warning specifier: '-Wno-error-shift-negative-value'
[-Werror,-Wunknown-warning-option]
*** Error code 1

I get this whether I try to build the GENERIC-NODEBUG config (which I created
following a guide I found online) or the GENERIC config. I have not had this
issue before, not sure why it is happening now but can't seem to find much info
on it.

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