[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v7 6/6] tests/tcg/aarch64: Add bti smoke test
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v7 6/6] tests/tcg/aarch64: Add bti smoke test |
Date: |
Tue, 20 Aug 2019 09:34:17 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 8/20/19 8:31 AM, Peter Maydell wrote:
> Is there some way to suppress these warnings ? 'make check-tcg'
> output includes
>
> BUILD TCG tests for aarch64-linux-user
> BUILD aarch64 guest-tests with aarch64-linux-gnu-gcc
> /usr/lib/gcc-cross/aarch64-linux-gnu/7/../../../../aarch64-linux-gnu/bin/ld:
> warning: /tmp/cccZ8Fk7.o: unsupported GNU_PROPERTY_TYPE (5) type:
> 0xc0000000
> /usr/lib/gcc-cross/aarch64-linux-gnu/7/../../../../aarch64-linux-gnu/bin/ld:
> warning: .note.gnu.build-id section discarded, --build-id ignored.
> RUN TCG tests for aarch64-linux-user
>
> and these are going to come up in the merge-testing search
> for warnings in the build logs...
The only way is to use a newer ld.
Sadly, bfd doesn't really distinguish between warnings and errors when it comes
to printing, so there's no "-w" flag as for gcc.
I suppose we should just disable this test by default for now. I'll note that
despite the warnings, you got a binary that runs as expected.
r~
[Qemu-devel] [PATCH v7 3/6] linux-user: Set PAGE_TARGET_1 for TARGET_PROT_BTI, Richard Henderson, 2019/08/03
[Qemu-devel] [PATCH v7 2/6] linux-user: Validate mmap/mprotect prot value, Richard Henderson, 2019/08/03
[Qemu-devel] [PATCH v7 5/6] linux-user: Parse NT_GNU_PROPERTY_TYPE_0 notes, Richard Henderson, 2019/08/03
[Qemu-devel] [PATCH v7 6/6] tests/tcg/aarch64: Add bti smoke test, Richard Henderson, 2019/08/03
Re: [Qemu-devel] [PATCH v7 0/6] target/arm: Implement ARMv8.5-BTI for linux-user, no-reply, 2019/08/03