Bug 183301
Summary: | GCC 4.1 and SPCA5XX don't work together | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Panos Prokopiou <pprok> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-03-10 00:44:40 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Panos Prokopiou
2006-02-28 02:00:15 UTC
That doesn't imply it is a GCC bug, it might very well be a kernel bug, where e.g. its undefined behavior exhibits different observable behavior depending on optimizations GCC is doing. I don't have such a webcam, so unless you debug which exact function gets miscompiled (if any) with which gcc options, there is nothing I can do about it. You should try: 1) if the module consists of several .c source files, try to do say a binary search, compile some files with GCC 4.1, some with GCC 4.0 and load that into GCC 4.1. compiled kernel 2) try different optimization options (-O1, -O2, -Os) 3) when you locate particular .c file, you can do a binary search within it, if say -O1 or -O2 instead of -Os helps, then compile the file with -Os and with -O2 into assembly, then weld first half of the routines from one .s file with second half of the routines with the other file etc. (or with GCC 4.0 vs. GCC 4.1) Alternatively, try to figure out where exactly it hangs and debug why. it just needed -fno-unit-at-a-time. The driver IMHO is a mess. It has even function definitions inside header files. I cannot blame gcc or kernel for this... Anyway, it is NOTABUG, it is AMESS. it just needed -fno-unit-at-a-time. This driver is a total mess IHMO. It even has function definitions inside header files. GCC and kernel not to blame. so NOTABUG, AMESS really. |