Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2019 12:45:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 242266] CLang 6.0.1 (Part of the System 12.0) can not Build CLang 8.0.1 from the Port Collection
Message-ID:  <bug-242266-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242266

            Bug ID: 242266
           Summary: CLang 6.0.1 (Part of the System 12.0) can not Build
                    CLang 8.0.1 from the Port Collection
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: CrazyMihey@Ya.Ru

Created attachment 209478
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D209478&action=
=3Dedit
Requested Files /tmp/AArch64InstPrinter-6bd737.cpp &&
/tmp/AArch64InstPrinter-6bd737.sh

It seems, CLang 6.0.1 (Part of the System 12.0) can not Build CLang 8.0.1 f=
rom
the Port Collection.
The Error happened when Updating Ports in the System.
Preparations, Before the Error (Worked Ok):
time rm -rf /usr/ports/* /usr/ports/.[!.]* /var/db/portsnap/*
/var/db/portsnap/.[!.]*
time portsnap fetch extract fetch update
time portmaster -B -d --no-confirm `whereis -s -q portmaster`
pkg --option AUTOCLEAN=3DYes --option ASSUME_ALWAYS_YES=3DYes delete "libXp"
time portmaster -B -v -d --no-confirm --delete-build-only --delete-packages=
 -y
--check-port-dbdir
time portmaster -y --check-depends

I think, some Ports need LLVM 8.0 for Building, so PortMaster will Build and
Install LLVM 8.0, ignoring LLVM 6.0...

Next Command generated Error:
time portmaster -B -v -d --no-confirm --delete-build-only --delete-packages=
 -a

[1396/4930] /usr/bin/c++  -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Ilib/Target/AArch64/InstPrinter -I/usr/p
orts/devel/llvm80/work/llvm-8.0.1.src/lib/Target/AArch64/InstPrinter
-I/usr/ports/devel/llvm80/work/llvm-8.0.1.src/lib/Target/AArch64
-Ilib/Target/AArch64 -Iinclude -I/usr/ports/de
vel/llvm80/work/llvm-8.0.1.src/include -Ilib/Target/AArch64/InstPrinter/..
-I/usr/ports/devel/llvm80/work/llvm-8.0.1.src/lib/Target/AArch64/InstPrinte=
r/..
-O2 -pipe -march=3Dnative -
O3 -pipe -march=3Dnative -DNDEBUG -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -march=3Dnative -O3 -pipe  -DNDEBUG
-isystem /usr/local/include -fPIC -fvisi
bility-inlines-hidden -Werror=3Ddate-time -Werror=3Dunguarded-availability-=
new
-std=3Dc++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wmissing-field-initializers -
pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default
-Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor
-Wstring-conversion -fdiagnostics-color -ffu
nction-sections -fdata-sections -O2 -pipe -march=3Dnative -O3 -pipe -march=
=3Dnative
-DNDEBUG -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -march=3Dnative -O3
 -pipe  -DNDEBUG -isystem /usr/local/include    -fno-exceptions -MD -MT
lib/Target/AArch64/InstPrinter/CMakeFiles/LLVMAArch64AsmPrinter.dir/AArch64=
InstPrinter.cpp.o
-MF lib/Target/
AArch64/InstPrinter/CMakeFiles/LLVMAArch64AsmPrinter.dir/AArch64InstPrinter=
.cpp.o.d
-o
lib/Target/AArch64/InstPrinter/CMakeFiles/LLVMAArch64AsmPrinter.dir/AArch64=
InstPrinter.cpp.o
-c
/usr/ports/devel/llvm80/work/llvm-8.0.1.src/lib/Target/AArch64/InstPrinter/=
AArch64InstPrinter.cpp
FAILED:
lib/Target/AArch64/InstPrinter/CMakeFiles/LLVMAArch64AsmPrinter.dir/AArch64=
InstPrinter.cpp.o
/usr/bin/c++  -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Ilib/Target/AArch64/InstPrinter -I/usr/ports/devel/l
lvm80/work/llvm-8.0.1.src/lib/Target/AArch64/InstPrinter
-I/usr/ports/devel/llvm80/work/llvm-8.0.1.src/lib/Target/AArch64
-Ilib/Target/AArch64 -Iinclude -I/usr/ports/devel/llvm80/w
ork/llvm-8.0.1.src/include -Ilib/Target/AArch64/InstPrinter/..
-I/usr/ports/devel/llvm80/work/llvm-8.0.1.src/lib/Target/AArch64/InstPrinte=
r/..
-O2 -pipe -march=3Dnative -O3 -pipe -ma
rch=3Dnative -DNDEBUG -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -march=3Dnative -O3 -pipe  -DNDEBUG -isystem
/usr/local/include -fPIC -fvisibility-inlin
es-hidden -Werror=3Ddate-time -Werror=3Dunguarded-availability-new -std=3Dc=
++11 -Wall
-Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wmissing-field-initializers -pedantic -Wn
o-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-t=
ype
-Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion
-fdiagnostics-color -ffunction-secti
ons -fdata-sections -O2 -pipe -march=3Dnative -O3 -pipe -march=3Dnative -DN=
DEBUG
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing
-march=3Dnative -O3 -pipe  -DND
EBUG -isystem /usr/local/include    -fno-exceptions -MD -MT
lib/Target/AArch64/InstPrinter/CMakeFiles/LLVMAArch64AsmPrinter.dir/AArch64=
InstPrinter.cpp.o
-MF lib/Target/AArch64/Inst
Printer/CMakeFiles/LLVMAArch64AsmPrinter.dir/AArch64InstPrinter.cpp.o.d -o
lib/Target/AArch64/InstPrinter/CMakeFiles/LLVMAArch64AsmPrinter.dir/AArch64=
InstPrinter.cpp.o
-c /usr/port
s/devel/llvm80/work/llvm-8.0.1.src/lib/Target/AArch64/InstPrinter/AArch64In=
stPrinter.cpp
c++: error: unable to execute command: Abort trap (core dumped)
c++: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM
6.0.1)
Target: i386-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.freebsd.org/submit/ and include the crash backtrace, preproces=
sed
source, and associated run script.
c++: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/AArch64InstPrinter-6bd737.cpp
c++: note: diagnostic msg: /tmp/AArch64InstPrinter-6bd737.sh
c++: note: diagnostic msg:

********************

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242266-227>