[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



Package: libc6-dev
Version: 2.3.2-7
Severity: normal
File: /usr/lib/libm.a
Tags: sid

#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'


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux bach 2.4.19-pre8 #1 Wed May 8 15:38:14 EST 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages libc6-dev depends on:
ii  libc6                         2.3.2-7    GNU C Library: Shared libraries an

-- no debconf information




Reply to: