COMPGROUPS.NET | Post | Groups | Users | Stream | Browse | About | |

### Problems with GNU ld

• Email
• Follow

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:       Received signal #10, SIGBUS [default]

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:      Received signal #11, SIGSEGV [default]

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

 0

See related articles to this posting

0 Replies
242 Views

Similar Articles

[PageSpeed] 27

Similar Artilces:

problems problems problems
(The short(?) summary) I've got an Access MDB file and a DAO connect with it.. Problem 1 of 2 The below gives me a runtime error 91 Object variable or With block variable not set. I've got the db stuff after the form.show (to make sure all the objects on the form are loaded before attempting to utilize/manipulate them) But it doesn't like it when I use the data object in the form load anyway for some reason.. pffft. Private Sub Form_Load() frmTest1Project.Show datGallery.Recordset.MoveLast datGallery.Recordset.MoveFirst Call LockTextBoxes(frmTest...

Problem with 64 bit gnu ld on sparc (sol8)
I'm using solaris 8 and have a problem with the installed gnu ld linker: Having downloaded gcc-3.3.2 http://www.sunfreeware.com/programlistsparc8.html#gcc33 it seems there are a few weird things going on: ld -r temp/SunOS_sparc/to_be_fixed.o temp/SunOS_sparc/cinclude.o -o temp/SunOS_sparc/rtw.o ld: warning: sparc:v9 architecture of input file `temp/SunOS_sparc/to_be_fixed.o' is incompatible with sparc output If both files are 64 bit why does it try to default to 32 bit output? Is there a switch to change it to 64 bit? Thanks in advance. -- Henrik On Sun, 02 Apr 2006 16:38:23 ...

GNU ld
hi falks still fihting to bild that php 5.2.3, I'm in need of GNU ld. Does anybody know where to get it for AiX 5.2? thx Michael ...

Problem with GNU AS
Hello, I compiled the below small ASM code on Linux with GNU AS and command: gcc -nostdlib a.s. I got the error: "relocation truncated to fit R_386_16 against data". Please anybody tells me how to fix it? Thank you a lot, //////////// /* a.s */ ..data ok_msg: .string "OK\n" ..text ..code16 ..global _start _start: .code16 movw $ok_msg, %ax ret ////// On Wed, 23 Jan 2008 05:31:15 -0800, junkoi wrote: > Hello, > > I compiled the below small ASM code on Linux with GNU AS and command: > > gcc -nostdlib a.s. > > I got the error: "relocat... Problems problems.... I've got Fujitsu MAN3184MP and Adaptec 29160 scsi card. Sometimes i have this message "A disk read error occured" , sometimes even bios does not recognize it, sometimes it does but the boot sequence does not start it seems that motherboard bios has problems with it ( so it seems to me, i could be wrong about that assumption) . Then i reset and it all works perfectly. I've noticed a speed degradation in Win XP lately. I'm angry :)) I have LVD/SE terminator, and i think 68pin cable ( not sure about that ). Hope i gave you enough info to try and help. Thanx! -- -... Problem with a problem Hello, take a grammar G with alphabet {0,1} such that (the word problem for) the language L_G={w in (0+1)*|w\in L(G)} is very complex, say in PSPACE or some higher complexity class. Now consider an "easy" problem EASY like: "Is an element of L_G in L_G?". Well, this seems to be fairly easy because the answer is "yes" in any case. Hence the problem should be of small complexity. But if one models such a decision problem one has to construct a language L with alphabet A such that the word problem for L reflects exactly the decision problem which one is interested... ld problems I've got two servers with (almost) identical software. However, on one of them I recently tried to tweak some /lib-libraries. This monday I experienced troubles with a particular executable on one of the server (the server, where I tweaked previously) resulting in a "segmentation fault" I've tried to debug with ldd, and obtain different results at server A (where the executable runs succesfully) and server B (where I experience the segmentation fault). I.e.: A:$ ldd /path/to/binary/executable libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40027000...

