| Summary: | gcc produce a broken .dep file which cause make cannot compute dependency correctly | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Howard Su <howard0su> |
| Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
| Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | jakub |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-17 09:11:37 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Linux amd64 version only gcc -v 2>&1 | egrep 'Target|gcc version'; gcc -c -Wp,-MD,a.o.dep -Wp,-MT,a.o -Wp,-MP -o a.o a.c; cat a.o.dep Target: x86_64-redhat-linux gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC) a.o: a.c Can't reproduce. |
Description of problem: the dependency file gcc produced a broken file Version-Release number of selected component (if applicable): gcc (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4) How reproducible: consistantly Steps to Reproduce: 1.create a simple a.c like following int a() {} 2. run the following command to compile gcc -c -Wp,-MD,a.o.dep -Wp,-MT,a.o -Wp,-MP -o a.o a.c Actual results: $cat a.o.dep a.o a.o: a.c Expected results: $cat a.o.dep a.o: a.c Additional info: