On Sat, 03 Oct 2020 09:38:03 -0700 Vagrant Cascadian <vagr...@reproducible-builds.org> wrote: > On 2020-09-29, Vagrant Cascadian wrote: > > When run with DEB_BUILD_OPTIONS=reproducible=+fixfilepath, simde FTBFS: > > > > clang: error: unknown argument: '-ffile-prefix-map=/<<PKGBUILDDIR>>=.' > > > > This is because clang 10 is the first version to support > > -ffile-prefix-map, and simde is building with the default clang version > > 9. > > > > The attached patch updates to clang-10 to fix this issue. > > Though clang 11 might become the default for bullseye, in which case > this would be a needless change; I haven't tested if simde builds fine > with clang 11.
Thank you Vagrant for reporting this issue and your patch. SIMDe is a header-only library, the compilation is just to test the library against the default GCC & clang versions in Debian. I would prefer to keep testing the default versions, to get ahead of any bugs that might appear. I guess testing for all versions of clang and gcc in Debian could be done as part of the package building and autopkgtest. So I'm leaning towards adding the other fix of disabling setting DEB_BUILD_MAINT_OPTIONS=reproducible=-fixfilepath+fixdebugpath What do you think? -- Michael R. Crusoe
signature.asc
Description: OpenPGP digital signature