Bug 162216 - internal compiler error compiling ipw2100 against linux includes
internal compiler error compiling ipw2100 against linux includes
Product: Fedora
Classification: Fedora
Component: gcc4 (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2005-06-30 17:23 EDT by Need Real Name
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version: 4.0.1-3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-12 09:39:42 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Preprocessed source (162.59 KB, application/octet-stream)
2005-06-30 17:29 EDT, Need Real Name
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
GNU Compiler Collection 22441 None None None Never

  None (edit)
Description Need Real Name 2005-06-30 17:23:40 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4 Firefox/1.0.4

Description of problem:
(#:/usr/local/src/intel-wireless/ipw2100-1.1.0) make
make -C /lib/modules/ SUBDIRS=/home/local/intel-wireless/ipw2100-1.1.0 MODVERDIR=/home/local/intel-wireless/ipw2100-1.1.0 modules
make[1]: Entering directory `/home/local/linux2612/linux-'
  CC [M]  /home/local/intel-wireless/ipw2100-1.1.0/ipw2100.o
include/linux/etherdevice.h: In function ‘ipw2100_set_address’:
include/linux/etherdevice.h:84: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/cc3K8yZA.out file, please attach this to your bugreport.
make[2]: *** [/home/local/intel-wireless/ipw2100-1.1.0/ipw2100.o] Error 1
make[1]: *** [_module_/home/local/intel-wireless/ipw2100-1.1.0] Error 2
make[1]: Leaving directory `/home/local/linux2612/linux-'
make: *** [modules] Error 2


when i switched to linux 2.6.11 version of include/linux/etherdevice.h the compiler no longer ice'd.

i upgraded to rawhide gcc4 to see if fixed, but no.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. download ipw2100-1.1.0.tgz
2. compile against linux headers
3. boom!

Additional info:
Comment 1 Need Real Name 2005-06-30 17:27:31 EDT
i can email preprocessed source if need be. bugzilla wont let me attach it.
Comment 2 Need Real Name 2005-06-30 17:29:40 EDT
Created attachment 116192 [details]
Preprocessed source

permissions issue i think, can i send now?
Comment 3 Pål Brattberg 2005-07-06 12:02:11 EDT
I get this error as well, with 2.6.12-1.1387_FC4 and gcc (GCC) 4.0.0 20050519
(Red Hat 4.0.0-8). I have contacted the author of ipw2100 as well.
Comment 4 darkness 2005-07-07 12:32:30 EDT
FYI, applying the patch from http://bughost.org/bugzilla/show_bug.cgi?id=703
(ipw2100 Bugzilla) makes this compiler error go away for me (FC4,
kernel-2.6.12-1.1387_FC4, gcc-4.0.0-8).  Of course, I think the compiler crash
is still a bug, but this may be a workaround to get ipw2100 compiled.  I haven't
actually tested the resulting driver yet.
Comment 5 Jakub Jelinek 2005-07-12 09:39:42 EDT
Well, that patch is not a workaround, but fix, the source is otherwise not valid
C.  The ICE is tracked upstream.
Comment 6 Jakub Jelinek 2005-07-15 07:45:48 EDT
gcc-4.0.1-3 in rawhide properly issues an error about this bug.

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