View previous topic :: View next topic |
Author |
Message |
reflexnet n00b
Joined: 13 Feb 2007 Posts: 39
|
Posted: Mon May 01, 2017 6:54 pm Post subject: [SOLVED] llvm-3.9.1-r1 compile failure |
|
|
See post No 7 below from fedeliallalinea for the fix
After switching to GCC 5.4.0 and during the necessary revdep-rebuild ( revdep-rebuild --library 'libstdc\+\+\.so\.6' -- --exclude gcc) my compile of llvm crashes reproducably. Here is the relevant section of the log:
Code: | [515/1416] /usr/bin/cmake -E cmake_symlink_library lib32/libLLVMAMDGPUDesc.so.39.1 lib32/libLLVMAMDGPUDesc.so.39 lib32/libLLVMAMDGPUDesc.so && :
[516/1416] /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Target/BPF/MCTargetDesc -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/BPF/MCTargetDesc -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/BPF -Ilib/Target/BPF -Iinclude -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/include -DNDEBUG -march=core2 -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/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFELFObjectWriter.cpp.o -MF lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFELFObjectWriter.cpp.o.d -o lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFELFObjectWriter.cpp.o -c /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp
[517/1416] /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Target/BPF/MCTargetDesc -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/BPF/MCTargetDesc -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/BPF -Ilib/Target/BPF -Iinclude -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/include -DNDEBUG -march=core2 -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/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFMCCodeEmitter.cpp.o -MF lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFMCCodeEmitter.cpp.o.d -o lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFMCCodeEmitter.cpp.o -c /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp
[518/1416] : && /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -fPIC -march=core2 -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 -Wl,-O1 -Wl,--as-needed -Wl,-z,defs -Wl,-O3 -Wl,--gc-sections -shared -Wl,-soname,libLLVMBPFDesc.so.39 -o lib32/libLLVMBPFDesc.so.39.1 lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFMCTargetDesc.cpp.o lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFAsmBackend.cpp.o lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFMCCodeEmitter.cpp.o lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFELFObjectWriter.cpp.o -Wl,-rpath,"\$ORIGIN/../lib32" lib32/libLLVMBPFAsmPrinter.so.39.1 lib32/libLLVMBPFInfo.so.39.1 lib32/libLLVMMC.so.39.1 lib32/libLLVMSupport.so.39.1 && :
FAILED: lib32/libLLVMBPFDesc.so.39.1
: && /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -fPIC -march=core2 -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 -Wl,-O1 -Wl,--as-needed -Wl,-z,defs -Wl,-O3 -Wl,--gc-sections -shared -Wl,-soname,libLLVMBPFDesc.so.39 -o lib32/libLLVMBPFDesc.so.39.1 lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFMCTargetDesc.cpp.o lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFAsmBackend.cpp.o lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFMCCodeEmitter.cpp.o lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFELFObjectWriter.cpp.o -Wl,-rpath,"\$ORIGIN/../lib32" lib32/libLLVMBPFAsmPrinter.so.39.1 lib32/libLLVMBPFInfo.so.39.1 lib32/libLLVMMC.so.39.1 lib32/libLLVMSupport.so.39.1 && :
/usr/lib32/libc_nonshared.a(stack_chk_fail_local.oS): In function `__stack_chk_fail_local':
(.text+0x10): undefined reference to `__stack_chk_fail'
collect2: error: ld returned 1 exit status
[519/1416] cd /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src-abi_x86_32.x86/lib/Target/X86 && /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src-abi_x86_32.x86/bin/llvm-tblgen -gen-instr-info -I /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/X86 -I /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target -I /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/include /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/X86/X86.td -o /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src-abi_x86_32.x86/lib/Target/X86/X86GenInstrInfo.inc.tmp
[520/1416] cd /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src-abi_x86_32.x86/lib/Target/X86 && /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src-abi_x86_32.x86/bin/llvm-tblgen -gen-asm-writer -I /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/X86 -I /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target -I /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/include /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/X86/X86.td -o /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src-abi_x86_32.x86/lib/Target/X86/X86GenAsmWriter.inc.tmp
[521/1416] /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Target/AMDGPU/Disassembler -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/AMDGPU/Disassembler -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/AMDGPU -Ilib/Target/AMDGPU -Iinclude -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/include -Ilib/Target/AMDGPU/Disassembler/.. -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/AMDGPU/Disassembler/.. -DNDEBUG -march=core2 -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/Target/AMDGPU/Disassembler/CMakeFiles/LLVMAMDGPUDisassembler.dir/AMDGPUDisassembler.cpp.o -MF lib/Target/AMDGPU/Disassembler/CMakeFiles/LLVMAMDGPUDisassembler.dir/AMDGPUDisassembler.cpp.o.d -o lib/Target/AMDGPU/Disassembler/CMakeFiles/LLVMAMDGPUDisassembler.dir/AMDGPUDisassembler.cpp.o -c /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
[522/1416] /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Target/AMDGPU/AsmParser -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/AMDGPU/AsmParser -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/AMDGPU -Ilib/Target/AMDGPU -Iinclude -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/include -DNDEBUG -march=core2 -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/Target/AMDGPU/AsmParser/CMakeFiles/LLVMAMDGPUAsmParser.dir/AMDGPUAsmParser.cpp.o -MF lib/Target/AMDGPU/AsmParser/CMakeFiles/LLVMAMDGPUAsmParser.dir/AMDGPUAsmParser.cpp.o.d -o lib/Target/AMDGPU/AsmParser/CMakeFiles/LLVMAMDGPUAsmParser.dir/AMDGPUAsmParser.cpp.o -c /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
ninja: build stopped: subcommand failed.
* ERROR: sys-devel/llvm-3.9.1-r1::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 115: Called src_compile
* environment, line 5101: Called multilib-minimal_src_compile
* environment, line 3223: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
* environment, line 3454: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 3089: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 3087: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
* environment, line 653: Called multilib-minimal_abi_src_compile
* environment, line 3217: Called multilib_src_compile
* environment, line 3666: Called cmake-utils_src_compile
* environment, line 1266: Called _cmake_execute_optionally 'src_compile'
* environment, line 363: Called enable_cmake-utils_src_compile
* environment, line 1566: Called cmake-utils_src_make
* environment, line 1281: Called _cmake_ninja_src_make
* environment, line 419: Called die
* The specific snippet of code:
* "$@" || die
*
* If you need support, post the output of `emerge --info '=sys-devel/llvm-3.9.1-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/llvm-3.9.1-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/llvm-3.9.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/llvm-3.9.1-r1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src-abi_x86_32.x86'
* S: '/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src'
>>> Failed to emerge sys-devel/llvm-3.9.1-r1, Log file:
>>> '/var/tmp/portage/sys-devel/llvm-3.9.1-r1/temp/build.log'
* Messages for package sys-devel/llvm-3.9.1-r1:
* ERROR: sys-devel/llvm-3.9.1-r1::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 115: Called src_compile
* environment, line 5101: Called multilib-minimal_src_compile
* environment, line 3223: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
* environment, line 3454: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 3089: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 3087: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
* environment, line 653: Called multilib-minimal_abi_src_compile
* environment, line 3217: Called multilib_src_compile
* environment, line 3666: Called cmake-utils_src_compile
* environment, line 1266: Called _cmake_execute_optionally 'src_compile'
* environment, line 363: Called enable_cmake-utils_src_compile
* environment, line 1566: Called cmake-utils_src_make
* environment, line 1281: Called _cmake_ninja_src_make
* environment, line 419: Called die
* The specific snippet of code:
* "$@" || die
*
* If you need support, post the output of `emerge --info '=sys-devel/llvm-3.9.1-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/llvm-3.9.1-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/llvm-3.9.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/llvm-3.9.1-r1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src-abi_x86_32.x86'
* S: '/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src'
|
Note the FAILED at 517
Full log at https://paste.pound-python.org/show/SNqrovnw4zfruOP9nB4r/
emerge --info '=sys-devel/llvm-3.9.1-r1::gentoo':
Code: |
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.23-r3, 4.0.5-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.3
KiB Mem: 8175132 total, 4078692 free
KiB Swap: 8809404 total, 8800748 free
Timestamp of repository gentoo: Sat, 29 Apr 2017 15:15:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash: 4.3_p48-r1::gentoo
dev-lang/perl: 5.24.1-r1::gentoo
dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake: 3.7.2::gentoo
dev-util/pkgconfig: 0.28-r2::gentoo
sys-apps/baselayout: 2.3::gentoo
sys-apps/openrc: 0.24.2::gentoo
sys-apps/sandbox: 2.10-r3::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo
sys-devel/automake: 1.14.1::gentoo, 1.15-r2::gentoo
sys-devel/binutils: 2.25.1-r1::gentoo, 2.26.1::gentoo
sys-devel/gcc: 4.9.3::gentoo, 4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool: 2.4.6-r3::gentoo
sys-devel/make: 4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc: 2.23-r3::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage
priority: -1000
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ rsync://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="64bit X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr dynamic emboss encode exif fam firefox flac fortran gdbm gif glamor gpm hddtemp iconv icu imagemagick imlib ipv6 jpeg jpeg2k kde kipi kwallet lcms ldap libnotify lm_sensors mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt4 qt5 raw readline sdl seccomp semantic-desktop session spell ssl startup-notification svg tcpd threads tiff tk truetype udev udisks unicode upower usb vorbis widgets wmf wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
=================================================================
Package Settings
=================================================================
sys-devel/llvm-3.9.1-r1::gentoo was built with the following:
USE="libffi ncurses sanitize static-analyzer xml -clang -debug -default-compiler-rt -default-libcxx -doc -gold -libedit (-lldb) -multitarget -ocaml -python -test" ABI_X86="32 64 -x32" LLVM_TARGETS="AMDGPU BPF NVPTX X86 -AArch64 -ARM -Hexagon -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore" PYTHON_TARGETS="python2_7"
|
emerge -pqv '=sys-devel/llvm-3.9.1-r1::gentoo'
Code: | [ebuild R ] sys-devel/llvm-3.9.1-r1 USE="libffi ncurses sanitize static-analyzer xml -clang -debug -default-compiler-rt -default-libcxx -doc -gold -libedit (-lldb) -multitarget -ocaml -python {-test}" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore" PYTHON_TARGETS="python2_7"
|
Any hints? Thank you!
Last edited by reflexnet on Wed May 03, 2017 8:25 pm; edited 2 times in total |
|
Back to top |
|
|
sebB l33t
Joined: 02 Mar 2011 Posts: 806 Location: S.O. France
|
Posted: Mon May 01, 2017 10:30 pm Post subject: |
|
|
Seems you are using ninja?
Have you try disabling it for llvm? |
|
Back to top |
|
|
reflexnet n00b
Joined: 13 Feb 2007 Posts: 39
|
Posted: Mon May 01, 2017 11:46 pm Post subject: |
|
|
sebB wrote: | Seems you are using ninja?
Have you try disabling it for llvm? |
To tell you the truth: I have no clue about ninja (or llvm for that matter) - just gets pulled in by other packages.
However, ninja seems to be a requirement for llvm:
Code: | anke ~ # equery depends ninja
* These packages depend on ninja:
dev-qt/qtwebengine-5.6.2 (dev-util/ninja)
sys-devel/llvm-3.9.1-r1 (dev-util/ninja)
www-client/chromium-58.0.3029.81 (dev-util/ninja)
|
|
|
Back to top |
|
|
limn l33t
Joined: 13 May 2005 Posts: 997
|
Posted: Tue May 02, 2017 11:27 am Post subject: |
|
|
__stack_chk_fail is from SSP - Stack Smashing Protection - which is part of gcc. Run the emerge command on gcc instead of llvm. |
|
Back to top |
|
|
reflexnet n00b
Joined: 13 Feb 2007 Posts: 39
|
Posted: Wed May 03, 2017 1:54 am Post subject: |
|
|
limn wrote: | __stack_chk_fail is from SSP - Stack Smashing Protection - which is part of gcc. Run the emerge command on gcc instead of llvm. |
Sorta did, with emerge -e world. It compiled gcc and later on crashed on llvm.
So: Didn't help, same kind of crash, but at a different spot, earlier in the compile:
Code: |
[472/1416] cd /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src-abi_x86_32.x86/lib/Target/X86 && /usr/bin/cmake -E copy_if_different /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src-abi_x86_32.x86/lib/Target/X86/X86GenAsmWriter.inc.tmp /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src-abi_x86_32.x86/lib/Target/X86/X86GenAsmWriter.inc
[473/1416] : && /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -fPIC -march=core2 -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 -Wl,-O1 -Wl,--as-needed -Wl,-z,defs -Wl,-O3 -Wl,--gc-sections -shared -Wl,-soname,libLLVMBPFDesc.so.39 -o lib32/libLLVMBPFDesc.so.39.1 lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFMCTargetDesc.cpp.o lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFAsmBackend.cpp.o lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFMCCodeEmitter.cpp.o lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFELFObjectWriter.cpp.o -Wl,-rpath,"\$ORIGIN/../lib32" lib32/libLLVMBPFAsmPrinter.so.39.1 lib32/libLLVMBPFInfo.so.39.1 lib32/libLLVMMC.so.39.1 lib32/libLLVMSupport.so.39.1 && :
FAILED: lib32/libLLVMBPFDesc.so.39.1
: && /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -fPIC -march=core2 -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 -Wl,-O1 -Wl,--as-needed -Wl,-z,defs -Wl,-O3 -Wl,--gc-sections -shared -Wl,-soname,libLLVMBPFDesc.so.39 -o lib32/libLLVMBPFDesc.so.39.1 lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFMCTargetDesc.cpp.o lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFAsmBackend.cpp.o lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFMCCodeEmitter.cpp.o lib/Target/BPF/MCTargetDesc/CMakeFiles/LLVMBPFDesc.dir/BPFELFObjectWriter.cpp.o -Wl,-rpath,"\$ORIGIN/../lib32" lib32/libLLVMBPFAsmPrinter.so.39.1 lib32/libLLVMBPFInfo.so.39.1 lib32/libLLVMMC.so.39.1 lib32/libLLVMSupport.so.39.1 && :
/usr/lib32/libc_nonshared.a(stack_chk_fail_local.oS): In function `__stack_chk_fail_local':
(.text+0x10): undefined reference to `__stack_chk_fail'
collect2: error: ld returned 1 exit status
[474/1416] cd /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src-abi_x86_32.x86/lib/Target/X86 && /usr/bin/cmake -E copy_if_different /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src-abi_x86_32.x86/lib/Target/X86/X86GenAsmWriter1.inc.tmp /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src-abi_x86_32.x86/lib/Target/X86/X86GenAsmWriter1.inc
[475/1416] /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Target/NVPTX/TargetInfo -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/NVPTX/TargetInfo -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/NVPTX -Ilib/Target/NVPTX -Iinclude -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/include -DNDEBUG -march=core2 -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/Target/NVPTX/TargetInfo/CMakeFiles/LLVMNVPTXInfo.dir/NVPTXTargetInfo.cpp.o -MF lib/Target/NVPTX/TargetInfo/CMakeFiles/LLVMNVPTXInfo.dir/NVPTXTargetInfo.cpp.o.d -o lib/Target/NVPTX/TargetInfo/CMakeFiles/LLVMNVPTXInfo.dir/NVPTXTargetInfo.cpp.o -c /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/NVPTX/TargetInfo/NVPTXTargetInfo.cpp
[476/1416] cd /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src-abi_x86_32.x86/lib/Target/X86 && /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src-abi_x86_32.x86/bin/llvm-tblgen -gen-register-info -I /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/X86 -I /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target -I /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/include /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/X86/X86.td -o /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src-abi_x86_32.x86/lib/Target/X86/X86GenRegisterInfo.inc.tmp
[477/1416] /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Target/NVPTX/InstPrinter -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/NVPTX/InstPrinter -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/NVPTX -Ilib/Target/NVPTX -Iinclude -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/include -DNDEBUG -march=core2 -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/Target/NVPTX/InstPrinter/CMakeFiles/LLVMNVPTXAsmPrinter.dir/NVPTXInstPrinter.cpp.o -MF lib/Target/NVPTX/InstPrinter/CMakeFiles/LLVMNVPTXAsmPrinter.dir/NVPTXInstPrinter.cpp.o.d -o lib/Target/NVPTX/InstPrinter/CMakeFiles/LLVMNVPTXAsmPrinter.dir/NVPTXInstPrinter.cpp.o -c /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.cpp
ninja: build stopped: subcommand failed.
* ERROR: sys-devel/llvm-3.9.1-r1::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 115: Called src_compile
* environment, line 5101: Called multilib-minimal_src_compile
* environment, line 3223: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
* environment, line 3454: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 3089: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 3087: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
* environment, line 653: Called multilib-minimal_abi_src_compile
* environment, line 3217: Called multilib_src_compile
* environment, line 3666: Called cmake-utils_src_compile
* environment, line 1266: Called _cmake_execute_optionally 'src_compile'
* environment, line 363: Called enable_cmake-utils_src_compile
* environment, line 1566: Called cmake-utils_src_make
* environment, line 1281: Called _cmake_ninja_src_make
* environment, line 419: Called die
* The specific snippet of code:
* "$@" || die
*
* If you need support, post the output of `emerge --info '=sys-devel/llvm-3.9.1-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/llvm-3.9.1-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/llvm-3.9.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/llvm-3.9.1-r1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src-abi_x86_32.x86'
* S: '/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src'
|
There is again the
Code: | FAILED: lib32/libLLVMBPFDesc.so.39.1 | and the
Still stumped! |
|
Back to top |
|
|
reflexnet n00b
Joined: 13 Feb 2007 Posts: 39
|
Posted: Wed May 03, 2017 2:31 am Post subject: |
|
|
Sorry to quote myself below, but it gets weirder: In another compile of llvm I get the same errors, but in yet another spot.
reflexnet wrote: |
There is again the
Code: | FAILED: lib32/libLLVMBPFDesc.so.39.1 | and the
|
This time later at [565/1416]. I spare you the log, same errors.
Ideas? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30917 Location: here
|
Posted: Wed May 03, 2017 6:00 am Post subject: |
|
|
Code: | /usr/lib32/libc_nonshared.a(stack_chk_fail_local.oS): In function `__stack_chk_fail_local':
(.text+0x10): undefined reference to `__stack_chk_fail' |
With a google search I found that adding -fno-stack-protector to cxxflag solve the problem (I not investigated because).
So try with these commands
Code: | # echo "CXXFLAGS=\"\${CXXFLAGS} -fno-stack-protector\"" >> /etc/portage/env/nostackprotector.conf
# echo "sys-devel/llvm nostackprotector.conf" >> /etc/portage/package.env
# emerge -1 llvm |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
limn l33t
Joined: 13 May 2005 Posts: 997
|
Posted: Wed May 03, 2017 11:15 am Post subject: |
|
|
Run this command.
Code: | emerge -pqv '=sys-devel/gcc-5.4.0-r3' |
|
|
Back to top |
|
|
reflexnet n00b
Joined: 13 Feb 2007 Posts: 39
|
Posted: Wed May 03, 2017 8:15 pm Post subject: |
|
|
fedeliallalinea wrote: | Code: | /usr/lib32/libc_nonshared.a(stack_chk_fail_local.oS): In function `__stack_chk_fail_local':
(.text+0x10): undefined reference to `__stack_chk_fail' |
With a google search I found that adding -fno-stack-protector to cxxflag solve the problem (I not investigated because).
So try with these commands Code: | # echo "CXXFLAGS=\"\${CXXFLAGS} -fno-stack-protector\"" >> /etc/portage/env/nostackprotector.conf
# echo "sys-devel/llvm nostackprotector.conf" >> /etc/portage/package.env
# emerge -1 llvm |
|
I saw that too - and yes, that fixed it. Thank god for stackoverflow!
Had to wait for the rest of the -e world to finish in order to test it.
Thanks a lot! |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21635
|
Posted: Thu May 04, 2017 1:22 am Post subject: |
|
|
I cannot explain why this failed for you, but I should note that llvm builds cleanly for me with stack protection enabled. Something else is amiss and this change merely hides it. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30917 Location: here
|
Posted: Thu May 04, 2017 5:44 am Post subject: |
|
|
Hu wrote: | I cannot explain why this failed for you, but I should note that llvm builds cleanly for me with stack protection enabled. Something else is amiss and this change merely hides it. |
Yes you are right, my solution is only a workaround _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 698 Location: San Diego, CA
|
Posted: Thu May 11, 2017 12:59 am Post subject: |
|
|
fedeliallalinea wrote: | Yes you are right, my solution is only a workaround |
So... is "-fno-stack-protector" the only way, at least for now? Is downgrading gcc to 4.x worth a try?
__
sol |
|
Back to top |
|
|
letli n00b
Joined: 09 Dec 2016 Posts: 4
|
Posted: Mon May 22, 2017 3:29 pm Post subject: |
|
|
fedeliallalinea wrote: | Code: | /usr/lib32/libc_nonshared.a(stack_chk_fail_local.oS): In function `__stack_chk_fail_local':
(.text+0x10): undefined reference to `__stack_chk_fail' |
With a google search I found that adding -fno-stack-protector to cxxflag solve the problem (I not investigated because).
So try with these commands
Code: | # echo "CXXFLAGS=\"\${CXXFLAGS} -fno-stack-protector\"" >> /etc/portage/env/nostackprotector.conf
# echo "sys-devel/llvm nostackprotector.conf" >> /etc/portage/package.env
# emerge -1 llvm |
|
I'm running into the same problem. Nice solution. |
|
Back to top |
|
|
poxu n00b
Joined: 19 May 2017 Posts: 23
|
Posted: Tue May 23, 2017 8:53 am Post subject: |
|
|
I had that same problem with llvm-4.0.0 when switching ot gcc 6.3.0 . The solution worked, thanks. |
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 698 Location: San Diego, CA
|
Posted: Tue May 23, 2017 9:18 pm Post subject: |
|
|
poxu wrote: | I had that same problem with llvm-4.0.0 when switching ot gcc 6.3.0 . The solution worked, thanks. |
Do you happen to remember which gcc version you switched from?
__
sol |
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 698 Location: San Diego, CA
|
Posted: Tue Jun 20, 2017 10:40 pm Post subject: |
|
|
I suspect that my problem was something else. I swapped out the HDD (because it seemed like it was on its last legs) and increased the swap partition ("dropbox" kept dying). Not sure what contributed, but even without "-fno-stack-protector", I'm able to build llvm (3.9.1-r1) without an issue.
__
sol |
|
Back to top |
|
|
nywiley n00b
Joined: 27 Jan 2012 Posts: 2
|
Posted: Mon Nov 20, 2017 9:55 pm Post subject: Solved |
|
|
Change your /etc/profile/make.conf file so that MAKEOPTS="-j1" and it will compile fine. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21635
|
Posted: Tue Nov 21, 2017 2:44 am Post subject: Re: Solved |
|
|
nywiley wrote: | Change your /etc/profile/make.conf file so that MAKEOPTS="-j1" and it will compile fine. | This advice seems to be wrong in several ways. First, it gives an incorrect path. /etc/profile is a file, not a directory, and it is associated with Bourne shells, not Gentoo Portage. You likely meant /etc/portage/make.conf. Second, sys-devel/llvm can be compiled with parallelism enabled, assuming sufficient system resources are available. In resource constrained environments, reducing parallelism can reduce load and allow the build to proceed. Third, this advice is extremely tardy. A workaround was found in May that, while I disagree with it, worked for the original poster. Further, solamour indicated that the -fno-stack-protector workaround was unnecessary, but hinted that having sufficient system resources (in particular, adequate virtual memory) is important for this package. |
|
Back to top |
|
|
EvilPudding n00b
Joined: 25 Nov 2017 Posts: 11
|
Posted: Sat Nov 25, 2017 3:28 am Post subject: |
|
|
I'm currently having a similar issue with llvm-5, am trying out the -f-no-stack-protection. I don't see memory resources as being a possible problem, since, although all my cores are at 100% usage, memory is always below 4GB, and my machine has a 16GB chip. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30917 Location: here
|
Posted: Sat Nov 25, 2017 7:31 am Post subject: |
|
|
You should post build.log (with wgetpaste) for see if it's same problem. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
photono n00b
Joined: 08 Dec 2017 Posts: 1
|
Posted: Fri Dec 08, 2017 8:55 am Post subject: Re: Solved |
|
|
Hu wrote: | nywiley wrote: | Change your /etc/profile/make.conf file so that MAKEOPTS="-j1" and it will compile fine. | This advice seems to be wrong in several ways. First, it gives an incorrect path. /etc/profile is a file, not a directory, and it is associated with Bourne shells, not Gentoo Portage. You likely meant /etc/portage/make.conf. Second, sys-devel/llvm can be compiled with parallelism enabled, assuming sufficient system resources are available. In resource constrained environments, reducing parallelism can reduce load and allow the build to proceed. Third, this advice is extremely tardy. A workaround was found in May that, while I disagree with it, worked for the original poster. Further, solamour indicated that the -fno-stack-protector workaround was unnecessary, but hinted that having sufficient system resources (in particular, adequate virtual memory) is important for this package. |
In my new AMD 1950x system, with "-j32" make opt, llvm making process was broken, even if -fno-stack-protector flag was added.
But changed -j32 -> -j8, everything gose well. |
|
Back to top |
|
|
OldTango l33t
Joined: 21 Feb 2004 Posts: 718
|
Posted: Fri Dec 22, 2017 3:40 pm Post subject: Re: Solved |
|
|
photono wrote: | In my new AMD 1950x system, with "-j32" make opt, llvm making process was broken, even if -fno-stack-protector flag was added.
But changed -j32 -> -j8, everything gose well. |
Just ran into this problem with sys-devel/llvm-4.0.1-r1 on an AMD 1090T and had to set MAKEOPTS="-j3" to get it to compile. Using -j7 would cause it to fail |
|
Back to top |
|
|
Jari_42 n00b
Joined: 06 Jan 2018 Posts: 11
|
Posted: Sat Jan 06, 2018 3:03 pm Post subject: Re: Solved |
|
|
OldTango wrote: | photono wrote: | In my new AMD 1950x system, with "-j32" make opt, llvm making process was broken, even if -fno-stack-protector flag was added.
But changed -j32 -> -j8, everything gose well. |
Just ran into this problem with sys-devel/llvm-4.0.1-r1 on an AMD 1090T and had to set MAKEOPTS="-j3" to get it to compile. Using -j7 would cause it to fail |
I had to set MAKEOPTS="-j1" to get sys-devel/llvm-4.0.1-r1 to compile on my AMD 1100T with 8GB memory. Weird issue, is it specific to AMD? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|