LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 11-17-2008, 09:52 PM   #1
willylinux
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Rep: Reputation: 0
Compiler Fedora9 Kernel issue


Dear All:
I compiler Kernel in the Fedora9 O.S,but I got undefined reference to `__umoddi3'
,this error message

and I search google,I edit Makefile file as below:

CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common

change to:

CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common \
-fno-tree-scev-cprop

and then I recompiler kernel again,It is working,

So anybody can tell me why???,it is recompiler working

thanks a lot
 
Old 11-18-2008, 04:39 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,408

Rep: Reputation: 108Reputation: 108
As the archives say, in this case gcc changed a loop into a division (original: loop with substraction), while the code that makes the actual division wasn't delivered. With the added option, the compiler is forces to use a loop.

Not a very elegant solution, but works until it if fixed in either gcc or the kernel.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PIC issue on RHEL4 platform gcc 3.3.6 compiler dayalan_cse Programming 0 11-06-2008 03:44 PM
pthread error - compiler issue? crowl Linux - Software 2 01-14-2008 02:46 AM
Compiler issue c99 sgriffiths Linux - Software 9 11-29-2006 03:23 AM
openxchange java compiler issue TheNorwegian Fedora 1 11-08-2004 10:11 AM
First time kernel compiler, please help isoaga Linux - Newbie 6 10-19-2002 10:50 PM


All times are GMT -5. The time now is 12:37 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration