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

Bug#211135: /usr/lib/libm.a: Programs using fesetround don't static link: undefined reference to _dl_hwcap_mask



Hi,

At Tue, 16 Sep 2003 14:29:02 +1000,
Rusty Russell wrote:
> #include <fenv.h>
> 
> int main()
> {
> 	fesetround(0);
> }
> 
> $ gcc -static -o foo foo.c -lm
> /usr/lib/gcc-lib/i486-linux/3.3.2/../../../libm.a(fesetround.o)(.text+0x2d): In function `fesetround':
> : undefined reference to `_dl_hwcap_mask'

This will be fixed in 2.3.2-8.

Regards,
-- gotom




Reply to: