[AC] mono

Michal Moskal malekith w pld-linux.org
Czw, 16 Paź 2003, 10:55:07 CEST


On Thu, Oct 16, 2003 at 04:51:25PM +0200, Tomasz Witek wrote:
> 
> czy kltos mie uswiadomi gdzie tu jest blad ?
> 
>  alpha-pld-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -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
> -I../../libgc/include -D_WAPI_BUILDING=1 -DMONO_BINDIR=\"/usr/bin\"
> -I../.. -DGC_LINUX_THREADS -DMONO_USE_EXC_TABLES -D_GNU_SOURCE
> -D_REENTRANT -fexceptions -DNO_PORT -g -Wall -Wunused
> -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
> -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
> -Wcast-align -Wwrite-strings -MT handles.lo -MD -MP -MF
> .deps/handles.Tpo -c handles.c  -fPIC -DPIC -o .libs/handles.o
                                  ^^^^^^^^^^^
> handles.c: In function `_wapi_handle_scratch_locate_space':
> handles.c:597: warning: cast increases required alignment of target type
> handles.c:618: warning: cast increases required alignment of target type
> handles.c:694: warning: cast increases required alignment of target type
> handles.c:699: warning: cast increases required alignment of target type
> handles.c: In function `_wapi_handle_scratch_store_internal':
> handles.c:739: warning: cast increases required alignment of target type
> handles.c: In function `_wapi_handle_scratch_lookup':
> handles.c:880: warning: cast increases required alignment of target type
> handles.c: In function `_wapi_handle_scratch_delete_internal':
> handles.c:951: warning: cast increases required alignment of target type
>  alpha-pld-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -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
> -I../../libgc/include -D_WAPI_BUILDING=1 -DMONO_BINDIR=\"/usr/bin\"
> -I../.. -DGC_LINUX_THREADS -DMONO_USE_EXC_TABLES -D_GNU_SOURCE
> -D_REENTRANT -fexceptions -DNO_PORT -g -Wall -Wunused
> -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
> -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
> -Wcast-align -Wwrite-strings -MT handles.lo -MD -MP -MF
> .deps/handles.Tpo -c handles.c -o handles.o >/dev/null 2>&1
                                ^

W pierwszym jest -fPIC a w drugim nie ma, co pewnie wyzwala jakiś błąd.
A ten kretyński libtool chowa błędy z drugiej inwokacji. Spróbuj z palca
uruchomić gcc bez -fPIC.

-- 
: Michal Moskal :: http://www.kernel.pl/~malekith : GCS {C,UL}++++$ a? !tv
: When in doubt, use brute force. -- Ken Thompson : {E-,w}-- {b++,e}>+++ h



Więcej informacji o liście dyskusyjnej pld-devel-pl