[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] tools/fuzz fails due build, osstest did not notice


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Mon, 3 Sep 2018 11:53:23 +0200
  • Delivery-date: Mon, 03 Sep 2018 09:53:41 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Since about two months staging fails to build because tools/fuzz can not cope 
with CFLAGS="-O2 -Wall  -fstack-protector-strong -funwind-tables 
-fasynchronous-unwind-tables -fstack-clash-protection". While I can easily hide 
the bug by undefining _FORTIFY_SOURCE, I always wonder why osstest does not 
catch such bugs?

Looking at some random build-amd64/6.ts-xen-build.log output, it seems no 
CFLAGS at all is set. I'm sure SUSE is not the only one that sets CFLAGS during 
their package build, and further I think SUSE is not the only one who enforces 
-D_FORTIFY_SOURCE= globally. So on that ground, shouldn't whatever osstest does 
match what the consumers of xen use? Running osstest with throw-away-binaries 
compiled with -D_FORTIFY_SOURCE will likely not hurt or invalidate the overall 
coverage.

Olaf

Attachment: pgpvrQaMpYbIB.pgp
Description: Digitale Signatur von OpenPGP

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.