From nobody Sun Dec 03 19:02:38 2023 X-Original-To: amd64@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sjx500FF7z53DTQ for ; Sun, 3 Dec 2023 19:02:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sjx4z6GDHz3Snf for ; Sun, 3 Dec 2023 19:02:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701630163; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pzRvJMQDGHM3R7nym+Wh+gMCOgqnqoox05/oFzAdSg8=; b=XgNIOW84Im7PshBL+wurtYlJqxyUCOPtunouuM2kX8y/zXWNpDtfQ4ZxjSk5OONW01vn1i eUCABkSAnqwSuuGiHnOWT5kfYAkB3ZDbl/CrGtttjmekTvrKjL+02AMLTSoUlis7VI9ZPP F+aWE4zZbQF0PavzUCV2SPeG6u/Zn7O3ixVsbde/2quXfnLqDG9CKaGCpvBhnv90peJ7tN oxI+doTWmsf+qtUmZTGHhh9TrK1pqN7lWmTaGiS7Zo9NmtypjfGSnTb7LMY8vNVjYu8+HL q8fv8Yaorf6/r4CR2KTW8MfYgiJwIsvUbkqOdnZylRw4BUQtqryKwowptA8wRw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701630163; a=rsa-sha256; cv=none; b=lVfnz4Ywx5KBqDYgS2FkgYAf7BQ8O99n5ZufEJmenH3STdfVMsPt9fktCmouDzYQV7ZFNa /5SjCe9t3TUlse9/Zml7Ah8oXFUFDkmNGe/3x3HBDg9Rmd/OfhNQOkeO0i164PHQ8orbES 1J1rOR37kddP+8v5+885EablDfYrdkdjeAPUUTZ2jJne6FVrEjMAV2UkXvMIzoBX5ZgoiH 9EuK5x21AG3wjl6ABgXUPJw1UP4cGfX3jqQDs5Wa13hUV2++jje1Mrd4jbynYliGFWFSTE EmJ1++HYz60ozq+xhESjvGS2QODM5BbEVO7lpcYwM+Tvn03viSxNCoIkxzNMtQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sjx4z5Kyjz19Rb for ; Sun, 3 Dec 2023 19:02:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3B3J2hGg015743 for ; Sun, 3 Dec 2023 19:02:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B3J2hll015742 for amd64@FreeBSD.org; Sun, 3 Dec 2023 19:02:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: amd64@FreeBSD.org Subject: [Bug 207940] stand/efi/boot1: Add boot partition selection Date: Sun, 03 Dec 2023 19:02:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa, uefi X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: nicolas@deffayet.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: imp@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to the AMD64 platform List-Archive: https://lists.freebsd.org/archives/freebsd-amd64 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-amd64@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207940 --- Comment #44 from Nicolas --- Can't compile on FreeBSD 14.0: --- gptboot.sym.full --- cc -O2 -pipe -fno-common -I/usr/src/stand/efi/boot1 -I/usr/src/stand/efi/gptboot -DBOOTPROG=3D\"gptboot.efi\" -DHAVE_MEMCPY -I/usr/src/sys/contrib/zlib -Wformat -fshort-wchar -mno-red-zone -nostdinc -I/usr/obj/usr/src/amd64.amd64/stand/libsa -I/usr/src/stand/libsa -D_STANDA= LONE -I/usr/src/sys -Ddouble=3Djagged-little-pill -Dfloat=3Dfloaty-mcfloatface -ffunction-sections -fdata-sections -DLOADER_GELI_SUPPORT -I/usr/src/stand/libsa/geli -DLOADER_DISK_SUPPORT -ffreestanding -mno-mmx -mno-sse -mno-avx -mno-avx2 -msoft-float -fPIC -mno-red-zone -mno-relax -I. -Iinclude -DEFI_BOOT1 -I/usr/src/stand/efi/include -I/usr/src/stand/efi/include/amd64 -I/usr/src/sys/contrib/dev/acpica/include -DEFI_UFS_BOOT -DEFI_DEBUG -I/usr/src/stand/common -fPIC -g -gz=3Dzlib -std= =3Dgnu99 -Wno-format-zero-length -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar= ith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parame= ter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safe= ty -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=3Dunused-but-set-parameter -Oz -Qunused-arguments -nostdlib -Wl,-T/usr/src/stand/efi/loader/arch/amd64/ldscript.amd64,-Bsymbolic,-znote= xt -pie -Wl,-znocombreloc -Wl,-zrelro -o gptboot.sym.full gpt.o boot1.o prot= o.o self_reloc.o start.o ufs_module.o devpath.o=20 /usr/obj/usr/src/amd64.amd64/stand/efi/libefi/libefi.a /usr/obj/usr/src/amd64.amd64/stand/libsa/libsa.a=20 ld: error: undefined symbol: getchar >>> referenced by panic.c:48 (/usr/src/stand/libsa/panic.c:48) >>> panic.o:(panic_action) in archive /usr/obj/usr/src/amd64.= amd64/stand/libsa/libsa.a cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [gptboot.sym.full] Error code 1 make[2]: stopped in /usr/src/stand/efi/gptboot 1 error make[2]: stopped in /usr/src/stand/efi/gptboot make[1]: stopped in /usr/src/stand/efi --- all_subdir_efi/boot1 --- Both patch fully applied: 1. Patch for boot1.c and proto.c 2020-03-17 12:10 UTC, Tomoaki AOKI 2. patch for head r350654 proto.c 2020-03-23 16:02 UTC, Naomichi Nonaka (require manual application of the pa= tch for the second part). Any idea on how to fix to make it works on FreeBSD 14.0 RELEASE ? Thanks --=20 You are receiving this mail because: You are on the CC list for the bug.=