From owner-freebsd-ports-bugs@freebsd.org Sun Jan 15 16:40:43 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FCCBCAF8A7 for ; Sun, 15 Jan 2017 16:40:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F32511B31 for ; Sun, 15 Jan 2017 16:40:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v0FGegIF088995 for ; Sun, 15 Jan 2017 16:40:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 216117] devel/llvm39: clang crashes trying to build lld on i386 Date: Sun, 15 Jan 2017 16:40:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter blocked flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2017 16:40:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216117 Bug ID: 216117 Summary: devel/llvm39: clang crashes trying to build lld on i386 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: brooks@FreeBSD.org Reporter: jbeich@FreeBSD.org Blocks: 216008 Assignee: brooks@FreeBSD.org Flags: maintainer-feedback?(brooks@FreeBSD.org) The following error happens only with 32bit /usr/bin/clang but not via -m32. I'm using a custom kernel which is (re)based on drm-next but it doesn't exh= ibit issues on 10.3 i386 or 11.0 i386. FAILED: tools/lld/ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o=20 /usr/bin/c++ -DGTEST_HAS_RTTI=3D0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/lld/ELF -I/wrkdirs/usr/ports/devel/llvm39/work/llvm-3.9.1.src/tools/lld/ELF -I/wrkdirs/usr/ports/devel/llvm39/work/llvm-3.9.1.src/tools/lld/include -Itools/lld/include -Iinclude -I/wrkdirs/usr/ports/devel/llvm39/work/llvm-3.9.1.src/include -I/usr/local/include -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Werror=3Ddate-time -std=3Dc++11 -fcolor-diagnostics -ffunction-sections -fdata-sections -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fno-exceptions -fno-r= tti -MD -MT tools/lld/ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o -MF tools/lld/ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o.d -o tools/lld/ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o -c /wrkdirs/usr/ports/devel/llvm39/work/llvm-3.9.1.src/tools/lld/ELF/OutputSec= tions.cpp c++: error: unable to execute command: Segmentation fault c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 4.0.0 (branches/release_40 292009) (based on LLVM 4.0= .0) 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:=20 ******************** 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/OutputSections-f012c9.cpp c++: note: diagnostic msg: /tmp/OutputSections-f012c9.sh c++: note: diagnostic msg: Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216008 [Bug 216008] [exp-run] Update llvm/clang/compiler-rt/libc++/lld/lldb in bas= e to 4.0.0 --=20 You are receiving this mail because: You are the assignee for the bug.=