|
From: Philippe W. <phi...@sk...> - 2011-05-09 18:52:47
|
I see vgdb fails to link as indicated below. I have no idea what could be the cause of the below. vgdb is a normal executable (so e.g. it can and uses libc). Does someone has an idea what is wrong in the below ? > gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -DVGA_x86=1 -DVGO_darwin=1 -DVGP_x86_darwin=1 -I../coregrind -DVG_LIBDIR="\"/Users/minime/src/vg/nightly/valgrind-new/Inst/lib/valgrind"\" > -DVG_PLATFORM="\"x86-darwin\"" -arch > i386 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length > -fno-strict-aliasing -mmacosx-version-min=10.5 -fno-stack-protector -fno-pic -fno-PIC -Wno-long-long -Wno-pointer-sign -fno-stack-protector > -MT vgdb-vgdb.o -MD -MP -MF .deps/vgdb-vgdb.Tpo -c -o vgdb-vgdb.o `test -f 'vgdb.c' || echo './'`vgdb.c > vgdb.c: In function 'map_vgdbshared': > vgdb.c:199: warning: format '%ld' expects type 'long int', but argument 5 has type 'off_t' > mv -f .deps/vgdb-vgdb.Tpo .deps/vgdb-vgdb.Po > gcc -arch > i386 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length > -fno-strict-aliasing -mmacosx-version-min=10.5 -fno-stack-protector -fno-pic -fno-PIC -Wno-long-long -Wno-pointer-sign -fno-stack-protector > -arch > i386 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length > -fno-strict-aliasing -mmacosx-version-min=10.5 -fno-stack-protector -fno-pic -fno-PIC -lpthread -o vgdb vgdb-vgdb.o > ld: absolute addressing (perhaps -mdynamic-no-pic) used in _vmalloc from vgdb-vgdb.o not allowed in slidable image. Use > '-read_only_relocs suppress' to enable text relocs > collect2: ld returned 1 exit status > make[3]: *** [vgdb] Error 1 > make[2]: *** [all] Error 2 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 |