Unix Technical Forum

Problems with GNU ld

This is a discussion on Problems with GNU ld within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> I am using ld from binutils 2.15. It bombs on multiple solaris 8 systems, always while accessing /usr/lib/libm.so (I ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 07:57 AM
Bob Duffy
 
Posts: n/a
Default Problems with GNU ld

I am using ld from binutils 2.15. It bombs on multiple solaris 8
systems, always while accessing /usr/lib/libm.so (I know this from
truss). When I compile, I see one of these:

collect2: ld terminated with signal 10 [Bus Error]
collect2: ld terminated with signal 11 [Segmentation Fault]

When running truss on 1 system, I get:

6857: read(9, "\0\0\0\0\0\0\0\0\0\0\0\0".., 8192) = 8192
6857: Incurred fault #5, FLTACCESS %pc = 0x0005DCCC
6857: siginfo: SIGBUS BUS_ADRALN addr=0x1200001A
6857: Received signal #10, SIGBUS [default]
6857: siginfo: SIGBUS BUS_ADRALN addr=0x1200001A

and on another I get

13980: read(10, "\0\0\0\0\0\0\0\0\0\0\0\0".., 8192) = 8192
13980: brk(0x008A2478) = 0
13980: brk(0x008A4478) = 0
13980: Incurred fault #6, FLTBOUNDS %pc = 0x0005DB4C
13980: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000018
13980: Received signal #11, SIGSEGV [default]
13980: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000018

In both cases, they occur while reading libm.so (and the same number
of read() calls at that.) I tried installing the latest libm.so from
Sun, but it didn't help. If I use the solaris ld, all is fine.

Anyone have any ideas how to correct this?

Thanks,
Bob
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:17 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com