NetBSD Problem Report #50802
From www@NetBSD.org Sun Feb 14 15:26:29 2016
Return-Path: <www@NetBSD.org>
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 "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 1D72F7A213
for <gnats-bugs@gnats.NetBSD.org>; Sun, 14 Feb 2016 15:26:29 +0000 (UTC)
Message-Id: <20160214152627.E189B7ACC3@mollari.NetBSD.org>
Date: Sun, 14 Feb 2016 15:26:27 +0000 (UTC)
From: achowe@snert.com
Reply-To: achowe@snert.com
To: gnats-bugs@NetBSD.org
Subject: cmake build of mariadb 5.5.47 w/ c++: internal compiler error
X-Send-Pr-Version: www-1.0
>Number: 50802
>Category: toolchain
>Synopsis: cmake build of mariadb 5.5.47 w/ c++: internal compiler error
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: toolchain-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 14 15:30:00 +0000 2016
>Closed-Date: Wed Jun 20 00:09:45 +0000 2018
>Last-Modified: Wed Jun 20 00:09:45 +0000 2018
>Originator: Anthony Howe
>Release: 7.0
>Organization:
>Environment:
NetBSD mx.snert.org 7.0 NetBSD 7.0 (GENERIC.201509250726Z) amd64
>Description:
[ 24%] Linking C static library libmysqlservices.a
[ 24%] Built target mysqlservices
Scanning dependencies of target partition
[ 25%] Building CXX object sql/CMakeFiles/partition.dir/ha_partition.cc.o
c++: internal compiler error: Killed (program cc1plus)
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.
*** Error code 4
Stop.
make[2]: stopped in /usr/local/src/mariadb-5.5.47
*** Error code 1
Stop.
make[1]: stopped in /usr/local/src/mariadb-5.5.47
*** Error code 1
Stop.
make: stopped in /usr/local/src/mariadb-5.5.47
>How-To-Repeat:
mx$ cat ../mariadb-cmake.sh
cmake \
-DINSTALL_LAYOUT=RPM \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DINSTALL_LAYOUT=STANDALONE \
-DINSTALL_DOCDIR=/usr/local/share/doc/mysql \
-DINSTALL_DOCREADMEDIR=/usr/local/share/doc/mysql \
-DINSTALL_INFODIR=/usr/local/share/info \
-DINSTALL_LIBDIR=/usr/local/lib/mysql \
-DINSTALL_PLUGINDIR=/usr/local/lib/mysql \
-DINSTALL_MANDIR=/usr/local/share/man \
-DINSTALL_MYSQLDATADIR=/var/mysql \
-DMYSQL_DATADIR=/var/mysql \
-DINSTALL_SCRIPTDIR=/usr/local/share/mysql \
-DINSTALL_SYSCONFDIR=/etc/mysql \
-DWITH_UNIT_TESTS=OFF \
-DWITH_SSL=system \
-DENABLED_PROFILING=OFF \
-DWITH_LIBWRAP=ON \
-DWITH_JEMALLOC=no \
-DCMAKE_C_FLAGS="-Wno-char-subscripts" -DCMAKE_CXX_FLAGS="-Wno-char-subscripts"
# -DREADLINE_INCLUDE_DIR=/usr/pkg/include \
# -DWITH_EXTRA_CHARSETS=none \
# -DINSTALL_SBINDIR=/usr/local/sbin \
# -DREADLINE_INCLUDE_DIR=/usr/pkg/include \
# -DCMAKE_C_FLAGS="-Wno-char-subscripts -I/usr/pkg/include" \
# -DCMAKE_CXX_FLAGS="-Wno-char-subscripts -I/usr/pkg/include" \
# -DCMAKE_EXE_LINKER_FLAGS="-L/usr/pkg/lib"
>Fix:
>Release-Note:
>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: toolchain/50802: cmake build of mariadb 5.5.47 w/ c++: internal
compiler error
Date: Sun, 14 Feb 2016 18:46:22 +0100
On Sun, Feb 14, 2016 at 03:30:00PM +0000, achowe@snert.com wrote:
> c++: internal compiler error: Killed (program cc1plus)
> 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.
Are you sure the machine has enough memory?
Is there anything in /var/log/messages around that time?
Thomas
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: toolchain/50802: cmake build of mariadb 5.5.47 w/ c++: internal compiler error
Date: Sun, 14 Feb 2016 19:11:44 +0100
On Sun, Feb 14, 2016 at 05:50:01PM +0000, Thomas Klausner wrote:
> Are you sure the machine has enough memory?
> Is there anything in /var/log/messages around that time?
And check rlimits as well!
Side node: this kind of bug report is useless as it does not even show
the compiler command line.
Martin
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/50802 CVS commit: src/external/gpl3
Date: Sun, 14 Feb 2016 19:08:10 +0000
Module Name: src
Committed By: dholland
Date: Sun Feb 14 19:08:10 UTC 2016
Modified Files:
src/external/gpl3/gcc.old/dist/gcc: gcc.c
src/external/gpl3/gcc/dist/gcc: gcc.c
Log Message:
Restore the local change
-gcc: internal compiler error: Killed (program cc1plus)
+gcc: internal compiler error: Killed (program cc1plus received signal 9)
which was lost in an update somewhere after netbsd-6.
This clarification was found in the past to significantly reduce the
number of bug reports caused by people running out of swap, such as
(most likely) seen again today in PR 50802.
XXX: pullup-7
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc.old/dist/gcc/gcc.c
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gcc/dist/gcc/gcc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 20 Jun 2018 00:09:45 +0000
State-Changed-Why:
Most likely a transient issue (running out of memory). If you are still having problems, feel free to reply.
>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.