Bugzilla – Bug 318328
[x86-64] corlib doesn't compile
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by dmlb2000@excite.com 2005-06-20 18:21:33 MST ---- Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: I was trying to compile mono 1.1.8 on my x86-64 and it didn't compile. It got past the compiler but dump bad errors in the corelibs directory Steps to reproduce the problem: 1. ./configure 2. make Actual Results: broke Expected Results: compiled and installed successfully How often does this happen? everytime Additional Information: Environmental vars to configure. CFLAGS="-march=nocona -mmmx -mfpmath=sse -msse -msse2 -m3dnow -m64 -fPIC -DPIC -Os" LDFLAGS="-s -z combreloc" going to attach compile log in a minute or too ---- Additional Comments From dmlb2000@excite.com 2005-06-20 18:23:23 MST ---- Created an attachment (id=168156) Compile Log ---- Additional Comments From dmlb2000@excite.com 2005-06-20 18:33:18 MST ---- duplicate https://bugzilla.novell.com/show_bug.cgi?id=MONO74911 only this compile log is using gcc 3.4.4 ---- Additional Comments From bmaurer@users.sf.net 2005-06-20 18:39:13 MST ---- What distro is this? It works fine on our boxes. ---- Additional Comments From dmlb2000@excite.com 2005-06-20 18:46:21 MST ---- This is SourceMage GNU/Linux http://www.sourcemage.org ---- Additional Comments From dmlb2000@excite.com 2005-06-20 18:49:09 MST ---- Created an attachment (id=168157) Compile Log for 1.1.7 ---- Additional Comments From dmlb2000@excite.com 2005-06-20 18:50:02 MST ---- I have a successful 1.0.6 install of mono. ---- Additional Comments From dmlb2000@excite.com 2005-06-20 20:19:20 MST ---- What distro's do you use to compile it on? Are they multilib? or pure 64bit? Currently SourceMage has only pure 64bit support. ---- Additional Comments From bmaurer@users.sf.net 2005-06-20 21:20:56 MST ---- SUSE distros mostly, so multilib. But I think that people have compiled on ubuntu... ---- Additional Comments From vargaz@gmail.com 2005-06-22 06:21:27 MST ---- Could you try compiling it without the optimization flags ? ---- Additional Comments From vargaz@gmail.com 2005-06-22 06:22:33 MST ---- -> runtime ---- Additional Comments From dmlb2000@excite.com 2005-06-22 17:42:19 MST ---- Created an attachment (id=168158) Successful Compile log for 1.1.8 ---- Additional Comments From dmlb2000@excite.com 2005-06-22 17:43:56 MST ---- # cast --no-opts -c mono <snip> Spells installed successfully: ------------------------------ mono # Okay installed successfully, I'll figure out which flag was messing things up and get back in a day or two. ---- Additional Comments From dmlb2000@excite.com 2005-06-22 18:28:42 MST ---- Little sooner, apparently it doesn't like the prelink flags... CFLAGS=${CFLAGS/-fPIC/} CFLAGS=${CFLAGS/-DPIC/} that made it work. ---- Additional Comments From bmaurer@users.sf.net 2005-06-23 00:09:39 MST ---- So don't do that :-). Imported an attachment (id=168156) Imported an attachment (id=168157) Imported an attachment (id=168158)