Module problems with gcc-3.2.x (please CC hamilton@sedsystems.ca)

Kendrick Hamilton (hamilton@sedsystems.ca)
Wed, 21 May 2003 15:20:02 -0600 (CST)


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-26897-1053553647-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,
I have been continuing the track down problems with a module I am
making. If I compile the kernel and module with gcc-2.95.3, the module
installs and works correctly. If I compile the kernel and module with
gcc-3.2.3, the module finishes installation and its interrupt service
routine runs, then the kernel crashes. I am using linux 2.4.18 and 2.4.20.
The computers are all pentium computers (I, II, III, celeron, xeon) with
Redhat Linux 7.3. Any suggestions would be appreciated.

I am assuming there is a problem with my makefiles and
have attached them. I can tgz the entire driver and mail it to the list.

-- 
Kendrick Hamilton E.I.T.
SED Systems, a division of Calian Ltd.
18 Innovation Blvd.
PO Box 1464
Saskatoon, Saskatchewan
Canada
S7N 3R1

Hamilton@sedsystems.ca Tel: (306) 933-1453 Fax: (306) 933-1486

--=_courier-26897-1053553647-0001-2 Content-Type: text/plain; charset=us-ascii; name=Makefile Content-Transfer-Encoding: base64 Content-ID: <Pine.LNX.4.44.0305211520020.3289@sw-55.sedsystems.ca> Content-Description: Content-Disposition: attachment; filename=Makefile

I05PVEU6CUNQUCByZWZlcnMgdG8gdGhlIEMgcHJlLXByb2Nlc3NvciwgQ1hY IHJlZmVyZXMgdG8gQysrIGNvbXBpbGVyLg0KS0VSTkVMX0xPQ0FUSU9OCTo9 CS91c3Ivc3JjL2xpbnV4DQojIFN1YiBkaXJlY3RvcmllcyBjb250YWluaW5n IGZpbGVzIHRvIG1ha2UuDQpTUkNESVIJCTo9CWRhc20gZWFoIGZpZm8gbWFp biBwY2kgcGxsIHFkdWMgdHNwDQojIEMgc291cmNlIGZpbGVzDQpTUkMJCTo9 CXZlcnNpb24uYw0KDQpPQkpTCQk6PQkkKGZvcmVhY2ggRElSLCAkKFNSQ0RJ UiksICQoRElSKS5v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gcGtnIGluICQo U1JDRElSKTsgZG8gXA0KCQkkKE1BS0UpIC1DICQkcGtnIGRlcDsgXA0KCWRv bmU7DQoNCg== --=_courier-26897-1053553647-0001-2 Content-Type: text/plain; charset=us-ascii; name=Makefile Content-Transfer-Encoding: base64 Content-ID: <Pine.LNX.4.44.0305211520021.3289@sw-55.sedsystems.ca> Content-Description: Content-Disposition: attachment; filename=Makefile

IyBDIFNvdXJjZSBGaWxlcw0KU1JDCQk6PQllYWhfZXJyb3IuYw0KUEFDS0FH RQkJOj0JLi4vZWFoLm8NCg0KT0JKUwkJOj0NCk9CSlMJCSs9ICAkKFNSQzou Yz0ubykNCg0KJS5kOiAlLmMNCglzZXQgLWU7ICQoQ0MpIC1NTSAkKENQUEZM QUdTKSAkPCBcDQoJfCBzZWQgJ3MvXCgkKlwpXC5vWyA6XSovXDEubyAkQCA6 IC9nJyA+ICRAOyBcDQoJWyAtcyAkQCBdIHx8IHJtIC1mICRADQoNCi5QSE9O WSA6IGFsbA0KDQphbGw6ICQoUEFDS0FHRSkNCg0KaWZuZXEgKCQoU1JDKSwg KQ0KaW5jbHVkZSAkKFNSQzouYz0uZCkNCmVuZGlmDQpERVBFTkRTICAgICA9 ICQoU1JDOi5jPS5kKQ0KDQokKFBBQ0tBR0UpOiAkKE9CSlMpDQoJJChMRCkg LXIgLW8gJEAgJF4NCg0KRk9SQ0U6DQoNCi5QSE9OWSA6IGNsZWFuDQpjbGVh bjoNCglybSAtZiAkKE9CSlMpICQoREVQRU5EUykNCg0KLlBIT05ZIDogaW5z dGFsbA0KaW5zdGFsbDoNCg0KLlBIT05ZIDogZGVwDQpkZXA6ICQoREVQRU5E UykNCg== --=_courier-26897-1053553647-0001-2--