LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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
  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,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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



Similar Threads
Thread Thread Starter Forum Replies Last Post
PIC issue on RHEL4 platform gcc 3.3.6 compiler dayalan_cse Programming 0 11-05-2008 07:35 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:46 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