Error with --no-huge when compiled with -fsanitize=address from gcc 15
Robin Jarry
rjarry at redhat.com
Thu Sep 4 16:49:15 CEST 2025
Hey Anatoly,
Burakov, Anatoly, Sep 04, 2025 at 16:35:
> I have been trying to reproduce this but I'm unable to. I run some old
> CentOS so I built GCC15 manually and tried reproducing with that. The
> version I'm using is 15.2, could you please retest with latest GCC15 and
> see if it was fixed?
I am running on Fedora 42 that has GCC 15.2.1 and the problem persists.
> (if not, I'll try to get a more recent distro and reproduce again)
>
> The DMA mask checking you're referring to is there for cases where e.g.
> in a VM the emulated IOMMU will not have full address width (39 bits was
> common at the time), and thus we couldn't use the full VA space for IOVA
> addressing, and had to resort to using real physical addresses (because
> kernel ensure those are to be within support range of IOMMU). Were you
> running this test in a VM, by any chance?
No I am running on a physical machine. I tested again without --no-huge
and 2M/1G huge pages, and the issue persists as well.
I tried both as root, and as a regular user.
--
Robin
> Formatted to fit your screen.
More information about the dev
mailing list