NetBSD Problem Report #53139
From wiz@yt.nih.at Wed Mar 28 14:05:42 2018
Return-Path: <wiz@yt.nih.at>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id C24EB7A1F0
for <gnats-bugs@gnats.NetBSD.org>; Wed, 28 Mar 2018 14:05:42 +0000 (UTC)
Message-Id: <20180328140528.14EC72AC208@yt.nih.at>
Date: Wed, 28 Mar 2018 16:05:28 +0200 (CEST)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Subject: -fstack-check causes build error in mail/thunderbird
X-Send-Pr-Version: 3.95
>Number: 53139
>Category: toolchain
>Synopsis: -fstack-check causes build problem in mail/thunderbird
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 28 14:10:00 +0000 2018
>Closed-Date: Thu Feb 14 23:10:09 +0000 2019
>Last-Modified: Thu Feb 14 23:10:09 +0000 2019
>Originator: Thomas Klausner
>Release: NetBSD 8.99.14
>Organization:
Curiosity is the very basis of education and if you tell me that
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:
Architecture: x86_64
Machine: amd64
>Description:
When adding PKGSRC_USE_STACK_CHECK=yes to /etc/mk.conf, mail/thunderbird stops building:
In file included from /scratch/mail/thunderbird/work/build/layout/generic/Unified_cpp_layout_generic1.cpp:11:0:
/scratch/mail/thunderbird/work/thunderbird-52.6.0/mozilla/layout/generic/nsBlockFrame.cpp: In member function 'virtual nscoord nsBlockFrame::GetMinISize(nsRenderingContext*)':
/scratch/mail/thunderbird/work/thunderbird-52.6.0/mozilla/layout/generic/nsBlockFrame.cpp:704:1: internal compiler error: in refs_may_alias_p_1, at tree-ssa-alias.c:1429
nsBlockFrame::GetMinISize(nsRenderingContext *aRenderingContext)
^~~~~~~~~~~~
no stack trace because unwind library not available
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://www.NetBSD.org/support/send-pr.html> for instructions.
security/tor-browser is affected in the same way.
>How-To-Repeat:
echo 'PKGSRC_USE_STACK_CHECK=yes' >> /etc/mk.conf
cd /usr/pkgsrc/mail/thunderbird
make package
>Fix:
>Release-Note:
>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: toolchain/53139: -fstack-check causes build error in
mail/thunderbird
Date: Wed, 28 Mar 2018 23:21:46 +0200
I've now also reported this upstream at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85114
with more details and the .ii file.
Thomas
State-Changed-From-To: open->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Tue, 25 Dec 2018 13:30:16 +0000
State-Changed-Why:
This had an upstream commit: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=251650
What would you like to do with this? This will be fixed if we update to GCC-7.
From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: toolchain/53139 (-fstack-check causes build problem in
mail/thunderbird)
Date: Wed, 26 Dec 2018 00:32:19 +0100
First priority was to get it debugged, which happened.
It'd be great to be able to build thunderbird again, so a gcc 7 import
would be neat. Backporting the fix is probably not worth the time.
Not sure what the best handling of the PR itself is.
Thomas
State-Changed-From-To: feedback->analyzed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sun, 06 Jan 2019 10:33:26 +0000
State-Changed-Why:
feedback supplied
State-Changed-From-To: analyzed->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Thu, 14 Feb 2019 23:10:09 +0000
State-Changed-Why:
Fixed by recent gcc7 import. Thanks mrg!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.