c/5092: gcc-3.0.2 won't compile linux-2.4.16's 8139too.c

philipp gortan@chello.at
Wed Dec 12 01:56:00 GMT 2001


>Number:         5092
>Category:       c
>Synopsis:       gcc-3.0.2 won't compile linux-2.4.16's 8139too.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 12 01:56:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Philipp Gortan
>Release:        3.0.2
>Organization:
Fachhochschule Technikum Wien Elektronik
>Environment:
System: Linux pc 2.4.16 #12 Tue Dec 11 22:16:03 MET 2001 i586 unknown
Architecture: i586

host: i586-pc-linux-gnu
build: i586-pc-linux-gnu
target: i586-pc-linux-gnu
configured with: ../gcc-3.0.2-src/configure --prefix=/usr
>Description:
	gcc-3.0.2 won't compile the driver of the linux-2.4.16 kernel
	for nics with realtec 8139 chip.
	no header files req'd besides standard linux headers...
	error msg: (complete version included in attachment)

8139too.c:2294: Internal compiler error in reload_cse_simplify_operands, at reload1.c:8364

	attachment includes: c, i, s file, error-msg
 
>How-To-Repeat:
gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \
-fomit-frame-pointer -fno-strict-aliasing -fno-common \
-mpreferred-stack-boundary=2 -march=i586 -c -o 8139too.o 8139too.c -save-temps

>Fix:
leave the -fomit-frame-pointer and it compiles w/o problems

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-prs mailing list