From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Martin Subject: stubdom/libxc-x86_64 compile error with valgrind installed Date: Mon, 21 Jul 2014 11:00:14 +0100 Message-ID: <1216211935.20140721110014@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Andrew Cooper List-Id: xen-devel@lists.xenproject.org Hello all, I am building on Debian Wheezy and I have valgrind installed. About a month ago I started having compilation problems. I assume it must have something to do with Andrew's valgrind patch of June 10th. The problem seems to lie in the fact that valgrind is in /usr/include, however -nostdinc is specified on the compilation so we don't get it. I removed -nostdinc from stubdom/Makefile and it compiled correctly. Reading the gcc documentation this *should* be safe, as it will only search the default directories *after* the explicit include directories. That being said, there is probably a better fix for this. Regards. -- Best regards, Simon mailto:furryfuttock@gmail.com