Remove build support for HP-UX

Note: 3rd party lib support (NSS, etc.) has not been touched.
This commit is contained in:
wolfbeast 2018-04-24 20:27:06 +02:00 • committed by Roy Tam
commit 51510273b0
8 changed files with 1 additions and 86 deletions

View file

@ -43,17 +43,6 @@ endif
# Default # Default
HAVE_FREEBL_LIBS = 1 HAVE_FREEBL_LIBS = 1
# 32-bit HP-UX PA-RISC
ifeq ($(OS_ARCH), HP-UX)
ifneq ($(OS_TEST), ia64)
ifndef HAVE_64BIT_BUILD
HAVE_FREEBL_LIBS =
HAVE_FREEBL_LIBS_32INT32 = 1
HAVE_FREEBL_LIBS_32FPU = 1
endif
endif
endif
# SunOS SPARC # SunOS SPARC
ifeq ($(OS_ARCH), SunOS) ifeq ($(OS_ARCH), SunOS)
ifneq (86,$(findstring 86,$(OS_TEST))) ifneq (86,$(findstring 86,$(OS_TEST)))

View file

@ -386,26 +386,6 @@ endif
endif endif
endif endif
#
# HP-UXBeOS specific section: for COMPONENTS only, add -Bsymbolic flag
# which uses internal symbols first
#
ifeq ($(OS_ARCH),HP-UX)
ifdef IS_COMPONENT
ifeq ($(GNU_CC)$(GNU_CXX),)
EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
ifneq ($(HAS_EXTRAEXPORTS),1)
MKSHLIB += -Wl,+eNSGetModule -Wl,+eerrno
MKCSHLIB += +eNSGetModule +eerrno
ifneq ($(OS_TEST),ia64)
MKSHLIB += -Wl,+e_shlInit
MKCSHLIB += +e_shlInit
endif # !ia64
endif # !HAS_EXTRAEXPORTS
endif # non-gnu compilers
endif # IS_COMPONENT
endif # HP-UX
ifeq ($(OS_ARCH),AIX) ifeq ($(OS_ARCH),AIX)
ifdef IS_COMPONENT ifdef IS_COMPONENT
ifneq ($(HAS_EXTRAEXPORTS),1) ifneq ($(HAS_EXTRAEXPORTS),1)

View file

@ -147,13 +147,6 @@ ifeq ($(OS_ARCH),AIX)
CFLAGS += -qsuppress=1540-1281 -qsuppress=1540-1608 CFLAGS += -qsuppress=1540-1281 -qsuppress=1540-1608
CXXFLAGS += -qsuppress=1540-1281 -qsuppress=1540-1608 CXXFLAGS += -qsuppress=1540-1281 -qsuppress=1540-1608
endif endif
ifeq ($(OS_ARCH),HP-UX)
# Suppress warnings from aCC
# 3055: anonymous unions declaring types
# 4189: offsetof() on non-POD types
CFLAGS += +W3055,4189
CXXFLAGS += +W3055,4189
endif
endif endif
ifeq ($(OS_ARCH),SunOS) ifeq ($(OS_ARCH),SunOS)
ifeq ($(TARGET_CPU),sparc) ifeq ($(TARGET_CPU),sparc)

View file

@ -160,10 +160,6 @@
# if defined(__64BIT__) # if defined(__64BIT__)
# define JS_64BIT # define JS_64BIT
# endif # endif
#elif defined(__HP_cc) || defined(__HP_aCC) /* HP-UX cc/aCC */
# if defined(__LP64__)
# define JS_64BIT
# endif
#else #else
# error "Implement me" # error "Implement me"
#endif #endif

View file

@ -708,7 +708,7 @@ if CONFIG['_MSC_VER']:
CXXFLAGS += ['-wd4577'] CXXFLAGS += ['-wd4577']
CXXFLAGS += ['-wd4312'] CXXFLAGS += ['-wd4312']
if CONFIG['OS_ARCH'] not in ('WINNT', 'HP-UX'): if CONFIG['OS_ARCH'] not in ('WINNT'):
OS_LIBS += [ OS_LIBS += [
'm', 'm',
] ]

View file

@ -6,17 +6,6 @@
###################################################################### ######################################################################
# HPPA # HPPA
###################################################################### ######################################################################
#
# HP-UX/PA32
#
# for gas and gcc, check comment in xptcinvoke_asm_pa32.s
ifeq ($(OS_ARCH),HP-UX)
ifneq ($(CC),gcc)
# #18875 Building the CPP's (CXX) optimized causes a crash
CXXFLAGS := $(filter-out $(MOZ_OPTIMIZE_FLAGS), $(CXXFLAGS))
endif
endif
# #
# Linux/HPPA/gcc # Linux/HPPA/gcc
# #

View file

@ -108,23 +108,6 @@ if CONFIG['CPU_ARCH'] == 'arm' and CONFIG['OS_ARCH'] in ('Bitrig', 'OpenBSD'):
'xptcstubs_arm_openbsd.cpp', 'xptcstubs_arm_openbsd.cpp',
] ]
if CONFIG['OS_ARCH'] == 'HP-UX':
if CONFIG['CC'] != 'gcc':
if CONFIG['OS_TEST'] == 'ia64':
SOURCES += [
'xptcinvoke_asm_ipf32.s',
'xptcinvoke_ipf32.cpp',
'xptcstubs_asm_ipf32.s',
'xptcstubs_ipf32.cpp',
]
else:
SOURCES += [
'xptcinvoke_asm_pa32.s',
'xptcinvoke_pa32.cpp',
'xptcstubs_asm_pa32.s',
'xptcstubs_pa32.cpp'
]
if CONFIG['OS_ARCH'] == 'Linux': if CONFIG['OS_ARCH'] == 'Linux':
if CONFIG['OS_TEST'] in ('hppa', 'hppa2.0', 'hppa1.1'): if CONFIG['OS_TEST'] in ('hppa', 'hppa2.0', 'hppa1.1'):
if CONFIG['GNU_CXX']: if CONFIG['GNU_CXX']:

View file

@ -253,21 +253,6 @@ The word I hear is that this is working and done
</TD> </TD>
</TR> </TR>
<TR>
<TD bgcolor="green"><font color="white"><b>Done</b></font></TD>
<TD>HP-UX</TD>
<TD>
<img alt="Contributed code!" title="Contributed code!" src="http://tinderbox.mozilla.org/star.gif">
<a href="mailto:wang@cup.hp.com">Thomas Wang &lt;wang@cup.hp.com&gt;</a><BR>
<img alt="Contributed code!" title="Contributed code!" src="http://tinderbox.mozilla.org/star.gif">
<a href="mailto:mgleeson1@netscape.com">Mike Gleeson &lt;mgleeson1@netscape.com&gt;</a>
</TD>
<TD>I hear that this code is checked in and working. Though, there is some
doubt - see bug
#<a href="http://bugzilla.mozilla.org/show_bug.cgi?id=17997">17997</a>
</TD>
</TR>
<TR> <TR>
<TD bgcolor="green"><font color="white"><b>Done</b></font></TD> <TD bgcolor="green"><font color="white"><b>Done</b></font></TD>
<TD>AIX PPC</TD> <TD>AIX PPC</TD>