Re: gcc error - xfsprogs, ppc
On Mon, May 07, 2001 at 02:21:11PM +1000, Keith Owens wrote:
> >> /opt/src/robert/XFS/xfsprogs-1.2.4/libxfs/xfs_inode.c:563: undefined reference to `__fswab64'
> >> /opt/src/robert/XFS/xfsprogs-1.2.4/libxfs/xfs_inode.c:563: relocation truncated to fit: R_PPC_REL24 __fswab64
>
> Ignore "relocation truncated to fit", it is a spurious error message
> caused by __fswab64 being undefined, __fswab64 is treated as 0 and a
> ppc rel24 offset is not enough to represent 0 when the program is
> loaded above address 2**23.
>
> As for why __fswab64 is undefined, try using -O2 instead of -O1. AFAIK
> functions are not inlined at -O1.
I;ll try that but hmm shouldn't compile also fail on f.ex. i386 ?
on second thougt i now remeber that on i386 CCFLAGS haven't any -O option
(and i tried this on PowerPC also with no luck... maybe compilator defaults
with respect to optimisation are different?)
Should i file a bug on this? and bug agains what ? xfsprogs ? gcc ?
--
Robert Ramiega | jedi@plukwa.net IRC: _Jedi_ | Do not underestimate
UIN: 13201047 | http://www.plukwa.net/ | the power of Source
Reply to: