From owner-freebsd-toolchain@freebsd.org Sat Jan 23 05:43:34 2016 Return-Path: Delivered-To: freebsd-toolchain@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 267FEA8DCF4 for ; Sat, 23 Jan 2016 05:43:34 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-157.reflexion.net [208.70.211.157]) (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 E00C81820 for ; Sat, 23 Jan 2016 05:43:32 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 29921 invoked from network); 23 Jan 2016 05:43:37 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 23 Jan 2016 05:43:37 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v7.80.0) with SMTP; Sat, 23 Jan 2016 00:43:29 -0500 (EST) Received: (qmail 399 invoked from network); 23 Jan 2016 05:43:28 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 23 Jan 2016 05:43:28 -0000 X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.1.124] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id A6A911C43C6; Fri, 22 Jan 2016 21:43:19 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: projects/clang380-import -r294609: arm buildworld broken by picking up -r294499's disable of clang.lib.mk -mlong-calls use Message-Id: <87D952A4-1EA6-4CD4-85DB-DE5696FB34B5@dsl-only.net> Date: Fri, 22 Jan 2016 21:43:25 -0800 To: freebsd-arm , FreeBSD Toolchain Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) X-Mailer: Apple Mail (2.3112) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2016 05:43:34 -0000 When I tried an rpi2 buildworld for clang380-import -r294609 it failed = with =E2=80=9Crelocation truncated=E2=80=9D problems. (arm7-a cortex-a7 = no misaligned accesses as my context.) It looks like this is from picking up base/head=E2=80=99s -r294499 as = part of forming -r294599 in clang380-import. -r294499 commented out = having -mlong-calls in /usr/src/lib/clang/clang.lib.mk: > # more /usr/src/lib/clang/clang.lib.mk > # $FreeBSD: projects/clang380-import/lib/clang/clang.lib.mk 294599 = 2016-01-22 20:41:56Z dim $ >=20 > LLVM_SRCS=3D ${.CURDIR}/../../../contrib/llvm >=20 > .include "clang.build.mk" >=20 > INTERNALLIB=3D >=20 > .if ${MACHINE_CPUARCH} =3D=3D "arm" > # This will need to be enabled to link clang 3.8 > #STATIC_CXXFLAGS+=3D -mlong-calls > .endif >=20 > .include The script=E2=80=99s buildworld records show: > --- all_subdir_clang --- > = /usr/obj/clang/arm.armv6/usr/src/usr.bin/clang/clang/../../../lib/clang/li= bclangfrontendtool/libclangfrontendtool.a(ExecuteCompilerInvocation.o): = In function = `clang::ExecuteCompilerInvocation(clang::CompilerInstance*)': > = /usr/src/lib/clang/libclangfrontendtool/../../../contrib/llvm/tools/clang/= lib/FrontendTool/ExecuteCompilerInvocation.cpp:(.text+0x98): relocation = truncated to fit: R_ARM_CALL against symbol = `llvm::sys::DynamicLibrary::getPermanentLibrary(char const*, = std::__1::basic_string, = std::__1::allocator >*)' defined in .text section in = /usr/obj/clang/arm.armv6/usr/src/usr.bin/clang/clang/../../../lib/clang/li= bllvmsupport/libllvmsupport.a(DynamicLibrary.o) > = /usr/src/lib/clang/libclangfrontendtool/../../../contrib/llvm/tools/clang/= lib/FrontendTool/ExecuteCompilerInvocation.cpp:(.text+0x120): relocation = truncated to fit: R_ARM_CALL against symbol = `std::__1::basic_string, = std::__1::allocator >::~basic_string()' defined in = .text._ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev[= _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED5Ev] = section in = /usr/obj/clang/arm.armv6/usr/src/tmp/usr/lib/libc++.a(string.o) > = /usr/src/lib/clang/libclangfrontendtool/../../../contrib/llvm/tools/clang/= lib/FrontendTool/ExecuteCompilerInvocation.cpp:(.text+0x1c4): relocation = truncated to fit: R_ARM_CALL against symbol = `std::__1::basic_string, = std::__1::allocator >::~basic_string()' defined in = .text._ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev[= _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED5Ev] = section in = /usr/obj/clang/arm.armv6/usr/src/tmp/usr/lib/libc++.a(string.o) > = /usr/src/lib/clang/libclangfrontendtool/../../../contrib/llvm/tools/clang/= lib/FrontendTool/ExecuteCompilerInvocation.cpp:(.text+0x224): relocation = truncated to fit: R_ARM_CALL against symbol `operator new[](unsigned = int)' defined in .text section in = /usr/obj/clang/arm.armv6/usr/src/tmp/usr/lib/libc++.a(new.o) > = /usr/src/lib/clang/libclangfrontendtool/../../../contrib/llvm/tools/clang/= lib/FrontendTool/ExecuteCompilerInvocation.cpp:(.text+0x238): relocation = truncated to fit: R_ARM_CALL against symbol `memset' defined in .text = section in /usr/obj/clang/arm.armv6/usr/src/tmp/usr/lib/libc.a(memset.o) > = /usr/src/lib/clang/libclangfrontendtool/../../../contrib/llvm/tools/clang/= lib/FrontendTool/ExecuteCompilerInvocation.cpp:(.text+0x294): relocation = truncated to fit: R_ARM_CALL against symbol = `llvm::cl::ParseCommandLineOptions(int, char const* const*, char = const*)' defined in .text section in = /usr/obj/clang/arm.armv6/usr/src/usr.bin/clang/clang/../../../lib/clang/li= bllvmsupport/libllvmsupport.a(CommandLine.o) > = /usr/src/lib/clang/libclangfrontendtool/../../../contrib/llvm/tools/clang/= lib/FrontendTool/ExecuteCompilerInvocation.cpp:(.text+0x29c): relocation = truncated to fit: R_ARM_CALL against symbol `operator delete[](void*)' = defined in .text section in = /usr/obj/clang/arm.armv6/usr/src/tmp/usr/lib/libc++.a(new.o) > = /usr/src/lib/clang/libclangfrontendtool/../../../contrib/llvm/tools/clang/= lib/FrontendTool/ExecuteCompilerInvocation.cpp:(.text+0x2dc): relocation = truncated to fit: R_ARM_CALL against symbol `operator delete(void*)' = defined in .text section in = /usr/obj/clang/arm.armv6/usr/src/tmp/usr/lib/libc++.a(new.o) > = /usr/src/lib/clang/libclangfrontendtool/../../../contrib/llvm/tools/clang/= lib/FrontendTool/ExecuteCompilerInvocation.cpp:(.text+0x2f8): relocation = truncated to fit: R_ARM_CALL against symbol `llvm::outs()' defined in = .text section in = /usr/obj/clang/arm.armv6/usr/src/usr.bin/clang/clang/../../../lib/clang/li= bllvmsupport/libllvmsupport.a(raw_ostream.o) > --- all_subdir_usr.sbin --- > --- auditdistd.debug --- > --- all_subdir_usr.bin --- > = /usr/src/lib/clang/libclangfrontendtool/../../../contrib/llvm/tools/clang/= lib/FrontendTool/ExecuteCompilerInvocation.cpp:(.text+0x340): relocation = truncated to fit: R_ARM_CALL against symbol `operator delete(void*)' = defined in .text section in = /usr/obj/clang/arm.armv6/usr/src/tmp/usr/lib/libc++.a(new.o) > = /usr/src/lib/clang/libclangfrontendtool/../../../contrib/llvm/tools/clang/= lib/FrontendTool/ExecuteCompilerInvocation.cpp:(.text+0x348): additional = relocation overflows omitted from the output =3D=3D=3D Mark Millard markmi at dsl-only.net