On 2020-09-29, Vagrant Cascadian wrote: > When the dpkg-buildflags "fixfilepath" is enabled, vboot-utils FTBFS, as > clang does not support the -ffile-prefix-map argument: > > clang: clang: error: error: unknown argument: > '-ffile-prefix-map=/<<PKGBUILDDIR>>=.'unknown argument: > '-ffile-prefix-map=/<<PKGBUILDDIR\>>=.'
This is actually supported in clang-10, and appears to build fine with clang-10. New patch attached which switches to clang-10. live well, vagrant
From f39dec30b7ac4c5356473a0ac0489b85974db22c Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <[email protected]> Date: Wed, 30 Sep 2020 00:26:00 +0000 Subject: [PATCH 6/6] Switch to clang-10 to support -ffile-prefix-map (Closes: #971402). --- debian/control | 4 ++-- debian/rules | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index ed101bf..3605c05 100644 --- a/debian/control +++ b/debian/control @@ -4,8 +4,8 @@ Priority: optional Maintainer: Sophie Brun <[email protected]> Uploaders: Raphaƫl Hertzog <[email protected]> Build-Depends: debhelper-compat (= 12), - clang-9, - libfuzzer-9-dev, + clang-10, + libfuzzer-10-dev, liblzma-dev, libssl-dev, libyaml-dev, diff --git a/debian/rules b/debian/rules index 90bf280..277142b 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,7 @@ #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all -export CC = clang-9 +export CC = clang-10 override_dh_auto_build: dh_auto_build -- V=1 -- 2.20.1
signature.asc
Description: PGP signature

