ports/138481: lang/tcc: tcc compiled executables segfault
gonebsd
gonebsd at gmail.com
Wed Sep 2 12:40:07 UTC 2009
>Number: 138481
>Category: ports
>Synopsis: lang/tcc: tcc compiled executables segfault
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 02 12:40:06 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: gonebsd
>Release: FreeBSD 7.2-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
Every executable compiled using tcc segfaults. Interestingly,
if the "-run" is used, the program executes as expected. See
the "how to repeat the problem" below.
I tried tcc version 0.9.24 (via pkg_add) and 0.9.25 (via ports,
using gcc 4.2.1) with the same results.
This seems to be FreeBSD specific since I cannot reproduce this
on Linux (Arch, with gcc 4.4.1) at all.
>How-To-Repeat:
echo 'main(){puts("hello");}' | tcc -o output - && ./output
Segmentation fault (core dumped)
And with "-run":
echo 'main(){puts("hello");}' | tcc -run -
hello
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list