Sponsored Content
Top Forums Programming relocation truncated to fit errors Post 302087106 by houdini_1 on Tuesday 29th of August 2006 04:26:08 PM
Old 08-29-2006
relocation truncated to fit errors

I have 2 directories: a1 and b1
Directory b1 depends on directory a1
Using directory a1, I create a1.lib
Using directory b1, I create b1.lib


Now, using a1 and b1, I create a shared object ab1.so
I've been able to build ab1.so just fine. I made an update to file b1.c
and am now getting a ton of relocation truncated to fit: R_SPARC_GOT13
errors and don't know why. The change I made is nothing out of the
ordinary, just a few more if statements to a function.


I'm building on Solaris 7, gcc 2.95.2
This same code compiles just fine under RedHat9 and Suse9.3.


Anyone have any suggestions as to how to fix this?


Thank you.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

FreeBSD or Linux, which one is more fit for new man

Hello everyone. I'm a Chinese student.I want to learn something about OS, someone suggests me start with FreeBSD or Linux. Please tell me which one is more fit for new man. Thanks. (4 Replies)
Discussion started by: discoverer8713
4 Replies

2. UNIX for Advanced & Expert Users

relocation error

when running make command i'm getting the following error: make:relocation error:make:symbol_sprintf_chk,version GLIBC_2.3.4 not defined in file libc.so.6 with link time reference... plz tell me what to do abt this... (1 Reply)
Discussion started by: abhi1826
1 Replies

3. UNIX for Dummies Questions & Answers

does APUE fit for linux?

i am reading APUE now,and the OS in the book seems different from RH9,which i installed in my computer. can you tell me if a linux environment can help me really understand the APUE?If not,which OS i should try,the BSD? THANKS (1 Reply)
Discussion started by: mayuhao
1 Replies

4. Programming

ld.so.1: relocation error

Hi Iam getting the following error... ld.so.1: xxxx: fatal: relocation error: file /home/costar4/bin/xxxx: symbol __1cH__rwstdUInterlockedIncrement6Fpl_l_: referenced symbol not found. Can anyone tell me anything in this ? Thanks, Sanja (1 Reply)
Discussion started by: sanjasam
1 Replies

5. UNIX for Dummies Questions & Answers

least-square fit in Gnuplot

Does anyone know how to find the best least square fit in Gnuplot? (6 Replies)
Discussion started by: cosmologist
6 Replies

6. Linux

relocation truncated to fit

Hi, I am getting linking error i.e. /ade/aime_urtk/oracle/has/include/caa_ResStateListener.hxx:79: relocation truncated to fit: R_PPC_GO T16 vtable for CAA::ResourceStateListener /ade/aime_urtk/oracle/has/lib//libcaad.a(caa_Main.o)(.text+0x88e6): In function `CAA::ResourceStateL... (0 Replies)
Discussion started by: jgobbur
0 Replies

7. Shell Programming and Scripting

Relocation strings

Hi all, I would like to relocate strings based on the index number. Index numbers are shown on the first column, the strings are shown on the second column. 1 path_sparc_ifu_dec_104 1 path_sparc_ifu_dec_105 2 path_sparc_ifu_dec_63 2 ... (3 Replies)
Discussion started by: jypark22
3 Replies
GO-CLEAN(1)						      General Commands Manual						       GO-CLEAN(1)

NAME
go - tool for managing Go source code SYNOPSIS
go clean [-i] [-r] [-n] [-x] [ packages ] DESCRIPTION
Clean removes object files from package source directories. The go command builds most objects in a temporary directory, so go clean is mainly concerned with object files left by other tools or by manual invocations of go build. Specifically, clean removes the following files from each of the source directories corresponding to the import paths: _obj/ old object directory, left from Makefiles _test/ old test directory, left from Makefiles _testmain.go old gotest file, left from Makefiles test.out old test log, left from Makefiles build.out old test log, left from Makefiles *.[568ao] object files, left from Makefiles DIR(.exe) from go build DIR.test(.exe) from go test -c MAINFILE(.exe) from go build MAINFILE.go In the list, DIR represents the final path element of the directory, and MAINFILE is the base name of any Go source file in the directory that is not included when building the package. OPTIONS
-i The -i flag causes clean to remove the corresponding installed archive or binary (what 'go install' would create). -n The -n flag causes clean to print the remove commands it would execute, but not run them. -r The -r flag causes clean to be applied recursively to all the dependencies of the packages named by the import paths. -x The -x flag causes clean to print remove commands as it executes them. For more about specifying packages, see go-packages(7). AUTHOR
This manual page was written by Michael Stapelberg <stapelberg@debian.org>, for the Debian project (and may be used by others). 2012-05-13 GO-CLEAN(1)
All times are GMT -4. The time now is 08:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy