niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » SGI/IRIX » admin
Fatal linker error building gcc-4.0.2
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
<china@foo.com>
*nix forums beginner


Joined: 01 Sep 2005
Posts: 4

PostPosted: Fri Oct 14, 2005 3:36 am    Post subject: Fatal linker error building gcc-4.0.2 Reply with quote

While trying to build gcc-4.0.2 with GNU as, IRIX ld, and MIPSpro
7.4.3m, I ran into an ld error:
ld32: FATAL 2 : Internal: at ../../ld/section_type.c In load_info()
unknown section type

This was while trying to create the libstdc++.so shared library. If I
dump the section headers of one of the object files in the link:
$ elfdump -h .libs/allocator-inst.o
..libs/allocator-inst.o:

**** SECTION HEADER TABLE ****
[No] Type Addr Offset Size Name
Link Info Adralgn Entsize Flags

[1] 0x11 0 0x34 0x8 .group
43 0x25 0x4 0x4 0x00000000

[2] 0x11 0 0x3c 0x8 .group
43 0x26 0x4 0x4 0x00000000

....
[13] SHT_PROGBITS 0 0xa0 0 .text
0 0 0x10 0 0x00000006 ALLOC EXECINSTR

[14] SHT_PROGBITS 0 0xa0 0 .data
0 0 0x10 0 0x00000003 WRITE ALLOC

....

Notice for some of the section headers, we get numbers for the type
(e.g. 0x11) rather than a name (SHT_PROGBITS). Is this the reason for
the ld error? I'm thinking the section types in the elfdump -h output
get converted to names for the types ld knows about and left as
numbers otherwise.

--
albert chin
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 12:14 pm | All times are GMT
navigation Forum index » *nix » SGI/IRIX » admin
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Postfix fatal authentication errors! JamesMaxwell Postfix 0 Tue Oct 28, 2008 3:37 pm
No new posts Postfix + MySQL error: very strange variable %s iWarior Postfix 0 Mon Aug 25, 2008 2:01 pm
No new posts ** Postfix error on console every minute or so ** ?? drywash Postfix 0 Fri Jul 04, 2008 8:49 pm
No new posts Postfix error bounce diwash Postfix 0 Fri Mar 28, 2008 3:37 am
No new posts I am getting following error in Aix 5.3 rockcharles1 AIX 0 Tue Aug 28, 2007 11:06 pm

Debt Consolidation | Magazine Subscriptions | Credit Cards | Credit Cards | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1814s ][ Queries: 16 (0.1150s) ][ GZIP on - Debug on ]