NetBSD-Bugs archive

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

port-mac68k/51923: /usr/libexec/cc1: Cannot allocate memory



>Number:         51923
>Category:       port-mac68k
>Synopsis:       /usr/libexec/cc1: Cannot allocate memory
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-mac68k-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 28 22:35:00 +0000 2017
>Originator:     Rob Braun
>Release:        current (as of 1/27/2017)
>Organization:
>Environment:
NetBSD q800.home 7.99.59 NetBSD 7.99.59 (BBRAUN) #0: Sat Jan 28 02:10:13 UTC 2017  bbraun%netbsd.home@localhost:/mnt/current/src/sys/arch/mac68k/compile/BBRAUN mac68k
>Description:
After crosscompiling -current on amd64, then upgrading a Quadra 800 w/136MB RAM using the built release tarballs and sysinst, the compiler no longer works natively.

Compiling any C file with cc/gcc produces:
q800 17:54:35 ~> gcc -o foo foo.c
gcc: error trying to exec '/usr/libexec/cc1': execv: Cannot allocate memory
q800 17:48:55 ~> /usr/libexec/cc1
-bash: /usr/libexec/cc1: Cannot allocate memory
q800 17:54:41 ~> file /usr/libexec/cc1
/usr/libexec/cc1: ELF 32-bit MSB shared object, Motorola m68k, 68020, version 1 (SYSV), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 7.99.59, not stripped

This worked fine with a stock 7.0.2 install, so this seems new to -current.
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index