Received: (at 29464) by debbugs.gnu.org; 29 Dec 2017 19:27:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 29 14:27:31 2017 Received: from localhost ([127.0.0.1]:56952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eV0JX-000619-2i for submit <at> debbugs.gnu.org; Fri, 29 Dec 2017 14:27:31 -0500 Received: from defaultvalue.org ([45.33.119.55]:48030 ident=postfix) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rlb@HIDDEN>) id 1eV0JV-000611-LB for 29464 <at> debbugs.gnu.org; Fri, 29 Dec 2017 14:27:29 -0500 Received: from trouble.defaultvalue.org (localhost [127.0.0.1]) (Authenticated sender: rlb@HIDDEN) by defaultvalue.org (Postfix) with ESMTPSA id 1D9D420209; Fri, 29 Dec 2017 13:27:29 -0600 (CST) Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id C3D8014E569; Fri, 29 Dec 2017 13:27:28 -0600 (CST) From: Rob Browning <rlb@HIDDEN> To: Dan Kegel <dank@HIDDEN> Subject: Re: bug#29464: gcc-7 breaks guile-2.2.2? In-Reply-To: <87373t8i2v.fsf@HIDDEN> References: <CAPF-yObbCn4dOd626aAmKuugnxc2LadQk6gPydA3RQPW_LNd=g@HIDDEN> <87vagq8kds.fsf@HIDDEN> <CAPF-yOaaPSno7+Q03rspFzZ2nku4BtN3f7vgq9O4zXKMSyOs_Q@HIDDEN> <87bmii839t.fsf@HIDDEN> <87373t8i2v.fsf@HIDDEN> Date: Fri, 29 Dec 2017 13:27:28 -0600 Message-ID: <87zi6172sf.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 29464 Cc: 29464 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) Rob Browning <rlb@HIDDEN> writes: > OK, without -O0 and with -no-stack-protector, my local amd64 build was > fine, but ppc64el still crashes in test-out-of-memory: > > https://buildd.debian.org/status/package.php?p=guile-2.2&suite=sid Oh, and for those not familiar with the buildd, the log is under that "Build-Attempted" link, i.e.: https://buildd.debian.org/status/fetch.php?pkg=guile-2.2&arch=ppc64el&ver=2.2.3%2B1-1&stamp=1514573529&raw=0 -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
bug-guile@HIDDEN
:bug#29464
; Package guile
.
Full text available.Received: (at 29464) by debbugs.gnu.org; 29 Dec 2017 19:11:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 29 14:11:57 2017 Received: from localhost ([127.0.0.1]:56939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eV04T-0005eR-Cl for submit <at> debbugs.gnu.org; Fri, 29 Dec 2017 14:11:57 -0500 Received: from defaultvalue.org ([45.33.119.55]:48014 ident=postfix) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rlb@HIDDEN>) id 1eV04S-0005eJ-1e for 29464 <at> debbugs.gnu.org; Fri, 29 Dec 2017 14:11:56 -0500 Received: from trouble.defaultvalue.org (localhost [127.0.0.1]) (Authenticated sender: rlb@HIDDEN) by defaultvalue.org (Postfix) with ESMTPSA id E1ECC20209; Fri, 29 Dec 2017 13:11:52 -0600 (CST) Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id 86BDE14E569; Fri, 29 Dec 2017 13:11:52 -0600 (CST) From: Rob Browning <rlb@HIDDEN> To: Dan Kegel <dank@HIDDEN> Subject: Re: bug#29464: gcc-7 breaks guile-2.2.2? In-Reply-To: <87bmii839t.fsf@HIDDEN> References: <CAPF-yObbCn4dOd626aAmKuugnxc2LadQk6gPydA3RQPW_LNd=g@HIDDEN> <87vagq8kds.fsf@HIDDEN> <CAPF-yOaaPSno7+Q03rspFzZ2nku4BtN3f7vgq9O4zXKMSyOs_Q@HIDDEN> <87bmii839t.fsf@HIDDEN> Date: Fri, 29 Dec 2017 13:11:52 -0600 Message-ID: <87373t8i2v.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 29464 Cc: 29464 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) Rob Browning <rlb@HIDDEN> writes: > I'm fairly sure it did, and a build with -fno-stack-protector just > finished successfully, so for the moment, I think I may proceed with > that and get the builds started on the other architectures. Then I can > try removing -O0 again. OK, without -O0 and with -no-stack-protector, my local amd64 build was fine, but ppc64el still crashes in test-out-of-memory: https://buildd.debian.org/status/package.php?p=guile-2.2&suite=sid When I get a chance I'll try to poke around on a suitable porterbox. Thanks -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
bug-guile@HIDDEN
:bug#29464
; Package guile
.
Full text available.Received: (at 29464) by debbugs.gnu.org; 29 Dec 2017 06:19:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 29 01:19:30 2017 Received: from localhost ([127.0.0.1]:55727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eUo0w-0007CG-Hb for submit <at> debbugs.gnu.org; Fri, 29 Dec 2017 01:19:30 -0500 Received: from defaultvalue.org ([45.33.119.55]:47638 ident=postfix) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rlb@HIDDEN>) id 1eUo0u-0007C7-R7 for 29464 <at> debbugs.gnu.org; Fri, 29 Dec 2017 01:19:29 -0500 Received: from trouble.defaultvalue.org (localhost [127.0.0.1]) (Authenticated sender: rlb@HIDDEN) by defaultvalue.org (Postfix) with ESMTPSA id 2D460202D2; Fri, 29 Dec 2017 00:19:27 -0600 (CST) Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id B997E14E569; Fri, 29 Dec 2017 00:19:26 -0600 (CST) From: Rob Browning <rlb@HIDDEN> To: Dan Kegel <dank@HIDDEN> Subject: Re: bug#29464: gcc-7 breaks guile-2.2.2? In-Reply-To: <CAPF-yOaaPSno7+Q03rspFzZ2nku4BtN3f7vgq9O4zXKMSyOs_Q@HIDDEN> References: <CAPF-yObbCn4dOd626aAmKuugnxc2LadQk6gPydA3RQPW_LNd=g@HIDDEN> <87vagq8kds.fsf@HIDDEN> <CAPF-yOaaPSno7+Q03rspFzZ2nku4BtN3f7vgq9O4zXKMSyOs_Q@HIDDEN> Date: Fri, 29 Dec 2017 00:19:26 -0600 Message-ID: <87bmii839t.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 29464 Cc: 29464 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) Dan Kegel <dank@HIDDEN> writes: > Does the bug even happen without the vestigal -O0 ? > I removed that and things seem to be going better in 2.2.3, > 0 failures out of 4 runs :-) > See https://launchpad.net/~dank/+archive/ubuntu/guile-2.2/+packages I'm fairly sure it did, and a build with -fno-stack-protector just finished successfully, so for the moment, I think I may proceed with that and get the builds started on the other architectures. Then I can try removing -O0 again. Thanks -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
bug-guile@HIDDEN
:bug#29464
; Package guile
.
Full text available.Received: (at 29464) by debbugs.gnu.org; 29 Dec 2017 00:53:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 28 19:53:09 2017 Received: from localhost ([127.0.0.1]:55642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eUiv7-0005sj-Dr for submit <at> debbugs.gnu.org; Thu, 28 Dec 2017 19:53:09 -0500 Received: from mail-pf0-f177.google.com ([209.85.192.177]:39759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <daniel.r.kegel@HIDDEN>) id 1eUiv6-0005sW-8Y for 29464 <at> debbugs.gnu.org; Thu, 28 Dec 2017 19:53:08 -0500 Received: by mail-pf0-f177.google.com with SMTP id l24so21555262pfj.6 for <29464 <at> debbugs.gnu.org>; Thu, 28 Dec 2017 16:53:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=7JxKr0y4zepMKUikdwsiuYq82hZVZm+lrQb2hlx0ClM=; b=J+8mvXhCrj3i4ixcoqnqkr4DnHsrOVQe8c71AIYf79Tejm5IyFBpehj4LJ1XQbpnmK 7FMDiXyj6jLtHotBhWKByJZjasCqUm07abnntLR58se/QWhSbObXXveUB3AbsDRaHRMx I3ezttJp3Jm/wc3fZGbvJCAeDN9jMsIwmYbMoun05eYI6CfVu12LK0az8+1EuSpgeqdV CaQeFJyyR220RM6VeDg70Q651lqKI4Nyb8o9sXjak2408IhZTVKIO8az1lbPNzwcdd1c OhSQhRlH2CwI6MGH7xRcsJJsczfcq49l5PQ1GipTAT9slLcQlnY/nsE0tmzzEEk7yeZ7 5Z3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=7JxKr0y4zepMKUikdwsiuYq82hZVZm+lrQb2hlx0ClM=; b=OjU3F0x9HsGlg0o+SupTnV9UQ3+kFbXvBsYIAHZloebISiHcw1X3E3YYFrxrGyRB4C SgmF2+XH8pgdPMTh/baqK3qC7h3XprbwXty/Zu66RauAKyi+TaY39WCiS+iwTcsE/kAA 1H4YpYzaeqGbYDeGftuknj0P/ADMXErvPXd4HrQhLqY2SqNz8PZlSjItypRpLwNTvyUt xVqhjMi0O4KApkH6ccxjWs72sUMxCSfNKaxIjwyG0N86kOkPiFsCfnG+8Mc/BBFxx6FF WGZ/6DtHXXRO9ZzWk9fhJCjU5dsFsEkL5RjAKC4lmH5+UiZ9QHC1pYXVpOsO2KtFO7tr 9soQ== X-Gm-Message-State: AKGB3mJszFDwBmtDqgV8ZuQXRe0yeLzl6nI8j7ErPYwZYi/2NEQ0vcyW ioetyLkMI1rvGnN0tutd22YwWql0dQ+1iFADvlAGUA== X-Google-Smtp-Source: ACJfBotllWlPRyA6stloN3RH9q39+WQ8HylyBPRQf0PXgFIvgGAvJzWmWss62qVbWf5jQmHHxQtLSBcztwswYKUvqgM= X-Received: by 10.98.208.67 with SMTP id p64mr33335480pfg.111.1514508782070; Thu, 28 Dec 2017 16:53:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.100.170.79 with HTTP; Thu, 28 Dec 2017 16:53:00 -0800 (PST) In-Reply-To: <87vagq8kds.fsf@HIDDEN> References: <CAPF-yObbCn4dOd626aAmKuugnxc2LadQk6gPydA3RQPW_LNd=g@HIDDEN> <87vagq8kds.fsf@HIDDEN> From: Dan Kegel <dank@HIDDEN> Date: Thu, 28 Dec 2017 16:53:00 -0800 X-Google-Sender-Auth: jTxWxA0Jw-hBQTn2sliFy4Qg5J4 Message-ID: <CAPF-yOaaPSno7+Q03rspFzZ2nku4BtN3f7vgq9O4zXKMSyOs_Q@HIDDEN> Subject: Re: bug#29464: gcc-7 breaks guile-2.2.2? To: Rob Browning <rlb@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 29464 Cc: 29464 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.5 (/) Does the bug even happen without the vestigal -O0 ? I removed that and things seem to be going better in 2.2.3, 0 failures out of 4 runs :-) See https://launchpad.net/~dank/+archive/ubuntu/guile-2.2/+packages On Thu, Dec 28, 2017 at 4:09 PM, Rob Browning <rlb@HIDDEN> wrote: > Dan Kegel <dank@HIDDEN> writes: > >> Building guile-2.2.2 seems fine on Ubuntu 17.04, but fails with >> >> Warning: Unwind-only `out-of-memory' exception; skipping pre-unwind handler. >> FAIL: test-out-of-memory >> ================================== >> 1 of 39 tests failed >> Please report to bug-guile@HIDDEN > > I also see this with 2.2.3, and assuming it's the same issue, I think > I've figured out one thing that reliably triggers it: > > CFLAGS=...-fstack-protector-strong > > By default in Debian we build using the dpkg-buildpackage flags with a > (possibly vestigial) -O0 override on amd64, i.e. we have: > > $ DEB_CFLAGS_MAINT_APPEND=-O0 dpkg-buildflags > CFLAGS=-g -O2 -fdebug-prefix-map=/home/rlb/src/guile=. -fstack-protector-strong -Wformat -Werror=format-security -O0 > CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 > CXXFLAGS=-g -O2 -fdebug-prefix-map=/home/rlb/src/guile=. -fstack-protector-strong -Wformat -Werror=format-security > FCFLAGS=-g -O2 -fdebug-prefix-map=/home/rlb/src/guile=. -fstack-protector-strong > FFLAGS=-g -O2 -fdebug-prefix-map=/home/rlb/src/guile=. -fstack-protector-strong > GCJFLAGS=-g -O2 -fdebug-prefix-map=/home/rlb/src/guile=. -fstack-protector-strong > LDFLAGS=-Wl,-z,relro > OBJCFLAGS=-g -O2 -fdebug-prefix-map=/home/rlb/src/guile=. -fstack-protector-strong -Wformat -Werror=format-security > OBJCXXFLAGS=-g -O2 -fdebug-prefix-map=/home/rlb/src/guile=. -fstack-protector-strong -Wformat -Werror=format-security > > In current Debian unstable, this crashes in test-out-of-memory as above: > > PASS: test-smob-mark > PASS: test-smob-mark-race > wrote `/<<BUILDDIR>>/guile-2.2-2.2.3+1/cache/guile/ccache/2.2-LE-8-3.A/<<BUILDDIR>>/guile-2.2-2.2.3+1/test-suite/standalone/test-stack-overflow.go' > allocate_stack failed: Cannot allocate memory > allocate_stack failed: Cannot allocate memory > allocate_stack failed: Cannot allocate memory > allocate_stack failed: Cannot allocate memory > allocate_stack failed: Cannot allocate memory > PASS: test-stack-overflow > wrote `/<<BUILDDIR>>/guile-2.2-2.2.3+1/cache/guile/ccache/2.2-LE-8-3.A/<<BUILDDIR>>/guile-2.2-2.2.3+1/test-suite/standalone/test-out-of-memory.go' > GC Warning: Failed to expand heap by 134348800 bytes > GC Warning: Failed to expand heap by 134217728 bytes > GC Warning: Out of Memory! Heap size: 1 MiB. Returning NULL! > error creating finalization thread: Cannot allocate memory > GC Warning: Failed to expand heap by 1000132608 bytes > GC Warning: Failed to expand heap by 1000001536 bytes > GC Warning: Out of Memory! Heap size: 1 MiB. Returning NULL! > GC Warning: Failed to expand heap by 499712 bytes > GC Warning: Failed to expand heap by 65536 bytes > GC Warning: Out of Memory! Heap size: 1 MiB. Returning NULL! > GC Warning: Failed to expand heap by 499712 bytes > GC Warning: Failed to expand heap by 65536 bytes > GC Warning: Out of Memory! Heap size: 1 MiB. Returning NULL! > Warning: Unwind-only `out-of-memory' exception; skipping pre-unwind handler. > FAIL: test-out-of-memory > ================================== > 1 of 39 tests failed > Please report to bug-guile@HIDDEN > ================================== > > After investigating for a while, I found that just this was enough to > cause the crash when building from the 2.2.3 release archive: > > CFLAGS='-fstack-protector-strong' ./configure > make check > > If that flag is the problem, I'm wondering whether for now I'd be better > off quashing it, or temporarily disabling the test. i.e. is the test > detecting that something's actually wrong, or does the flag just break > one of the test's assumptions? > > Thanks > -- > Rob Browning > rlb @defaultvalue.org and @debian.org > GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A > GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
bug-guile@HIDDEN
:bug#29464
; Package guile
.
Full text available.Received: (at 29464) by debbugs.gnu.org; 29 Dec 2017 00:09:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 28 19:09:55 2017 Received: from localhost ([127.0.0.1]:55603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eUiFH-0004sm-74 for submit <at> debbugs.gnu.org; Thu, 28 Dec 2017 19:09:55 -0500 Received: from defaultvalue.org ([45.33.119.55]:47500 ident=postfix) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rlb@HIDDEN>) id 1eUiFF-0004se-Qo for 29464 <at> debbugs.gnu.org; Thu, 28 Dec 2017 19:09:54 -0500 Received: from trouble.defaultvalue.org (localhost [127.0.0.1]) (Authenticated sender: rlb@HIDDEN) by defaultvalue.org (Postfix) with ESMTPSA id 8E32F20266; Thu, 28 Dec 2017 18:09:51 -0600 (CST) Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id 3CD2514E569; Thu, 28 Dec 2017 18:09:51 -0600 (CST) From: Rob Browning <rlb@HIDDEN> To: Dan Kegel <dank@HIDDEN>, 29464 <at> debbugs.gnu.org Subject: Re: bug#29464: gcc-7 breaks guile-2.2.2? In-Reply-To: <CAPF-yObbCn4dOd626aAmKuugnxc2LadQk6gPydA3RQPW_LNd=g@HIDDEN> References: <CAPF-yObbCn4dOd626aAmKuugnxc2LadQk6gPydA3RQPW_LNd=g@HIDDEN> Date: Thu, 28 Dec 2017 18:09:51 -0600 Message-ID: <87vagq8kds.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 29464 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) Dan Kegel <dank@HIDDEN> writes: > Building guile-2.2.2 seems fine on Ubuntu 17.04, but fails with > > Warning: Unwind-only `out-of-memory' exception; skipping pre-unwind handler. > FAIL: test-out-of-memory > ================================== > 1 of 39 tests failed > Please report to bug-guile@HIDDEN I also see this with 2.2.3, and assuming it's the same issue, I think I've figured out one thing that reliably triggers it: CFLAGS=...-fstack-protector-strong By default in Debian we build using the dpkg-buildpackage flags with a (possibly vestigial) -O0 override on amd64, i.e. we have: $ DEB_CFLAGS_MAINT_APPEND=-O0 dpkg-buildflags CFLAGS=-g -O2 -fdebug-prefix-map=/home/rlb/src/guile=. -fstack-protector-strong -Wformat -Werror=format-security -O0 CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 CXXFLAGS=-g -O2 -fdebug-prefix-map=/home/rlb/src/guile=. -fstack-protector-strong -Wformat -Werror=format-security FCFLAGS=-g -O2 -fdebug-prefix-map=/home/rlb/src/guile=. -fstack-protector-strong FFLAGS=-g -O2 -fdebug-prefix-map=/home/rlb/src/guile=. -fstack-protector-strong GCJFLAGS=-g -O2 -fdebug-prefix-map=/home/rlb/src/guile=. -fstack-protector-strong LDFLAGS=-Wl,-z,relro OBJCFLAGS=-g -O2 -fdebug-prefix-map=/home/rlb/src/guile=. -fstack-protector-strong -Wformat -Werror=format-security OBJCXXFLAGS=-g -O2 -fdebug-prefix-map=/home/rlb/src/guile=. -fstack-protector-strong -Wformat -Werror=format-security In current Debian unstable, this crashes in test-out-of-memory as above: PASS: test-smob-mark PASS: test-smob-mark-race wrote `/<<BUILDDIR>>/guile-2.2-2.2.3+1/cache/guile/ccache/2.2-LE-8-3.A/<<BUILDDIR>>/guile-2.2-2.2.3+1/test-suite/standalone/test-stack-overflow.go' allocate_stack failed: Cannot allocate memory allocate_stack failed: Cannot allocate memory allocate_stack failed: Cannot allocate memory allocate_stack failed: Cannot allocate memory allocate_stack failed: Cannot allocate memory PASS: test-stack-overflow wrote `/<<BUILDDIR>>/guile-2.2-2.2.3+1/cache/guile/ccache/2.2-LE-8-3.A/<<BUILDDIR>>/guile-2.2-2.2.3+1/test-suite/standalone/test-out-of-memory.go' GC Warning: Failed to expand heap by 134348800 bytes GC Warning: Failed to expand heap by 134217728 bytes GC Warning: Out of Memory! Heap size: 1 MiB. Returning NULL! error creating finalization thread: Cannot allocate memory GC Warning: Failed to expand heap by 1000132608 bytes GC Warning: Failed to expand heap by 1000001536 bytes GC Warning: Out of Memory! Heap size: 1 MiB. Returning NULL! GC Warning: Failed to expand heap by 499712 bytes GC Warning: Failed to expand heap by 65536 bytes GC Warning: Out of Memory! Heap size: 1 MiB. Returning NULL! GC Warning: Failed to expand heap by 499712 bytes GC Warning: Failed to expand heap by 65536 bytes GC Warning: Out of Memory! Heap size: 1 MiB. Returning NULL! Warning: Unwind-only `out-of-memory' exception; skipping pre-unwind handler. FAIL: test-out-of-memory ================================== 1 of 39 tests failed Please report to bug-guile@HIDDEN ================================== After investigating for a while, I found that just this was enough to cause the crash when building from the 2.2.3 release archive: CFLAGS='-fstack-protector-strong' ./configure make check If that flag is the problem, I'm wondering whether for now I'd be better off quashing it, or temporarily disabling the test. i.e. is the test detecting that something's actually wrong, or does the flag just break one of the test's assumptions? Thanks -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
bug-guile@HIDDEN
:bug#29464
; Package guile
.
Full text available.Received: (at 29464) by debbugs.gnu.org; 27 Nov 2017 16:42:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 27 11:42:27 2017 Received: from localhost ([127.0.0.1]:32915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eJMUF-0006ci-FV for submit <at> debbugs.gnu.org; Mon, 27 Nov 2017 11:42:27 -0500 Received: from mail-pg0-f43.google.com ([74.125.83.43]:37712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <daniel.r.kegel@HIDDEN>) id 1eJMUD-0006cV-S8 for 29464 <at> debbugs.gnu.org; Mon, 27 Nov 2017 11:42:26 -0500 Received: by mail-pg0-f43.google.com with SMTP id m4so8991012pgc.4 for <29464 <at> debbugs.gnu.org>; Mon, 27 Nov 2017 08:42:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=nCMD24S+DoZfs7vd4uRxpcj3RUa7PfV5kMQhJU1x50M=; b=BReG7D414uMjIXhzVF7SEF+4BJFaz1BrY24BArOKAdsdp7Z/c07KjhVpE0PIIWn/gB vAdVyXyIpQc57/uOCvv2al0WuCWM+qPmp7sg/5bMi0nOjyr7B2rjfOJBQdIZyFLEvqXE ZK6PVE006rmfjVK8ZVueTB632fgB3DxFYKS7G12rRvYIwG7oXlJajs9UzbKJcry6vNyF 09dcYidSCInjVj4HTZK+nsl6BYVg1a1Mm9Fj/dGmd2bgvyNvFL0kwFb8DspGYbbCxZwY 6SRVyQuEcJiEgj5XG67BoG854xFR1fRC6CB8tnmPdeAVfaJ1bnELseqRtYuaxNRB1gW2 c0qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=nCMD24S+DoZfs7vd4uRxpcj3RUa7PfV5kMQhJU1x50M=; b=GY8TTuvE9/38JNtX54y+6D3tngRbGHNmpKurRPcc968uVRmWB1J9HWY/wcaiZq/VH9 ygkvPRe0llKmaBoPiDbHpwTRQmTVEuQsTZAe7nvchgvvx3R6HSaQlSa5DYqPlSX/6LHi 7ZeLdp86hDKG2TKp7DN/meXU6hLe/Zf4YRc8Vcq4Zl5sJoBODHwoiV/RfebCvlAHWx5n P6wUzZ7ZRaLkrlGbyxeE2kj9kABWYs5Mhe9SEuUJADOHWhlBnOyhmziw6hKjTxhd+gzc ZY0fFjXJw5eRpCWZxDkbmK6yNzfV7isOigZWAHBApw5RKNaVLjFpu9VYP0225f6LzR7a qYRg== X-Gm-Message-State: AJaThX4GC0Xl+3aevr4omUZ8nOEozJXe9EqDadPxyyPZfXVYqyEvO46l 4U1AqNnMTyhzeMakoKQs9u9udICz3hg/8thZIweojg== X-Google-Smtp-Source: AGs4zMZAK/dwJwJy+P7yH1WsIceAfehK6hP1jX56rwy2teBx9pPeqOndeZZ/Bq4DxUPd55HoHzvcqaX5Y/15Jj3taFg= X-Received: by 10.99.186.1 with SMTP id k1mr35994194pgf.296.1511800939538; Mon, 27 Nov 2017 08:42:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.100.170.79 with HTTP; Mon, 27 Nov 2017 08:42:19 -0800 (PST) In-Reply-To: <CAPF-yObbCn4dOd626aAmKuugnxc2LadQk6gPydA3RQPW_LNd=g@HIDDEN> References: <CAPF-yObbCn4dOd626aAmKuugnxc2LadQk6gPydA3RQPW_LNd=g@HIDDEN> From: Dan Kegel <dank@HIDDEN> Date: Mon, 27 Nov 2017 08:42:19 -0800 X-Google-Sender-Auth: IsvKmJCUGNJqk1R56HvzxaldnuY Message-ID: <CAPF-yOYb7sJJ=X4z6md+jejXCLA7575E8Qd0KA61P-4pOXVkYg@HIDDEN> Subject: Re: bug#29464: gcc-7 breaks guile-2.2.2? To: 29464 <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 29464 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.1 (/) Update from http://lists.gnu.org/archive/html/guile-user/2017-11/msg00066.html : ---snip--- With gcc-7.2.0 and gcc-6.4.0, both built from source (just guile/configure ... CC=gcc-X.X). - stable-2.2 with 6.4 passes the tests every time. - stable 2.2 with 7.2 fails on test-out-of-memory. Running make check repeatedly I got F F F P F F P P P P F F F F P. ---snip---
bug-guile@HIDDEN
:bug#29464
; Package guile
.
Full text available.Received: (at submit) by debbugs.gnu.org; 27 Nov 2017 06:37:48 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 27 01:37:48 2017 Received: from localhost ([127.0.0.1]:59947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eJD36-0006gG-Dp for submit <at> debbugs.gnu.org; Mon, 27 Nov 2017 01:37:48 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <daniel.r.kegel@HIDDEN>) id 1eJAry-0003C0-5R for submit <at> debbugs.gnu.org; Sun, 26 Nov 2017 23:18:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <daniel.r.kegel@HIDDEN>) id 1eJArs-0004oo-0n for submit <at> debbugs.gnu.org; Sun, 26 Nov 2017 23:18:04 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54425) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <daniel.r.kegel@HIDDEN>) id 1eJArr-0004of-T4 for submit <at> debbugs.gnu.org; Sun, 26 Nov 2017 23:18:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <daniel.r.kegel@HIDDEN>) id 1eJArq-0001uW-Sj for bug-guile@HIDDEN; Sun, 26 Nov 2017 23:18:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <daniel.r.kegel@HIDDEN>) id 1eJArp-0004o4-Sd for bug-guile@HIDDEN; Sun, 26 Nov 2017 23:18:02 -0500 Received: from mail-pl0-x22b.google.com ([2607:f8b0:400e:c01::22b]:34545) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <daniel.r.kegel@HIDDEN>) id 1eJArp-0004nq-LR for bug-guile@HIDDEN; Sun, 26 Nov 2017 23:18:01 -0500 Received: by mail-pl0-x22b.google.com with SMTP id o17so7738210pli.1 for <bug-guile@HIDDEN>; Sun, 26 Nov 2017 20:18:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=ToPOEgcacHsDqqrrVZqjxP66Tiao+htFxYO0hYGhL4Q=; b=PMU0FFYxw/OReuBuVJ7zo9Jl7KyAt22XU/3c1oZX2j6LhaUMuBPc6hMbVZYIwvvNfP OnUpJJCE1+zHY/8NpiHGRXSy3HYagQg8P6G3vbzEOKVFppQGQfmyoNoiRmfChWl2Iaea EZsEWpwD/DAEAL2eEjWBRErzWQvTc9l7kV6gFpqKYw55rO8w3/laExIGmmSLKh9dI73B KrEtClv4JnjxPI1wHXzOKR1ZLseljQgAx1syMdI7vUE3FEFlJNjVdp0F87L3H8wgBaFP 6iIfPA6LXubN7Ankgz45XSC2lk/cxerzJs3HIG71Z/GT/F6up0pDv5yY92ZisrqOpv5O s+eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=ToPOEgcacHsDqqrrVZqjxP66Tiao+htFxYO0hYGhL4Q=; b=ifYo5eXod5+0wKCuXU0ziruRzTHGCiNF07FRSP2fY2TIkM/ExeTHgihfZ6CK2SGwHA nb0QU2Rxz07ebaklqLSQG9Df8VqggkrlKZENinEPlZyynyyNIzN1SNk4/KtyglmQw+Im uTfQS5iZ7bMY8ANOiRksaa5gGXD0mYVDJByR146BDbxAFECQ6gFDpy1g5viZFrV4o1AM 6Lc8zK1NgU3UErfYUMdn6BHMEzxcQvBRTghqqhLz05DGpfgXOzsaZ4MOvy4/unpcgTMK QoJkpVV97BR8JUZiMHmKNpsiBWkXfof+WiWEkSzPjsu5zR2aqQe2IfVEjVsUsvYQNmDo HqPg== X-Gm-Message-State: AJaThX4IniwyBIPUNogQxIyhgfU8TvTIqO46W8SL9JDtEnY7+BvrRZaR 6Jn3sa5zGUomao+RwLs5aSMO+QXR5wRPiKY/dJvpFQ== X-Google-Smtp-Source: AGs4zMbFZ0M4hRMcG8h+YUGa9ChTWizSi00z065F6etHAA6Kr1Bbw+w34CoaaPC4Pjl7OD/viTv8IuQRvjHgHNF3KF8= X-Received: by 10.84.241.5 with SMTP id a5mr24676697pll.128.1511756280196; Sun, 26 Nov 2017 20:18:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.100.170.79 with HTTP; Sun, 26 Nov 2017 20:17:59 -0800 (PST) From: Dan Kegel <dank@HIDDEN> Date: Sun, 26 Nov 2017 20:17:59 -0800 X-Google-Sender-Auth: xXrGbNREDTmK4QCjT5ncS1GHLL0 Message-ID: <CAPF-yObbCn4dOd626aAmKuugnxc2LadQk6gPydA3RQPW_LNd=g@HIDDEN> Subject: gcc-7 breaks guile-2.2.2? To: bug-guile@HIDDEN Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 27 Nov 2017 01:37:47 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.9 (---) Building guile-2.2.2 seems fine on Ubuntu 17.04, but fails with Warning: Unwind-only `out-of-memory' exception; skipping pre-unwind handler. FAIL: test-out-of-memory ================================== 1 of 39 tests failed Please report to bug-guile@HIDDEN on Ubuntu 17.10. libgc is the same version on both, but gcc is different... and if I pick gcc-6 on ubuntu 17.10 (instead of the default gcc-7), it seems to succeed. Mentioned at https://bugs.launchpad.net/ubuntu/+source/guile-2.2/+bug/1734575 https://lists.gnu.org/archive/html/guile-user/2017-11/msg00062.html Possibly related to https://lists.gnu.org/archive/html/help-guix/2017-11/msg00016.html
Dan Kegel <dank@HIDDEN>
:bug-guile@HIDDEN
.
Full text available.bug-guile@HIDDEN
:bug#29464
; Package guile
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.