LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-14-2002, 01:48 AM   #1
salman
Member
 
Registered: Nov 2001
Distribution: SuSE 9.1 Professional
Posts: 31

Rep: Reputation: 15
Gcc segfaulting


Hello there,

I am using RH72 and want to support NTFS which by default is not supported on my kernel. I have upgraded my kernel to 2.4.9-34 and that too doesnt support NTFS by default.

So I have been trying to recompile my kernel but have beenvery unfortunate that I have succeded in doing that. I am always getting some segmentation fault while doing make bzImage at different functions, e.g. recently I am getting following error message .


gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=sysctl -c -o sysctl.o sysctl.c
sysctl.c: In function `do_rw_proc':
sysctl.c:703: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make[2]: *** [sysctl.o] Error 2
make[2]: Leaving directory `/usr/src/linux/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux/kernel'
make: *** [_dir_kernel] Error 2

Earlier I had been getting similar segmentation fault message on another function, I made a report to bugzilla and they wrote back its not kernel fault and is gcc segfaulting. No other hints yet.

Can someone help me to realize my first ever kernel recompile ?

PS: I am using following Gcc compilers :
libgcc-3.1-0.22
gcc-2.96-98

Thanks !
Salman
 
Old 07-14-2002, 06:15 AM   #2
CARTMAN
Member
 
Registered: Feb 2002
Location: Turkiye
Distribution: Pardus
Posts: 147

Rep: Reputation: 16
Find and install gcc 2.95.3 gcc 2.96 is badly buggy.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
realloc and segfaulting problem SciYro Programming 2 05-30-2005 08:46 AM
Intermittent Segfaulting (once a weekish) canterburyman Linux - Hardware 1 10-18-2004 05:47 AM
slackware 9.0 everything segfaulting ranger12002 Slackware 6 10-31-2003 05:47 PM
RPM segfaulting wapcaplet Linux - Software 10 10-22-2003 03:45 PM
segfaulting on end acid_kewpie Programming 11 10-11-2002 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration