Bugzilla – Bug 317903
Foo fails to build.
Last modified: 2007-09-15 21:24:34 UTC
---- Reported by robert@grinning-cat.com 2005-05-06 15:24:49 MST ---- Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: When compiling debugger from svn ld chokes. Steps to reproduce the problem: 1. configure 2. make 3. Actual Results: make[1]: Entering directory `/home/rpostill/mono/debugger/test' /bin/sh ../libtool --tag=CC --mode=link gcc -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -o libfoo.so -shared foo.o gcc -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -o libfoo.so -shared foo.o /usr/bin/ld: foo.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC foo.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [libfoo.so] Error 1 make[1]: Leaving directory `/home/rpostill/mono/debugger/test' make: *** [all-recursive] Error 1 Expected Results: Successful compilation. How often does this happen? Consistently. Additional Information: I tried to pop the suggested flag in CFLAGS inside the Makefile but that didn't help. Sorry I haven't enough knowledge to take this any further. ---- Additional Comments From miguel@ximian.com 2005-09-05 13:52:34 MST ---- reassigning to new debugger owner. ---- Additional Comments From martin@ximian.com 2005-09-07 13:47:07 MST ---- Closing all the old crap. ---- Additional Comments From martin@ximian.com 2005-09-07 13:59:02 MST ---- . Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>Ubuntu 5.04 on AMD64</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other".