Bug 223613 - devel/llvm-devel: fails to build on aarch64
Summary: devel/llvm-devel: fails to build on aarch64
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm64 Any
: --- Affects Only Me
Assignee: Brooks Davis
URL:
Keywords: needs-patch, needs-qa, regression
Depends on:
Blocks:
 
Reported: 2017-11-11 21:50 UTC by Jan Beich
Modified: 2018-02-14 05:35 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (brooks)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2017-11-11 21:50:23 UTC
=======================<phase: package        >============================
===>  Building package for llvm-devel-6.0.d20171023
pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm-devel/work/stage/usr/local/llvm-devel/cfi_blacklist.txt:No such file or directory
*** Error code 1

http://thunderx1.nyi.freebsd.org/data/110arm64-default/453785/logs/errors/llvm-devel-6.0.d20171023.log
Comment 1 Jan Beich freebsd_committer freebsd_triage 2017-11-11 21:54:43 UTC
According to http://thunderx1.nyi.freebsd.org/data/latest-per-pkg/llvm-devel/ previous snapshot built fine.
Comment 2 gessel 2017-12-18 22:05:54 UTC
FreeBSD 10.3-RELEASE #0 r322073:
llvm-devel-6.0.d20171023           <   needs updating (index has 6.0.d20171207)



[2056/3672] /usr/bin/c++  -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Passes -I/var/ports/usr/ports/devel/llvm-devel/work/llvm-113753f1f65a96c18833e19fe61645b144f0bbdd/lib/Passes -Iinclude -I/var/ports/usr/ports/devel/llvm-devel/work/llvm-113753f1f65a96c18833e19fe61645b144f0bbdd/include -isystem /usr/local/include -O2 -pipe -march=amdfam10 -fomit-frame-pointer -march=amdfam10 -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -fcolor-diagnostics -fdata-sections -O2 -pipe -march=amdfam10 -fomit-frame-pointer -march=amdfam10 -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include    -fno-exceptions -MD -MT lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o -MF lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o.d -o lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o -c /var/ports/usr/ports/devel/llvm-devel/work/llvm-113753f1f65a96c18833e19fe61645b144f0bbdd/lib/Passes/PassBuilder.cpp
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/llvm-devel
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/llvm-devel
Comment 3 Brooks Davis freebsd_committer freebsd_triage 2017-12-18 23:56:10 UTC
The most recent message doesn't contain enough to debug the new issue (unrelated to the original PR), but builds on 10.3 under i386 and amd64 and aarch64 seems likely to be broken as well.  I'm about to commit a workaround for 10.3.
Comment 4 Brooks Davis freebsd_committer freebsd_triage 2018-02-02 23:14:20 UTC
I suspect this is fixed.  If not, pleaser reopen with more information.  Thanks.