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~