Bug 26939 - Mono 3.12 build error on CentOS 5.11
Summary: Mono 3.12 build error on CentOS 5.11
Alias: None
Product: Runtime
Classification: Mono
Component: JIT ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-02-10 20:17 UTC by aquila
Modified: 2017-07-12 23:09 UTC (History)
6 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description aquila 2015-02-10 20:17:16 UTC
make mono3.12.0 on CentOS5.11

make  all-am
make[4]: Entering directory `/root/mono-3.12.0/mono/mini'
  CCLD     libmonoboehm-2.0.la
/usr/bin/ld: ./.libs/libmini.a(libmini_la-mini.o): relocation R_X86_64_PC32 against `mono_cross_helpers_run' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[4]: *** [libmonoboehm-2.0.la] Error 1
make[4]: Leaving directory `/root/mono-3.12.0/mono/mini'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/mono-3.12.0/mono/mini'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/mono-3.12.0/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mono-3.12.0'
make: *** [all] Error 2
Comment 1 Rodrigo Kumpera 2015-04-02 14:36:41 UTC
What configure flags / CFLAGS are you using?
Comment 2 fabricioncosta 2015-09-08 13:34:44 UTC
I have the same problem. I did not use any especial cflags. I just typed:

./configure --prefix= /home/user/mono --enable-nls=no
Comment 3 Ludovic Henry 2017-07-12 23:09:56 UTC
Can you still reproduce with latest version of mono? If you can, please reopen. Thank you