Re: make modules Segfault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 04, 2005 at 09:20:22PM -0600, George Van Tuyl wrote:
> 
> To:  [email protected]
> 
> 
> 
> [1.] One line summary of the problem:
> 
>   make modules failed Segfault (program cpp0)
> 
> [2.] Full description of the problem/report:
> 
> gcc: Internal error: Segmentation fault (program cpp0)
> Please submit a full bug report.
> See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
> make[3]: *** [cycx_drv.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.4.31/drivers/net/wan'
> make[2]: *** [_modsubdir_wan] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.4.31/drivers/net'
> make[1]: *** [_modsubdir_net] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.31/drivers'
> make: *** [_mod_drivers] Error 2
> [root@wulff linux-2.4.31]# In file included from 
> /usr/src/linux-2.4.31/include/linux/vmalloc.h:5,
>                 from /usr/src/linux-2.4.31/include/asm/io.h:47,
>                 from cycx_drv.c:60:
> /usr/src/linux-2.4.31/include/linux/mm.h:155: parse error at end of input
> /usr/src/linux-2.4.31/include/linux/mm.h:155: warning: no semicolon at 
> end of struct or union
>...
> [4.] Kernel version (from /proc/version):
> 
> [gvtlinux@wulff linux-2.4.31]$ cat /proc/version
> Linux version 2.4.20-28.7 ([email protected]) (gcc 
> version 2.96 20000731 (Red Hat Linux 7.3 2.96-126)) #1 Thu Dec 18 
> 11:18:28 EST 2003    
>...
> I  expect you to tell me to upgrade everything.  Thanks for taking this 
> bug report.


No, there are usually two possible causes of this problem, both of them 
are not in the kernel:

If you try building the module again and the error does _not_ show up 
at _exactly_ the same place you have a hardware problem (e.g. bad RAM).

If the problem does reproducible show up at the same place, it's a bug 
in gcc. In this case, gcc has already told you where to report it (but I 
don't know whether RedHat 7.3 is still supported by RedHat).


> Thanks
> 
> George Van Tuyl

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux