Summary: | print/ghostscript9-agpl-base fails to build on arm64 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Glen Barber <gjb> | ||||||||
Component: | Individual Port(s) | Assignee: | Dimitry Andric <dim> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Only Me | CC: | Andrew, dim, emaste | ||||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(doceng) |
||||||||
Version: | Latest | ||||||||||
Hardware: | arm64 | ||||||||||
OS: | Any | ||||||||||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241747 | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 201763 | ||||||||||
Attachments: |
|
Description
Glen Barber
![]() ![]() I can build this with clang 3.9 and llvm r279852 [1]. For llvm 3.8 there seem to be further patches needed. [1] http://llvm.org/viewvc/llvm-project?view=revision&revision=279852 If anybody still has the gdevcd8-751c5c.c and gdevcd8-751c5c.sh files, please attach them to this bug. Created attachment 176895 [details]
gzip of original gdevcd8-e7b8ed.c
Created attachment 176896 [details]
Minimised test case
Created attachment 176897 [details]
build script
A commit references this bug: Author: dim Date: Fri Nov 11 21:01:46 UTC 2016 New revision: 308559 URL: https://svnweb.freebsd.org/changeset/base/308559 Log: Pull in r263169 from upstream llvm trunk (by Tim Northover): AArch64: only try to use scaled fcvt ops on legal vector types. Before we ended up calling getSimpleVectorType on a <3 x float>, which asserted. This fixes an assertion when building the print/ghostscript9-agpl-base port for AArch64. PR: 213865 MFC after: 3 days Changes: head/contrib/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp Since I don't have any AArch64 setup, can one of you please confirm that after r308559 this port builds to completion successfully? A commit references this bug: Author: dim Date: Mon Nov 14 18:57:22 UTC 2016 New revision: 308648 URL: https://svnweb.freebsd.org/changeset/base/308648 Log: MFC r308559: Pull in r263169 from upstream llvm trunk (by Tim Northover): AArch64: only try to use scaled fcvt ops on legal vector types. Before we ended up calling getSimpleVectorType on a <3 x float>, which asserted. This fixes an assertion when building the print/ghostscript9-agpl-base port for AArch64. PR: 213865 Changes: _U stable/11/ stable/11/contrib/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp |