Bugzilla – Bug 322995
Mono does not build with HP-UX on ia64 with gcc
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by warren@warrenandrachel.com 2006-12-18 12:41:33 MST ---- Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: ./configure fails when building mono on ia64 with gcc: Steps to reproduce the problem: 1. run ./configure 2. 3. Actual Results: checking for C compiler default output file name... configure: error: C compiler cannot create executables Expected Results: ok How often does this happen? Every time Additional Information: The +ESdbgasm flag only applies to non-gcc compilers on risc systems. GNU ld cannot use the -z flag like builtin ld. *** ./configure.in Wed Dec 6 12:01:40 2006 --- ../../mono-1.2.2.1/configure.in Mon Dec 18 10:19:22 2006 *************** *** 190,197 **** *-*-hpux*) platform_win32=no CPPFLAGS="$CPPFLAGS -DGC_HPUX_THREADS -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_REENTRANT" ! CFLAGS="$CFLAGS +ESdbgasm" ! LDFLAGS="$LDFLAGS -z" libmono_cflags="-D_REENTRANT" libmono_ldflags="-lpthread" libgc_threads=pthreads --- 190,203 ---- *-*-hpux*) platform_win32=no CPPFLAGS="$CPPFLAGS -DGC_HPUX_THREADS -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_REENTRANT" ! # +ESdbgasm only valid on bundled cc on RISC ! # silently ignored for ia64 ! if test $GCC != "yes"; then ! CFLAGS="$CFLAGS +ESdbgasm" ! # Arrange for run-time dereferencing of null ! # pointers to produce a SIGSEGV signal. ! LDFLAGS="$LDFLAGS -z" ! fi libmono_cflags="-D_REENTRANT" libmono_ldflags="-lpthread" libgc_threads=pthreads ---- Additional Comments From lupus@ximian.com 2006-12-18 13:42:46 MST ---- Thanks, fixed in svn. Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>HP-UX ia64</cf_op_sys_details>