Bug 322995 (MONO80304) - Mono does not build with HP-UX on ia64 with gcc
Summary: Mono does not build with HP-UX on ia64 with gcc
Status: RESOLVED FIXED
Alias: MONO80304
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: 1.2
Hardware: Other HP-UX
: P3 - Medium : Enhancement
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords: build
Depends on:
Blocks:
 
Reported: 2006-12-18 19:41 UTC by Warren Smith
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 20:20:10 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>