extending emacs, installing *.el, GNU ld mode? GNU as mode?
Hi, on www.koders.com there are some extensions for emacs/xemacs. For example for "GNU as" and "GNU ld" files. If anybody has some more hints on modes for these files that would be great, by the way. How do i install these files on Unix and on Windows? It looks like these files all go in their own subdirectory and there has to be some autoload.el and _pkg.el, is that correct? What do i need to put into them? Best regards, Torsten. Torsten Mohr <tmohr@s.netic.de> writes: > Hi, > > on www.koders.com there are some extensions for...

DLL Problem with the GNU gfortran linker when MinGW (GNU) from version 4.5 to 4.8
Hi to all Can someone help - having a problem in the upgrading of MinGW platform for = gfortran from v4.5 to 4.8 Programs written in gfortran (to produce a fortran dll callable from window= s) under the earlier version will no longer successfully compile and link u= sing the latest version. For some reason the link/assembler is not recogniz= ing the " --input-def dgeto2.def" file referenced below which exports only = "dget02". I've tried several different updates to fortran, libraries etc to= no avail. Here are the two main statements: The defined target...

Re: How many files can you have in a VMS directory without performance problems? performance problems? performance problems? problems? performance problems? performance problems? problems? perfo
First, does anyone know why Info-VAX goes nuts on subjects from time to time? (Or is the trouble elsewhere?) From: JF Mezei <jfmezei.spamnot@teksavvy.com> > DELETE Z*.*;* > DELETE Y*.*;* > ... > DELETE A*.*;* > > (followed by the numbers). This scheme may be a bit obsolete. See: http://h71000.www7.hp.com/doc/731FINAL/4506/4506pro_014.html#index_x_890 I quote: [...] 5.2.3.1.2 Extended Character Set In addition, OpenVMS V7.2 on Alpha systems and ODS-5 disks includes support for the use of file names, and subdirectory and root subdirectory names, tha...

