Joao B. Oliveira wrote:

> 
> I was compiling LyX 1.3.0 for Debian, and everything went ok up to
> a point where ld got confused. It does not handle well two files,
> and the corresponding libraries seem to get corrupted.
> 
> chset.o(.rodata+0x8): relocation truncated to fit: GPREL32 *UND*
> chset.o(.rodata+0xc): relocation truncated to fit: GPREL32 *UND*
> chset.o(.rodata+0x10): relocation truncated to fit: GPREL32 *UND*
> 
> ... several error messages like that...
> 
> Well, I do not know *why*, but adding a flag -Wl,-t at the end of the
> g++ command line did the job and everything went ok. The dummy thing
> is, it just says to the linker to trace the files, that is, print
> their names as they are processed. Should have no practical effect.
> 
> For the sake of completeness, someone has any hints?

No hints, but I can confirm that it DOES work. Many thanks for performing 
the necessary magical trick.

-- 
Angus

Reply via email to