Bug 317903 (MONO74851) - Foo fails to build.
Summary: Foo fails to build.
Status: RESOLVED INVALID
Alias: MONO74851
Product: Mono: Debugger
Classification: Mono
Component: backend (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Martin Baulig
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords: build
Depends on:
Blocks:
 
Reported: 2005-05-06 22:24 UTC by Robert Postill
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:16:02 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".