Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!cbmvax!grr From: grr@cbmvax.commodore.com (George Robbins) Newsgroups: comp.unix.ultrix Subject: Re: Compiler problem. Message-ID: <22728@cbmvax.commodore.com> Date: 27 Jun 91 10:35:11 GMT References: Reply-To: grr@cbmvax.commodore.com (George Robbins) Distribution: comp.unix.ultrix Organization: Commodore, West Chester, PA Lines: 20 In article millerma@dino.cpe.ulowell.edu (Mark Miller) writes: > In compiling some code, which consists of ~35 seperate modules, with ~45,000 > lines of code on one of our DECstation 3100's, I've come up with the following > error: > > ld: > eclipse.o: gp relocation out-of-range in .text section for relocation entry 169 for symbol: get_fact_total_age > eclipse.o: above gp relocation entry for non .sdata or .sbss symbol Check that there's no conflict between this name and another procudure or data name, especially one which might be aliased if the assembler/optimzer/linker is truncating externals to less than n-characters (a guess). The mips compiler seems to generate such errors when symbols show up in a different segment than expected. Redefinitions of "end" are a classic example. -- George Robbins - now working for, uucp: {uunet|pyramid|rutgers}!cbmvax!grr but no way officially representing: domain: grr@cbmvax.commodore.com Commodore, Engineering Department phone: 215-431-9349 (only by moonlite)