Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: __gnu_{f2h,h2f}_ieee?



On Tue, Feb 25, 2025 at 06:00:35PM +0100, Havard Eidnes wrote:
> Hi,
> 
> I'm currently in the process of cross-building rust 1.85 for the
> various targets we try to maintain.  This is mostly proceeding
> well, but our "mipsel" target is failing to build, with:
> 
>           clippy_utils.c33fa2c5294c0ca2-cgu.08:(.text._RNvMs7_NtCsgLiP1snAFCU_12clippy_utils6constsNtB5_13ConstEvalCtxt4expr+0xa7c): undefined reference to `__gnu_h2f_ieee'
~snip~
> would appreciate hints about what this is and where it's expected
> to come from.
> 

It should be coming from libgcc or compiler-rt, if it's supposed to be
coming from anywhere at all on mipsel.  Maybe it should somehow be looking
for __extendhfsf2 or __truncsfhf2 instead?  __gnu_h2f_ieee and __gnu_f2h_ieee
appear to be some sort of ARM EABI names. 


Home | Main Index | Thread Index | Old Index