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

Problems linking static



I'm running debian/sid on an Opteron. After an upgrade last week I haven't
been able to build a statically linked program.  It looks like a libc.a
problem? Has anyone else seen this problem? 

	thanks,
		ray



fo% cc -o hello -static hello.c
/usr/bin/ld: __libc_errno: TLS definition in
/usr/lib/gcc/x86_64-linux-gnu/4.0.1/../../../../lib64/libc.a(errno.o)
section .tbss mismatches non-TLS reference in
/usr/lib/gcc/x86_64-linux-gnu/4.0.1/../../../../lib64/libc.a(check_fds.o)
/usr/lib/gcc/x86_64-linux-gnu/4.0.1/../../../../lib64/libc.a: could not read
symbols: Bad value
collect2: ld returned 1 exit status




Reply to: