Bug 708305 - C program compiled with pcc doesn't work
Summary: C program compiled with pcc doesn't work
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pcc
Version: 15
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Susi Lehtola
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-27 08:26 UTC by Hong Xu
Modified: 2011-12-31 18:58 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2011-12-24 20:51:04 UTC


Attachments (Terms of Use)

Description Hong Xu 2011-05-27 08:26:29 UTC
Description of problem:
When the c source file is compiled with pcc, the out executable always exit with segmentation fault.

Version-Release number of selected component (if applicable):
pcc-1.0.0-1.fc15.x86_64

How reproducible:
everytime

Steps to Reproduce:
1. write a small c source file:

int main(int argc, const char *argv[])
{
    printf("Hello\n");
    return 0;
}

name it "a.c";

2. execute "pcc a.c";
3. execute "./a.out";
  
Actual results:
a.out exit because of segmentation fault:
Segmentation fault (core dumped)

Expected results:
"Hello" should be printed.

Comment 1 Susi Lehtola 2011-05-27 08:53:05 UTC
I can reproduce this on my F15 machines. pcc works fine in F14. 

Reported upstream at
http://pcc.ludd.ltu.se/jira/browse/PCC-353

Comment 2 Hong Xu 2011-05-27 09:17:06 UTC
(In reply to comment #1)
> I can reproduce this on my F15 machines. pcc works fine in F14. 
> 
> Reported upstream at
> http://pcc.ludd.ltu.se/jira/browse/0

The link seems broken?

Comment 3 Susi Lehtola 2011-05-27 10:01:42 UTC
should be
http://pcc.ludd.ltu.se/jira/browse/PCC-353

Comment 4 Fedora Update System 2011-12-16 12:32:44 UTC
pcc-1.0.0-2.20111216cvs.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/pcc-1.0.0-2.20111216cvs.el6

Comment 5 Fedora Update System 2011-12-16 12:32:52 UTC
pcc-1.0.0-2.20111216cvs.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/pcc-1.0.0-2.20111216cvs.fc15

Comment 6 Fedora Update System 2011-12-16 12:33:01 UTC
pcc-1.0.0-2.20111216cvs.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/pcc-1.0.0-2.20111216cvs.fc16

Comment 7 Fedora Update System 2011-12-16 12:33:09 UTC
pcc-1.0.0-2.20111216cvs.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/pcc-1.0.0-2.20111216cvs.el5

Comment 8 Fedora Update System 2011-12-16 17:41:52 UTC
Package pcc-1.0.0-2.20111216cvs.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing pcc-1.0.0-2.20111216cvs.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2011-5252/pcc-1.0.0-2.20111216cvs.el6
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2011-12-24 20:51:04 UTC
pcc-1.0.0-2.20111216cvs.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2011-12-24 20:52:32 UTC
pcc-1.0.0-2.20111216cvs.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2011-12-31 18:58:38 UTC
pcc-1.0.0-2.20111216cvs.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2011-12-31 18:58:59 UTC
pcc-1.0.0-2.20111216cvs.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.