https://bugs.kde.org/show_bug.cgi?id=359249

--- Comment #3 from Paul Floyd <[email protected]> ---
I can't reproduce this problem. Using GCC 15.1.0 on Rocky 8.10 amd64.

Tested with
g++ -m64 -mcmodel=medium test.cpp -o test -g
and
g++ -m64 test.cpp -o test -g -Wl,-zmax-page-size=2097152

The comment that I was referring to is
      // Tom says: In the following, do what the Linux kernel does and only
      // map the pages that are required instead of rounding everything to
      // the specified alignment (ph->p_align).  (AMD64 doesn't work if you
      // use ph->p_align -- part of stage2's memory gets trashed somehow.)
in coregrind/m_ume/elf.c. That's referring to the rounding not the alignment.

Running Valgrind with -d does show the guest loaded with the right alignment.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to