NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/55724: src/lxml/etree.c: gcc: internal compiler error: Killed (program cc1 received signal 9)



>Number:         55724
>Category:       toolchain
>Synopsis:       src/lxml/etree.c: gcc: internal compiler error: Killed (program cc1 received signal 9)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 13 01:05:00 +0000 2020
>Originator:     Andrew Cagney
>Release:        NetBSD 9.0 (GENERIC64) #0: Fri Feb 14 00:06:28 UTC 2020 Tpkgsrc-2020Q3
>Organization:
>Environment:
NetBSD arm64 9.0 NetBSD 9.0 (GENERIC64) #0: Fri Feb 14 00:06:28 UTC 2020  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm

>Description:
While building lxml-4.5.2, gcc barfs (funny how the barf doesn't mention the gcc version):

gcc: internal compiler error: Killed (program cc1 received signal 9)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://www.NetBSD.org/support/send-pr.html> for instructions.
Compile failed: command 'gcc' failed with exit status 4
cc -I/usr/pkg/include/libxml2 -I/usr/include -I/usr/pkg/include -I/usr/include/libxml2 -c /tmp/xmlXPathInit9e01j05o.c -o tmp/xmlXPathInit9e01j05o.o
cc tmp/xmlXPathInit9e01j05o.o -L/usr/pkg/lib -L/usr/lib -L/usr/lib -L/usr/lib -lxml2 -o a.out
error: command 'gcc' failed with exit status 4
$ cat /tmp/xmlXPathInit9e01j05o.c
#include "libxml/xpath.h"
int main (int argc, char **argv) {
    xmlXPathInit();
    return 0;
}
$ gcc --version
gcc (nb3 20190319) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

>How-To-Repeat:

>Fix:


Dropping the -O2 flag works around the problem.



Home | Main Index | Thread Index | Old Index