public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "piliu at redhat dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/105134] tree-vectorize produces error code Date: Sat, 02 Apr 2022 03:01:32 +0000 [thread overview] Message-ID: <bug-105134-4-meh94jGSVl@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-105134-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105134 --- Comment #1 from piliu at redhat dot com --- More description about the background. There is a built file kexec-tools/purgatory/purgatory.ro, which is a tiny bootload, compare and verify the sha256, if ok, then jump to the 2nd kernel. The original sha256 value comes from update_purgatory() { ...... elf_rel_set_symbol(&info->rhdr, "sha256_regions", ®ion, sizeof(region)); elf_rel_set_symbol(&info->rhdr, "sha256_digest", &digest, sizeof(digest)); } They are based on the loaded linux kernel image. Now, "kexec -e" and purgatory.ro runs, and in void purgatory(void) { printf("I'm in purgatory\n"); setup_arch(); if (!skip_checks && verify_sha256_digest()) { for(;;) { /* loop forever */ ------> stuck here } } post_verification_setup_arch(); }
next prev parent reply other threads:[~2022-04-02 3:01 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-04-02 2:43 [Bug c/105134] New: " piliu at redhat dot com 2022-04-02 3:01 ` piliu at redhat dot com [this message] 2022-04-02 5:28 ` [Bug c/105134] " piliu at redhat dot com 2022-04-04 7:15 ` rguenth at gcc dot gnu.org 2022-04-06 2:12 ` piliu at redhat dot com 2022-04-06 2:14 ` piliu at redhat dot com 2022-04-06 2:17 ` piliu at redhat dot com 2022-11-25 22:53 ` pinskia at gcc dot gnu.org 2022-11-25 23:00 ` pinskia at gcc dot gnu.org 2022-11-25 23:03 ` pinskia at gcc dot gnu.org 2022-11-30 3:32 ` piliu at redhat dot com 2022-11-30 3:42 ` pinskia at gcc dot gnu.org 2024-02-21 0:40 ` [Bug tree-optimization/105134] " pinskia at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-105134-4-meh94jGSVl@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).