Package: mono
Version: 1.1.9.1-1
Severity: important
Hi,
Your package is failing to build on amd64 with the following
error:
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../.. -I../.. -I../../mono -I../../libgc/include -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DMONO_ASSEMBLIES=\"/usr/lib\"
-DMONO_CFG_DIR=\"/etc\" -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT
-DUSE_MMAP -DUSE_MUNMAP -DUSE_COMPILER_TLS -g -O2 -fno-strict-aliasing
-Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings
-MT threads.lo -MD -MP -MF ".deps/threads.Tpo" -c -o threads.lo threads.c; \
then mv -f ".deps/threads.Tpo" ".deps/threads.Plo"; else rm -f ".deps/threads.T
po"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../mono -I../../libgc/include
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-DMONO_ASSEMBLIES=\"/usr/lib\" -DMONO_CFG_DIR=\"/etc\" -DGC_LINUX_THREADS
-D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -DUSE_COMPILER_TLS -g -O2
-fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
-Wcast-align -Wwrite-strings -MT threads.lo -MD -MP -MF .deps/threads.Tpo -c
threads.c -fPIC -DPIC -o .libs/threads.o
threads.c: In function 'ves_icall_System_Threading_Thread_Thread_internal':
threads.c:474: warning: unused variable 'im'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../mono -I../../libgc/include
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-DMONO_ASSEMBLIES=\"/usr/lib\" -DMONO_CFG_DIR=\"/etc\" -DGC_LINUX_THREADS
-D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -DUSE_COMPILER_TLS -g -O2
-fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
-Wcast-align -Wwrite-strings -MT threads.lo -MD -MP -MF .deps/threads.Tpo -c
threads.c -o threads.o >/dev/null 2>&1
make[4]: *** [threads.lo] Error 1
Note that libtool compiles threads.c twice, ones for a
shared lib (with -fPIC) and once without for a static lib.
It assumes it'll get the same warnings twice, so redirects
things to /dev/null the second time.
However, this time it's giving an error that it's now
showing. Not redirecting it give this instead:
/tmp/ccVvGeX2.s: Assembler messages:
/tmp/ccVvGeX2.s:69: Error: relocated field and relocation type differ in
signedness
Line 69 shows:
jmp 1f; .section writetext, "awx"; 1: movl [EMAIL PROTECTED], %eax; jmp
2f; .previous; 2:
This seems to come from mono/utils/mono-compiler.h:
#elif defined(__x86_64__)
#if defined(PIC)
#define MONO_THREAD_VAR_OFFSET(var,offset) (offset) = -1
#else
#define MONO_THREAD_VAR_OFFSET(var,offset) __asm ("jmp 1f; .section writetext,
\"awx\"; 1: movl $" #var "@TPOFF, %0; jmp 2f; .previous; 2:" : "=r" (offset));
#endif
Which would explain why the PIC version reacts
differently.
However, I have no idea what the error message really
means or how to solve it.
Kurt
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]