From owner-freebsd-toolchain@freebsd.org Sun May 12 07:50:26 2019 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B24BD158FBB2 for ; Sun, 12 May 2019 07:50:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 473CB8CBE3 for ; Sun, 12 May 2019 07:50:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 05260158FBB1; Sun, 12 May 2019 07:50:26 +0000 (UTC) Delivered-To: toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E60AD158FBB0 for ; Sun, 12 May 2019 07:50:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 785AE8CBE2 for ; Sun, 12 May 2019 07:50:25 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 978D3184CD for ; Sun, 12 May 2019 07:50:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x4C7oOKs019590 for ; Sun, 12 May 2019 07:50:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x4C7oOZp019589 for toolchain@FreeBSD.org; Sun, 12 May 2019 07:50:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 216563] lang/gcc5: lang/gcc: stack alignment insufficient on i386 for SSE2 code. Date: Sun, 12 May 2019 07:50:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mandree@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 May 2019 07:50:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216563 --- Comment #2 from Matthias Andree --- Wow. The original bug reports are 10 years old. You could've thought this = has been fixed long since. The interesting part is that the affected code line per se deals with an ar= ray of double values, so that should be happy with 4-byte aligned stacks, but s= ome part of the code employs SSE2 code to initialize the array and that copy-initial-values-code requires 16-byte alignment. Something in the compi= ler is inconsistent. Either it needs to figure it can't rely on the alignment of the stack - then it cannot use SSE2 instructions, or, if it wants to use SS= E2 instructions, it needs to waste 4...12 bytes but make realignment automatic. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sun May 12 21:01:14 2019 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D61415A2533 for ; Sun, 12 May 2019 21:01:14 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2AABF8AF1F for ; Sun, 12 May 2019 21:01:14 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id E2EE015A23F7; Sun, 12 May 2019 21:01:13 +0000 (UTC) Delivered-To: toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D05F115A23F5 for ; Sun, 12 May 2019 21:01:13 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 65BC28AF0A for ; Sun, 12 May 2019 21:01:13 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A8D361F5B9 for ; Sun, 12 May 2019 21:01:12 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x4CL1Cai043192 for ; Sun, 12 May 2019 21:01:12 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x4CL1COx043191 for toolchain@FreeBSD.org; Sun, 12 May 2019 21:01:12 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201905122101.x4CL1COx043191@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: toolchain@FreeBSD.org Subject: Problem reports for toolchain@FreeBSD.org that need special attention Date: Sun, 12 May 2019 21:01:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 May 2019 21:01:14 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 234232 | clang Assertion failed when building the port dev Open | 237068 | /usr/local/bin/ld: BFD (GNU Binutils) 2.30 assert 2 problems total for which you should take action. From owner-freebsd-toolchain@freebsd.org Tue May 14 15:45:48 2019 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F72915915BA for ; Tue, 14 May 2019 15:45:48 +0000 (UTC) (envelope-from emacsray@gmail.com) Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 899AD7213E; Tue, 14 May 2019 15:45:47 +0000 (UTC) (envelope-from emacsray@gmail.com) Received: by mail-ot1-x32b.google.com with SMTP id r7so11195033otn.6; Tue, 14 May 2019 08:45:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=ngwu5vsyVj3XI715WiKwvFQzon2TX2dAvMlntGhtmuY=; b=j/QkXJpKeobKELv54T9KMEFJgliKQgvgG6qqDROoWyXW1sjdYL96o6/I2SiykJyOll wGxl75wQjTnOhhDMvFgTeezvkelMZbROAgzQKt5GeA7AKPPmy2QsMY2HTUN2FYEpR9G2 tLBduI09+3JMh7okPq4Nda1HpQvnRyyvVX2HQF+2it7R58MarxgBPvP8iTXv2J3PZ3ij m2FZQrNzfDyRuN+L1IVNmDzj+NdHS/qmmtLQG8H87/R226sWOvQgNLuKb+czW4s+Jo3E 0tuhw1V0LtzrC0RwnPSlzLwnpm0GAnyc+yzklVIpCTTHliIUiNgCRvv6ZG7RM3jj8TpB ipDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=ngwu5vsyVj3XI715WiKwvFQzon2TX2dAvMlntGhtmuY=; b=GtLuKdYjqIAeII7LK8mjSttZJBtJVrjKignLLrbdLFcTsdXElccYaPWtbvmMc7cMSE i8iyop9K9ZVarTF05+Jeg9vwObhDl5JORRgzudmHmUPDCSTVXMPeeCijLzqdb0Y5m78z XpDlzVeynCjpaVPAnGa0KvUFvcwtJVdupadG4sL8+KPYKXGg/eRTcXQRquhAa8xDNr4Y ML/YfFsLEGkVCspLFAAwwIeu+IwL1uXeEld9HB6nPT4oqjG3pHrp/GP31ElJp7YrahbB xY7ao+f8+5Q1Oy28zMXchRLlLtCkWRjI4s8IybTacC5ySnrnwiT4b3i1XZe+EF9LDERz lfNQ== X-Gm-Message-State: APjAAAX7owIRYBGAEotvVUNFqIZt2TabrrMfqjzOkYrBrM0HKEdmfCJB ql2iV8V1EZgcL+DTKo5RxBwfIFX80X05groSUhY= X-Google-Smtp-Source: APXvYqx5DdPKjWIf4sC6Uvy03FNmT+rcuwjAbMvLpKrIN3YBN+PPuxbjpBGhnY7GrdYAIqf4oqRUWbK8wtrud9E0k7s= X-Received: by 2002:a9d:6f06:: with SMTP id n6mr2839128otq.159.1557848746671; Tue, 14 May 2019 08:45:46 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?RsSBbmctcnXDrCBTw7JuZw==?= Date: Tue, 14 May 2019 23:45:35 +0800 Message-ID: Subject: TLS Variant I may not satisfy offset%p_align == (base+p_vaddr)%p_align To: jrtc27@jrtc27.com, brooks@freebsd.org, emaste@freebsd.org, kib@freebsd.org Cc: freebsd-toolchain@freebsd.org X-Rspamd-Queue-Id: 899AD7213E X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=j/QkXJpK; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of emacsray@gmail.com designates 2607:f8b0:4864:20::32b as permitted sender) smtp.mailfrom=emacsray@gmail.com X-Spamd-Result: default: False [-6.80 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[b.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_SHORT(-0.92)[-0.917,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-2.88)[ip: (-8.80), ipnet: 2607:f8b0::/32(-3.26), asn: 15169(-2.27), country: US(-0.06)]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 May 2019 15:45:49 -0000 See https://reviews.llvm.org/D61824 For the PT_TLS segment in the main module, currently when p_vaddr%p_align!=0, FreeBSD rtld behaves like musl (1.1.20~1.1.22) - it aligns the TLS block to 0 modulo main_tls_align. This is incorrect. According to Szabolcs Nagy, glibc/elf/dl-tls.c is correct and FreeBSD rtld/musl/Bionic are wrong. This revision is related: https://reviews.freebsd.org/D16510 I did a quick test with qemu-system-aarch64 FreeBSD-13.0-CURRENT-arm64-aarch64-20190510-r347415-mini-memstick.img while investigating the Android breakage. I haven't looked into the source carefully. From owner-freebsd-toolchain@freebsd.org Fri May 17 23:10:19 2019 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 729F615A1FB4 for ; Fri, 17 May 2019 23:10:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0D0128EF63 for ; Fri, 17 May 2019 23:10:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C1BDF15A1FB3; Fri, 17 May 2019 23:10:18 +0000 (UTC) Delivered-To: toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F6EC15A1FB2 for ; Fri, 17 May 2019 23:10:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C0D78EF5D for ; Fri, 17 May 2019 23:10:18 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 634731309 for ; Fri, 17 May 2019 23:10:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x4HNAHBA087545 for ; Fri, 17 May 2019 23:10:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x4HNAH6T087544 for toolchain@FreeBSD.org; Fri, 17 May 2019 23:10:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 234201] Regression in LLVM libunwind: Apache Tomcat web application crashes on 12.0 (but not on 11.2) Date: Fri, 17 May 2019 23:10:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: crash, regression, toolchain X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: daveb@spectralogic.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2019 23:10:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234201 Dave Baukus changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daveb@spectralogic.com --- Comment #6 from Dave Baukus --- We are seeing this same issue on Release-12.0 in a large Java application; = one of our Java developers created a small, standalone test that emits the libunwind error message and core dumps: Core was generated by `/usr/local/openjdk8/bin/java -cp .:fast-md5-2.7.1.jar MD5Demo'. Program terminated with signal SIGABRT, Aborted. #0 0x000000080045230a in thr_kill () from /lib/libc.so.7 [Current thread is 1 (LWP 101996)] (gdb) bt #0 0x000000080045230a in thr_kill () from /lib/libc.so.7 #1 0x00000008004506f4 in raise () from /lib/libc.so.7 #2 0x00000008003c3079 in abort () from /lib/libc.so.7 #3 0x00000008007f1f3e in ?? () from /lib/libgcc_s.so.1 #4 0x00000008007f2e49 in ?? () from /lib/libgcc_s.so.1 #5 0x00000008007f2d31 in ?? () from /lib/libgcc_s.so.1 #6 0x000000080020f1ec in dl_iterate_phdr () from /libexec/ld-elf.so.1 #7 0x00000008007f0422 in ?? () from /lib/libgcc_s.so.1 #8 0x00000008007f02a0 in ?? () from /lib/libgcc_s.so.1 #9 0x00000008007ee410 in ?? () from /lib/libgcc_s.so.1 #10 0x00000008007ee6f3 in _Unwind_ForcedUnwind () from /lib/libgcc_s.so.1 #11 0x000000080028cfdc in ?? () from /lib/libthr.so.3 #12 0x000000080028cfa0 in ?? () from /lib/libthr.so.3 #13 0x000000080028cdfb in pthread_exit () from /lib/libthr.so.3 #14 0x000000080027f77e in ?? () from /lib/libthr.so.3 #15 0x0000000000000000 in ?? () The problem does NOT occur on FreeBSD-12.0-STABLE-amd64-20190517-r347885. Is anyone aware of a specific fix ? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sat May 18 15:42:12 2019 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71E5915907D5 for ; Sat, 18 May 2019 15:42:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 03EA986C51 for ; Sat, 18 May 2019 15:42:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B6D0715907D2; Sat, 18 May 2019 15:42:11 +0000 (UTC) Delivered-To: toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A40C515907D1 for ; Sat, 18 May 2019 15:42:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3F7C986C4E for ; Sat, 18 May 2019 15:42:11 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 826EFA458 for ; Sat, 18 May 2019 15:42:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x4IFgAgG002947 for ; Sat, 18 May 2019 15:42:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x4IFgAIo002946 for toolchain@FreeBSD.org; Sat, 18 May 2019 15:42:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 237676] LLD Filesize and default option suggestions Date: Sat, 18 May 2019 15:42:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emacsray@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-toolchain@freebsd.org X-Mailman-Version: 2.1.29 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, 18 May 2019 15:42:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237676 maskray changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emacsray@gmail.com --- Comment #4 from maskray --- Use --strip-all if you don't want .symtab Use --no-rosegment to merge R PT_LOAD and RE PT_LOAD To discard PT_GNU_STACK and .comment, you have to use a linker script, e.g. PHDRS { text PT_LOAD; } SECTIONS { /DISCARD/ : {*(.comment)} .text : {*(.text)} :text } (objcopy options can be combined, e.g. objcopy -S --remove-section=3D.comme= nt porcupine.lld --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sat May 18 16:15:53 2019 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0940D1591992 for ; Sat, 18 May 2019 16:15:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9748688694 for ; Sat, 18 May 2019 16:15:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 580E91591991; Sat, 18 May 2019 16:15:52 +0000 (UTC) Delivered-To: toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43E50159198F for ; Sat, 18 May 2019 16:15:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C648488690 for ; Sat, 18 May 2019 16:15:51 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 087D3A8B9 for ; Sat, 18 May 2019 16:15:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x4IGFoIH069540 for ; Sat, 18 May 2019 16:15:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x4IGFo58069539 for toolchain@FreeBSD.org; Sat, 18 May 2019 16:15:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 234201] Regression in LLVM libunwind: Apache Tomcat web application crashes on 12.0 (but not on 11.2) Date: Sat, 18 May 2019 16:15:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: crash, regression, toolchain X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-toolchain@freebsd.org X-Mailman-Version: 2.1.29 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, 18 May 2019 16:15:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234201 --- Comment #7 from Dimitry Andric --- (In reply to Dave Baukus from comment #6) > We are seeing this same issue on Release-12.0 in a large Java application; > one of our Java developers created a small, standalone test that emits the > libunwind error message and core dumps If it is possible, it would be nice to attach the jar. > The problem does NOT occur on FreeBSD-12.0-STABLE-amd64-20190517-r347885.= Is > anyone aware of a specific fix ? 12.0-RELEASE shipped with clang 6.0.1 and a fairly old version of llvm-libunwind. While I updated llvm and clang a few times, I didn't handle llvm-libunwind until the 8.0.0 import in base r346168. There, I upgraded llvm-libunwind to the same upstream revision as the rest of llvm and clang, e.g. upstream 8.0.0 final r356365. Unfortunately that is rather a huge commit, also for the libunwind part, so= it is not easy to pinpoint one exact upstream revision that fixes this particu= lar issue. --=20 You are receiving this mail because: You are the assignee for the bug.=