LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-17-2010, 08:36 AM   #1
rrerre
LQ Newbie
 
Registered: Dec 2010
Posts: 5

Rep: Reputation: 0
usr/include/_G_config.h:53: unknown machine mode `_G_int16_t`


I recently tried to build a gcc cross-compiler, which is revised from gcc-2.6.3.
The building process failed as:

_fixunsxfsi
_fixtfdi
_fixunstfdi
_floatditf
__gcc_bcmp
_varargs
_eprintf
In file included from /usr/include/libio.h:32,
from /usr/include/stdio.h:75,
from ./libgcc2.c:1384:
/usr/include/_G_config.h:53: unknown machine mode `_G_int16_t'
/usr/include/_G_config.h:54: unknown machine mode `_G_int32_t'
/usr/include/_G_config.h:55: unknown machine mode `_G_uint16_t'
/usr/include/_G_config.h:56: unknown machine mode `_G_uint32_t'
make: *** [libgcc2.a] Error 1

I have searched the internet as more as possible, and found only bigwab came to the most similar problem.
Could anyone solved it now?
Any help is greatly appreciated.
 
Old 12-17-2010, 12:08 PM   #2
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 153

Rep: Reputation: 27
did you try this
http://www.neu-rtes.org:81/mcait/FixedErrors.pdf
 
1 members found this post helpful.
Old 12-17-2010, 08:54 PM   #3
rrerre
LQ Newbie
 
Registered: Dec 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Problem Con't

Quote:
Originally Posted by ilvista View Post
Thanks for your help.
I have also got help from the links:
http://harryscode.blogspot.com/2008/...plescalar.html
and
http://hi.baidu.com/hankcs/blog/item...15d600826.html.

The problems on list are all solved with the suggestions. But still, I came accross the above problem: unknown machine mode
 
Old 12-17-2010, 09:21 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
a question
" gcc-2.6.3 "
is there a reason that you must use a 9 year old "out of date" version of the compiler
gcc-2.6.3 and the current is gcc-4.5.2
 
Old 12-18-2010, 01:12 AM   #5
rrerre
LQ Newbie
 
Registered: Dec 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by John VV View Post
a question
" gcc-2.6.3 "
is there a reason that you must use a 9 year old "out of date" version of the compiler
gcc-2.6.3 and the current is gcc-4.5.2
That's because this cross-compiler was developed by another team, which choose this version of compiler. This cross-compiler is used for simplescalar.
http://www.simplescalar.com/
 
Old 12-18-2010, 02:36 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
man that is old - the current was released in 2003
Quote:
SimpleScalar version 3.0d maintenance release available - October 8, 2003
Update version 3.0d of SimpleScalar is now available.This maintenance update improves support for RedHat Linux (version 9) and Windows (via Cygwin GNU tools). The new release can be found
improves the support for the very old and dead rh9

dose this even work on a modern 2.6 kernel seeing as it is designed for the 2.4

form the doc page one of the dependencies is "glibc-1.09" and the current is glibc-2.11.2
http://www.simplescalar.com/docs/install_guide_v2.txt
what operating system are you trying to build this on ?

Last edited by John VV; 12-18-2010 at 02:37 AM.
 
Old 12-18-2010, 03:35 AM   #7
rrerre
LQ Newbie
 
Registered: Dec 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by John VV View Post
man that is old - the current was released in 2003


improves the support for the very old and dead rh9

dose this even work on a modern 2.6 kernel seeing as it is designed for the 2.4

form the doc page one of the dependencies is "glibc-1.09" and the current is glibc-2.11.2
http://www.simplescalar.com/docs/install_guide_v2.txt
what operating system are you trying to build this on ?
My host platform is: Fedora Core 13 + x86_64 + gcc4.4.5.
 
Old 12-18-2010, 09:30 AM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
i do not think there is even a 0.00001% ?? maybe chance of this even building ,even after 80+ hours of hacking the source and OS
and a 0.0000% chance of this running on fedora 13
and a 0.0000% of it building with gcc 4.5

i would NEVER even try with this program

if it is a 100% MUST USE ( your bosses boss is forcing the issue ) try a 7 year old and out of date version of red hat ( rh9) in a vm ???
that ???? maybe might ? work

or install rh9 on a OLD computer from 2001 ( it will NOT install on new hardware )

but rh9 has some VERY big security holes in it , ones that a "script kiddy" can sail an aircraft carrier through. - VERY INSECURE
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unknown machine mode while installing gcc 2.6.3 on a P4 PC running Debian 3.1 bigwab Linux - Software 3 12-17-2010 08:34 AM
please difference between /usr/include & /usr/local/include baxzius Linux - Software 2 07-09-2010 05:19 AM
Differences between /usr/include/* and linux/include/* simopal6 Linux - General 2 08-26-2007 03:41 AM
changing include directories - /usr/local/include quep_fly Linux - Newbie 6 08-12-2007 04:36 PM
which headers usr/include/ or /usr/include/nptl/? Chris.Rector Linux - Enterprise 0 02-02-2007 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:56 PM.

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