tech-userlevel archive

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

xterm (sometimes) needs -lm



Hello,
while building a evbarm release with some specific CPUFLAGS:
-mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -funsafe-math-optimizations

I ran into an error building xterm: undefined references to pow
pow(3) is defined in libm and xterm doesn't reference it explicitely.
But it does some double computations; I suspect some optimisation
comes with calling pow.

Anyone know what could be going on here ? blindly adding -lm in xterm's
Makefile seems wrong ...

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index