On Sun, 16 Sep 2001, H . J . Lu wrote:
> > libopera.a(registerdialog.o): In function
> > `RegisterDialog::RegisterDialog(QWidget *, char const *, bool)':
> > linux/ui/registerdialog.cpp(.text+0xd08): relocation truncated to
> > fit: R_MIPS_GOT16 RegisterDialog virtual table
> > libopera.a(registerdialog.o): In function
> > `RegisterDialog::slotOk(void)':
> > linux/ui/registerdialog.cpp(.text+0xdd8): relocation truncated to
> > fit: R_MIPS_CALL16 RegisterWidget::verifySettings(void)
> > libopera.a(registerdialog.o): In function `onceinalifetime(void)':
> > regkey/regver.h(.text+0x10d8): relocation truncated to fit:
> > R_MIPS_CALL16 regkey_init(void)
>
> This may be a MIPS linker bug/limitation. But I don't use Qt on mips
This is a `feature' of the MIPS toolchain. Global and static items <= n
bytes are placed into the small data or small bss sections instead of
the normal data or bss sections as an optimization. Excess items would
cause these linker errors.
Pass the compiler the -Gn flag (default is 8 bytes), ie. -G4 should work
for most purposes.
-vedge
|