Date: Sat, 09 May 2020 19:44:47 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 246322] ld.bfd error on releng/11.4 confuses many autoconf scripts Message-ID: <bug-246322-29464-JaPSbVzFtS@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-246322-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-246322-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246322 --- Comment #4 from Dimitry Andric <dim@FreeBSD.org> --- In any case clang 8 does not produce any .cfi directives in crt*.o, while c= lang 9 and 10 do. For instance /usr/obj/usr/src/lib/csu/i386/crt1_c.s with clang becomes: .text .file "crt1_c.c" # Start of file scope inline assemb= ly .ident "$FreeBSD: stable/11/lib/csu/i386/crt1_c.c 292000 2015-12-08 19:32:58Z emaste $" .ident "$FreeBSD: stable/11/lib/csu/common/crtbrand.c 339300 2018-10-11 00:26:15Z emaste $" .ident "$FreeBSD: stable/11/lib/csu/common/ignore_init.c 339300 2018-10-11 00:26:15Z emaste $" .hidden _start1 # End of file scope inline assembly .globl _start1 # -- Begin function _start1 .p2align 4, 0x90 .type _start1,@function _start1: # @_start1 # %bb.0: ... With clang 10 this becomes: .text .file "crt1_c.c" # Start of file scope inline assemb= ly .ident "$FreeBSD: stable/11/lib/csu/i386/crt1_c.c 292000 2015-12-08 19:32:58Z emaste $" .ident "$FreeBSD: stable/11/lib/csu/common/crtbrand.c 339300 2018-10-11 00:26:15Z emaste $" .ident "$FreeBSD: stable/11/lib/csu/common/ignore_init.c 339300 2018-10-11 00:26:15Z emaste $" .hidden _start1 # End of file scope inline assembly .globl _start1 # -- Begin function _start1 .p2align 4, 0x90 .type _start1,@function _start1: # @_start1 .cfi_startproc # %bb.0: ... The directives got turned on by emaste in https://github.com/llvm/llvm-project/commit/cb1761465a0d, referring in his commit message to bug 241562 ("failing test case: lib.libexecinfo.backtrace_test.backtrace_fmt_basic"). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246322-29464-JaPSbVzFtS>