Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2004 14:29:01 -0800 (PST)
From:      Doug White <dwhite@gumbysoft.com>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: internal compiler error?
Message-ID:  <20040315142137.V33489@carver.gumbysoft.com>
In-Reply-To: <20040314213758.GA39459@troutmask.apl.washington.edu>
References:  <20040314213758.GA39459@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 14 Mar 2004, Steve Kargl wrote:

> Anyone else see problems with collect2?

Um, I don't have a /usr/libexec/collect2 on ANY system at my workplace,
which is FreeBSD 4.x, FreeBSD 5.x, Solaris 8, and Debian 3.0.  Perhaps you
better check if your gcc has been modified.

 >
> kargl[203] gcc -o h h.c
> gcc: Internal error: Bad system call (program collect2)
> Please submit a full bug report.
> See <URL:http://gcc.gnu.org/bugs.html>; for instructions.
> kargl[204] cat h.c
> #include <stdio.h>
> int main(void) {
>         printf("Hello world.\n");
>         return 0;
> }
>
> kargl[204] truss gcc -o h h.c
> stat("/usr/libexec/collect2",0xbfbfe630)         = 0 (0x0)
> access("/usr/libexec/collect2",1)                = 0 (0x0)
> fork()                                           = 938 (0x3aa)
> SIGNAL 20
> wait4(0xffffffff,0xbfbfe73c,0x0,0x0)             = 938 (0x3aa)
> gcc: write(2,0xbfbfdfd0,5)                               = 5 (0x5)
> Internal error: Bad system call (program collect2)
> Please submit a full bug report.
> See <URL:http://gcc.gnu.org/bugs.html>; for instructions.write(2,0xbfbfdff0,140) = 140 (0x8c)
>
> write(2,0x806d4f3,1)                             = 1 (0x1)
> stat("/var/tmp/cc7im6mN.o",0xbfbfe630)           = 0 (0x0)
> unlink("/var/tmp/cc7im6mN.o")                    = 0 (0x0)
> stat("/var/tmp/cc2Mhzku.s",0xbfbfe630)           = 0 (0x0)
> unlink("/var/tmp/cc2Mhzku.s")                    = 0 (0x0)
> exit(0x1)
> process exit, rval = 256
>
> Could this be caused by the Intel C/C++ compiler commits or the
> recent commits by Peter to push gaint down into fork?
>
>
>

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040315142137.V33489>