Date: Wed, 26 Jul 2023 23:29:08 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 272744] cxgbe firmware fails to build on i386 Message-ID: <bug-272744-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272744 Bug ID: 272744 Summary: cxgbe firmware fails to build on i386 Product: Base System Version: CURRENT Hardware: i386 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: freebsd@igalic.co on base f2c94ddd0ad79d972b6a707978cc09f3a8a6dbbf the cxgbe firmware fails to build. I don't know yet why, but it seems that something in the build clobb= ers the path: CMD @echo t4fw_cfg.txt /poudriere/jails/14-current-i386/usr/src/sys/dev/cxgbe/firmware/t4fw_cfg.txt CMD cc -target i386-unknown-freebsd14.0 --sysroot=3D/usr/obj/poudriere/jails/14-current-i386/usr/src/i386.i386/tmp -B/usr/obj/poudriere/jails/14-current-i386/usr/src/i386.i386/tmp/usr/bin -c= -x assembler-with-cpp -DLOCORE -O2 -pipe -fno-common -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED -nostdinc=20=20 -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/poudriere/jails/14-current-i386/usr/src/i386.i386/sys/GENERIC/opt_= global.h -I. -I/poudriere/jails/14-current-i386/usr/src/sys -I/poudriere/jails/14-current-i386/usr/src/sys/contrib/ck/include -fno-comm= on -g -fPIC -fdebug-prefix-map=3D./machine=3D/poudriere/jails/14-current-i386/usr/src/s= ys/i386/include -fdebug-prefix-map=3D./x86=3D/poudriere/jails/14-current-i386/usr/src/sys/x= 86/include -I/usr/obj/poudriere/jails/14-current-i386/usr/src/i386.i386/sys/GENERIC=20= =20=20=20 -mno-mmx -mno-sse -msoft-float -ffreestanding -fwrapv -fstack-protector -Wa= ll -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=3Dtautological-co= mpare -Wno-error=3Dempty-body -Wno-error=3Dparentheses-equality -Wno-error=3Dunused-function -Wno-error=3Dpointer-sign -Wno-error=3Dshift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=3Dgnu99 -Werror=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 -DFIRMW_FILE=3D"/poudriere/jails/14-current-i386/usr/src/sys/dev/cxgbe/firm= ware/t4fw_cfg.txt" -DFIRMW_SYMBOL=3D"t4fw_cfg_txt"=20=20 /poudriere/jails/14-current-i386/usr/src/sys/kern/firmw.S -o t4fw_cfg.txt.f= wo CWD /usr/obj/poudriere/jails/14-current-i386/usr/src/i386.i386/sys/GENERIC/modu= les/poudriere/jails/14-current-i386/usr/src/sys/modules/cxgbe/t4_firmware TARGET t4fw_cfg.txt.fwo OODATE /poudriere/jails/14-current-i386/usr/src/sys/dev/cxgbe/firmware/t4fw_cfg.txt /poudriere/jails/14-current-i386/usr/src/sys/kern/firmw.S -- command output -- t4fw_cfg.txt /poudriere/jails/14-current-i386/usr/src/sys/dev/cxgbe/firmware/t4fw_cfg.txt /poudriere/jails/14-current-i386/usr/src/sys/kern/firmw.S:44:10: error: Cou= ld not find incbin file '/poudriere/jails/14-current-1/usr/src/sys/dev/cxgbe/firmware/t4fw_cfg.txt' .incbin "/poudriere/jails/14-current-1/usr/src/sys/dev/cxgbe/firmware/t4fw_cfg.txt" ^ *** Error code 1 you may notice that the path it's looking for is: "/poudriere/jails/14-current-1/usr/src/sys/dev/cxgbe/firmware/t4fw_cfg.txt" instead of: "/poudriere/jails/14-current-i386/usr/src/sys/dev/cxgbe/firmware/t4fw_cfg.t= xt" somehow, sys/kern/firmw.S's .incbin __XSTRING(FIRMW_FILE) is converted=E2=80=A6 wrong. --=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-272744-227>