From owner-freebsd-arm@freebsd.org Sun Jan 1 07:59:16 2017 Return-Path: Delivered-To: freebsd-arm@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 73CBBC9A226 for ; Sun, 1 Jan 2017 07:59:16 +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 588F2192C for ; Sun, 1 Jan 2017 07:59:16 +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 v017xGJ0081238 for ; Sun, 1 Jan 2017 07:59:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 215691] head -r310854: lldb.full gets various "relocation truncated to fit: R_ARM_CALL against symbol ... defined in .plt section in ..." failure messages Date: Sun, 01 Jan 2017 07:59:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markmi@dsl-only.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter 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-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jan 2017 07:59:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215691 Bug ID: 215691 Summary: head -r310854: lldb.full gets various "relocation truncated to fit: R_ARM_CALL against symbol ... defined in .plt section in ..." failure messages Product: Base System Version: CURRENT Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: markmi@dsl-only.net My attempted -r310854 based amd64 -> armv6 cross buildworld failed with: --- lldb.full --- /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o= ): In function `llvm_regexec': /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x80): relocation trunca= ted to fit: R_ARM_CALL against symbol `strlen@@FBSD_1.0' defined in .plt sectio= n in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0xbc): relocation trunca= ted to fit: R_ARM_CALL against symbol `strlen@@FBSD_1.0' defined in .plt sectio= n in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x144): relocation trunc= ated to fit: R_ARM_CALL against symbol `memcmp@@FBSD_1.0' defined in .plt sectio= n in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x21c): relocation trunc= ated to fit: R_ARM_CALL against symbol `__aeabi_read_tp@@FBSDprivate_1.0' define= d in .plt section in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x624): relocation trunc= ated to fit: R_ARM_CALL against symbol `malloc@@FBSD_1.0' defined in .plt sectio= n in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x6bc): relocation trunc= ated to fit: R_ARM_CALL against symbol `malloc@@FBSD_1.0' defined in .plt sectio= n in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x840): relocation trunc= ated to fit: R_ARM_CALL against symbol `free@@FBSD_1.0' defined in .plt section = in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x8c4): relocation trunc= ated to fit: R_ARM_CALL against symbol `memcmp@@FBSD_1.0' defined in .plt sectio= n in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x918): relocation trunc= ated to fit: R_ARM_CALL against symbol `malloc@@FBSD_1.0' defined in .plt sectio= n in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x970): relocation trunc= ated to fit: R_ARM_CALL against symbol `memset@@FBSD_1.0' defined in .plt sectio= n in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x9f0): additional relocation overflows omitted from the output # Meta data file /usr/obj/rpi2_clang/arm.armv6/usr/src/usr.bin/clang/lldb/lldb.full.meta CMD c++ -mcpu=3Dcortex-a7 -mcpu=3Dcortex-a7 -target armv6-gnueabihf-freebsd= 12.0 --sysroot=3D/usr/obj/rpi2_clang/arm.armv6/usr/src/tmp -B/usr/obj/rpi2_clang/arm.armv6/usr/src/tmp/usr/bin -O -pipe -I/usr/src/contrib/llvm/tools/lldb/include -I/usr/src/contrib/llvm/tools/clang/include -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_STATIC_ANALYZER -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"armv6-gnueabihf-freebsd12.0\" -DLLVM_HOST_TRIPLE=3D\"armv6-unknown-freebsd12.0\" -DDEFAULT_SYSROOT=3D\"\"= -g -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-sw= itch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -std=3Dc++11 -fno-exceptions -fno-rtti -stdlib=3Dlibc++ -Wno-c++11-extensions -o lldb.full Driver.o /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/liblldb/liblldb.a /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libclang/libclang.a /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a -ledit=20 -lpanel -lncursesw -lz -lpthread CWD /usr/obj/rpi2_clang/arm.armv6/usr/src/usr.bin/clang/lldb TARGET lldb.full -- command output -- /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o= ): In function `llvm_regexec': /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x80): relocation trunca= ted to fit: R_ARM_CALL against symbol `strlen@@FBSD_1.0' defined in .plt sectio= n in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0xbc): relocation trunca= ted to fit: R_ARM_CALL against symbol `strlen@@FBSD_1.0' defined in .plt sectio= n in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x144): relocation trunc= ated to fit: R_ARM_CALL against symbol `memcmp@@FBSD_1.0' defined in .plt sectio= n in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x21c): relocation trunc= ated to fit: R_ARM_CALL against symbol `__aeabi_read_tp@@FBSDprivate_1.0' define= d in .plt section in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x624): relocation trunc= ated to fit: R_ARM_CALL against symbol `malloc@@FBSD_1.0' defined in .plt sectio= n in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x6bc): relocation trunc= ated to fit: R_ARM_CALL against symbol `malloc@@FBSD_1.0' defined in .plt sectio= n in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x840): relocation trunc= ated to fit: R_ARM_CALL against symbol `free@@FBSD_1.0' defined in .plt section = in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x8c4): relocation trunc= ated to fit: R_ARM_CALL against symbol `memcmp@@FBSD_1.0' defined in .plt sectio= n in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x918): relocation trunc= ated to fit: R_ARM_CALL against symbol `malloc@@FBSD_1.0' defined in .plt sectio= n in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x970): relocation trunc= ated to fit: R_ARM_CALL against symbol `memset@@FBSD_1.0' defined in .plt sectio= n in /usr/obj/rpi2_clang/arm.armv6/usr/src/lib/clang/libllvm/libllvm.a(regexec.o) /usr/src/contrib/llvm/lib/Support/regexec.c:(.text+0x9f0): additional relocation overflows omitted from the output c++: error: linker command failed with exit code 1 (use -v to see invocatio= n) *** Error code 1 Script started on Sat Dec 31 18:35:07 2016 Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/dev/null SRC_ENV_CONF=3D/root/src.configs/src.conf.rpi2-clang-bootstrap.amd64-host WITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/rpi2_clang make -j 4 build= world buildkernel # more /root/src.configs/src.conf.rpi2-clang-bootstrap.amd64-host TO_TYPE=3Darmv6 # KERNCONF=3DRPI2-NODBG TARGET=3Darm .if ${.MAKE.LEVEL} =3D=3D 0 TARGET_ARCH=3D${TO_TYPE} .export TARGET_ARCH .endif # WITH_CROSS_COMPILER=3D WITHOUT_SYSTEM_COMPILER=3D # #CPUTYPE=3Dsoft WITH_LIBCPLUSPLUS=3D WITH_BINUTILS_BOOTSTRAP=3D WITH_CLANG_BOOTSTRAP=3D WITH_CLANG=3D WITH_CLANG_IS_CC=3D WITH_CLANG_FULL=3D WITH_CLANG_EXTRAS=3D WITH_LLDB=3D # WITH_BOOT=3D WITHOUT_LIB32=3D WITHOUT_LIBSOFT=3D # WITHOUT_ELFTOOLCHAIN_BOOTSTRAP=3D WITHOUT_GCC_BOOTSTRAP=3D WITHOUT_GCC=3D WITHOUT_GCC_IS_CC=3D WITHOUT_GNUCXX=3D # NO_WERROR=3D #WERROR=3D MALLOC_PRODUCTION=3D # WITH_DEBUG_FILES=3D # XCFLAGS+=3D -mcpu=3Dcortex-a7 XCXXFLAGS+=3D -mcpu=3Dcortex-a7 # There is no XCPPFLAGS but XCPP gets XCFLAGS content. # more /usr/src/sys/arm/conf/RPI2-NODBG=20 # # RPI2 -- Custom configuration for the Raspberry Pi 2 # include "RPI2" ident RPI2-NODBG makeoptions DEBUG=3D-g # Build kernel with gdb(1) debug symbols options ALT_BREAK_TO_DEBUGGER options KDB # Enable kernel debugger support # For minimum debugger support (stable branch) use: options KDB_TRACE # Print a stack trace for a panic options DDB # Enable the kernel debugger # Extra stuff: #options VERBOSE_SYSINIT # Enable verbose sysinit messages #options BOOTVERBOSE=3D1 #options BOOTHOWTO=3DRB_VERBOSE #options KTR #options KTR_MASK=3DKTR_TRAP ##options KTR_CPUMASK=3D0xF #options KTR_VERBOSE # Disable any extra checking for. . . nooptions DEADLKRES # Enable the deadlock resolver nooptions INVARIANTS # Enable calls of extra sanity chec= king nooptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS nooptions WITNESS # Enable checks to detect deadlocks= and cycles nooptions WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed nooptions DIAGNOSTIC --=20 You are receiving this mail because: You are the assignee for the bug.=