Hi!!! I am using a make file for creating a bin file out of many C files. I am using win2k cmd shell with djpp gcc version 3.1 installed with GNU Make version 3.79. The version of ld is 2.13. My src for the makefile is ---------- objects = kernel32.o pic.o stdio.o keyboard.o gdt.o string.o idt.o asm_c.o screen.o writexy.o login.o allobjects = $(objects) asm.o header = include/stdio.h \ include/pic.h \ include/gdt.h \ include/types.h \ include/string.h \ include/idt.h \ include/asm.h \ include/screen.h \ include/keyboard.h \ include/keydefs.h \ include/login.h \ include/writex... A GNU automake problem Hello, I'm trying to get automake to set a compiler flag when compiling a specific binary. My Makefile.am looks (in part) like this: ------------ CFLAGS = -W -Wall -ansi -pedantic -g [...] bin_PROGRAMS = ctops-gui gen_gui_data gen_gui_data_SOURCES = \ gen_gui_data.c \ [...] ctops_gui_SOURCES = \ main.c \ [...] gui_data.c gui_data.h : gen_gui_data ./gen_gui_data gen_gui_data_CFLAGS = -DCODE_GENERATOR [...] ------------ Well, this doesn't work right. The -DCODE_GENERATOR option isn't set when compiling the sources for gen_gui_data. I looked at the resulting Makefil... gnu make problem I am trying to make a .o file from a .cpp file using implicit rules but gmake is always asking for a .c file. I have set .SUFFIXES: .cpp .c Supplied a .o.cpp: rule. But still it wants a .c file. Help, Aaron Aaron Gray wrote: > I am trying to make a .o file from a .cpp file using implicit rules but > gmake is always asking for a .c file. > > I have set .SUFFIXES: .cpp .c > > Supplied a .o.cpp: rule. > > But still it wants a .c file. it should be ..cpp.o: instead of ..o.cpp: -- Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze ICQ# lbetto, 1... ld problem in solaris I use gperf to generate some files for hash lookups. One file hash.cxx for verilog-95 and other file hashPSL.cxx for verilog-2000 PSL (You dont need to worry about verilog ! :) ) gcc -c -g -Wall -fPIC -DVE_DUMP_X86 -DVE_DEBUG -I. -I../include - I../../om/include -I../../pi/include -I../../superlog/include -I../../ utils/include -I../../../obj/linux-gcc3.2.3-32-debug hash.cxx - o ../../../obj/linux-gcc3.2.3-32-debug/hash.o gcc -c -g -Wall -fPIC -DVE_DUMP_X86 -DVE_DEBUG -I. -I../include - I../../om/include -I../../pi/include -I../../superlog/include -I../../ utils/include -I../../../o... Gnu make problems I'm using gmake 3.79.1 to try and build a source package I was given. In the make file there are targets that I've never come across before. The general format of these bizarre (to me) targets is as follows: target1 : target/dependency : target/dependency I've never seen anything specified this way before. I've only ever seen 1 "set" of dependencies on the right of the leftmost colon. I've never seen an additional target/dependency added on like this. Can someone explain to me what this means? Thanks. Les ... Problem with (gnu) tar On two different Linux systems -- one based on RedHat 6.2 and the other based on RedHat 7.2 -- we have a problem with the tar utility using the tar command : tar -z -P -cvf /z/raft.gz /raft/* The specific file that presents a problem is /raft/library.raft/_divdi3.o and ls -l pf this file produces the following information -rwxr-xr-x 1 root root 14900 Nov 16 15:10 _divdi3.o* On both systems this file is *never* included in the archive! This is a continuing problem that has spanned several years of use and it is the only file in the entire ... ld -Tdata problem Refer to vxworks documents,"ld -Tdata xxx" can set data segment at a defined address.But after I modified defs.bsp like "LD_LOW_FLAGS = -Ttext$(RAM_LOW_ADRS) -Tdata 180000",the image can't work. I checked vxworks.st, the header and sector headers are all correct,text end is below 180000.Why the image can't work correctly? ...
Dear all, I'm using GNU make on Minix 3.1.2, but it is failing and i cannot find why. I'm trying with the following Makefile: all: echo Hello world This is what i'm doing and the results i'm seeing: # PATH=$PATH:/usr/gnu/bin # gmake all gmake: getcwd: : No such file or directory gmake: *** No rule to make target 'all'. Stop. I'm using GNU make to compile a program that requires GCC and the other GNU utilities to be built. I know that this must be possible, as it succeeded once before, on another virtual machine. I've installed the following packages using... Problems with LD driver Vax 3100 Model 80 VMS 7.3 LD driver v8.3 Raid version 2.6 When ever I try to create a volume on a RAID 0 set I get the following pluto> ld create/size=3000000 pwrkv61.dsk pluto> ld connect lda1 pluto> init/system lda1: pwrkv61 pluto>mount/system lda1: pwrkv61 %systen-i-mountver,$101$lda1: (pluto) has been write-locked. Mount verification in progress %%%%%%%%%%% opcom 30-dec-2010 12:55:22.23%%%%%%%%%%% device$101$lda1: (pluto) has been write locked. mount verification is in progress The system then locks up and I need to reset the system. LDA1 is a 300000 block file. DPA100 wh... Gnu sort problem This is in.txt. B 35 world B 123 abc A 79 world A 123 hello B 35 abc A 79 hello The goal is to sort the 1st field alpahbetically, then 2nd numerically, then 3rd alphabetically. Gnu versions 5.97 and 8.15 give correct result.$ sort +0 -1 +1 -2n +2 -3 in.txt A 79 hello A 79 world A 123 hello B 35 abc B 35 world B 123 abc However, version 7.4 gives wrong (or different) result. $sort +0 -1 +1 -2n +2 -3 in.txt A 123 hello A 79 hello A 79 world B 123 abc B 35 abc B 35 world Is this a bug or something else? TIA James In article <a810129c-2b11-4eb3-b4... ld problems #2 I've got two servers with (almost) identical software. However, on one of them I recently tried to tweak some /lib-libraries. This monday I experienced troubles with a particular executable on one of the server (the server, where I tweaked previously) resulting in a "segmentation fault" I've tried to debug with ldd, and obtain different results at server A (where the executable runs succesfully) and server B (where I experience the segmentation fault). I.e.: A:$ ldd /path/to/binary/executable libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40027000...