Re: Porting kaffe - Make error - relocation overflow
Dalibor Topic <[email protected]> Wed, 19 Mar 2008 15:56:09 +0100
| Newsgroups | gmane.comp.java.vm.kaffe.general |
|---|---|
| Message-ID | <[email protected]> |
Sivaramakrishnan KC wrote: > Hi, > > I am porting kaffe to a research architecture abacus( 32 bit RISC). I > am using gcc 2.95.3. I tried porting kaffe-1.1.8 and kaffe-1.0.7 and > encountered the same error during make. > > /tmp/cc4O2KKc.s: Assembler messages: > /tmp/cc4O2KKc.s:14622: Error: relocation overflow > That sounds like a problem in the assembler or the code produced by gcc. You could try building kaffe using gcc with -Os to optimize the generated assembler code for size, in case the file is too big for the assembler. Alternatievely, you could try splitting the C file into smaller files, and compiling them separately. cheers, dalibor topic