Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607530 - =sys-devel/llvm-4.0.0-r2: build fails on Gentoo/FreeBSD with <gcc-6.0
Summary: =sys-devel/llvm-4.0.0-r2: build fails on Gentoo/FreeBSD with <gcc-6.0
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-29 02:23 UTC by Yuta SATOH
Modified: 2018-03-14 14:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (llvm-4.0.0_rc1_build.log,21.25 KB, text/plain)
2017-01-29 02:23 UTC, Yuta SATOH
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2017-01-29 02:23:32 UTC
Created attachment 461788 [details]
build.log

# emerge --info | grep default/bsd
Portage 2.3.3 (python 3.4.5-final-0, default/bsd/fbsd/amd64/11.0, gcc-5.4.0, freebsd-lib-11.0-r1, 11.0-r1-Gentoo amd64)

# USE="-doc" MAKEOPTS=-j1 emerge -pv =clang-4.0.0_rc1
[ebuild  N    #] sys-devel/llvm-4.0.0_rc1:0/4::gentoo  USE="libffi ncurses -debug -doc (-gold) -libedit -multitarget {-test}" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="BPF (X86) -AArch64 -AMDGPU -ARM -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -XCore" 0 KiB
[ebuild  N    #] sys-libs/compiler-rt-sanitizers-4.0.0_rc1:0/4.0::gentoo  USE="{-test}" 0 KiB
[ebuild  N    #] sys-libs/compiler-rt-4.0.0_rc1:0/4.0::gentoo  USE="{-test}" 0 KiB
[ebuild  N    #] sys-devel/clang-runtime-4.0.0_rc1::gentoo  USE="compiler-rt sanitize -libcxx -openmp" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N    #] sys-devel/clang-4.0.0_rc1:0/4::gentoo  USE="static-analyzer -debug -default-compiler-rt -default-libcxx -doc -multitarget -python {-test} -xml" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="BPF (X86) -AArch64 -AMDGPU -ARM -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -XCore" PYTHON_TARGETS="python2_7" 0 KiB



# USE="-doc" MAKEOPTS=-j1 emerge -pv =llvm-4.0.0_rc1
[ebuild  N    #] sys-devel/llvm-4.0.0_rc1:0/4::gentoo  USE="libffi ncurses -debug -doc (-gold) -libedit -multitarget {-test}" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="BPF (X86) -AArch64 -AMDGPU -ARM -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -XCore" 0 KiB

# USE="-doc" MAKEOPTS=-j1 emerge =llvm-4.0.0_rc1
<snip>
>>> Working in BUILD_DIR: "/var/tmp/portage/sys-devel/llvm-4.0.0_rc1/work/llvm-4.0.0rc1.src-abi_x86_64.amd64_fbsd"
ninja -j1 -v
[1/1358] /usr/bin/x86_64-gentoo-freebsd11.0-g++  -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Demangle -I/var/tmp/portage/sys-devel/llvm-4.0.0_rc1/work/llvm-4.0.0rc1.src/lib/Demangle -Iinclude -I/var/tmp/portage/sys-devel/llvm-4.0.0_rc1/work/llvm-4.0.0rc1.src/include -I/usr/local/include  -O2 -pipe -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -fPIC -MD -MT lib/Demangle/CMakeFiles/LLVMDemangle.dir/ItaniumDemangle.cpp.o -MF lib/Demangle/CMakeFiles/LLVMDemangle.dir/ItaniumDemangle.cpp.o.d -o lib/Demangle/CMakeFiles/LLVMDemangle.dir/ItaniumDemangle.cpp.o -c /var/tmp/portage/sys-devel/llvm-4.0.0_rc1/work/llvm-4.0.0rc1.src/lib/Demangle/ItaniumDemangle.cpp
FAILED: lib/Demangle/CMakeFiles/LLVMDemangle.dir/ItaniumDemangle.cpp.o

Full log, please see attachment.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-01-29 08:04:49 UTC
Hmm, I suppose it's something specific to FreeBSD gcc build. I wonder if anyone else does these. Would it be possible for you to try -9999, just in case?
Comment 2 Yuta SATOH 2017-05-31 12:24:58 UTC
Now, we can use gcc-6.3.0 on Gentoo/FreeBSD.
This bug will be fixed with gcc-6.0 or later version.
Details please see bug 607620.

Please switch to latest version of gcc before you run `emerge sys-devel/llvm sys-devel/clang`.