Open
Bug 285298
Opened 20 years ago
Updated 2 years ago
unrecognized .LEVEL argument while building mozilla suite
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: majorleap, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; HP-UX 9000/785; en-US; rv:1.7) Gecko/20040617 Build Identifier: http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0.1/source/ gmake[7]: Entering directory `/home/msg/download/mozilla/suite-opt/nsprpub/pr/src/md/unix' gcc -o os_HPUX.o -O -fPIC -UDEBUG -DMOZILLA_CLIENT=1 -DNDEBUG=1 -DXP_UNIX=1 -DHPUX=1 -D_HPUX_SOURCE=1 -Dhppa=1 -D_PR_POLL_s /home/msg/download/mozilla/nsprpub/pr/src/md/unix/os_HPUX.s: Assembler messages: /home/msg/download/mozilla/nsprpub/pr/src/md/unix/os_HPUX.s:35: Error: Unrecognized .LEVEL argument /home/msg/download/mozilla/nsprpub/pr/src/md/unix/os_HPUX.s:35: Error: Rest of line ignored. First ignored character is `2'. /home/msg/download/mozilla/nsprpub/pr/src/md/unix/os_HPUX.s:47: Internal error, aborting at ./config/tc-hppa.c line 4503 Please report this bug. gmake[7]: *** [os_HPUX.o] Error 1 gmake[7]: Leaving directory `/home/msg/download/mozilla/suite-opt/nsprpub/pr/src/md/unix' gmake[6]: *** [export] Error 2 gmake[6]: Leaving directory `/home/msg/download/mozilla/suite-opt/nsprpub/pr/src/md' gmake[5]: *** [export] Error 2 gmake[5]: Leaving directory `/home/msg/download/mozilla/suite-opt/nsprpub/pr/src' gmake[4]: *** [export] Error 2 gmake[4]: Leaving directory `/home/msg/download/mozilla/suite-opt/nsprpub/pr' gmake[3]: *** [export] Error 2 gmake[3]: Leaving directory `/home/msg/download/mozilla/suite-opt/nsprpub' gmake[2]: *** [nspr] Error 2 gmake[2]: Leaving directory `/home/msg/download/mozilla/suite-opt' gmake[1]: *** [default] Error 2 gmake[1]: Leaving directory `/home/msg/download/mozilla/suite-opt' gmake: *** [build] Error 2 Reproducible: Always Steps to Reproduce: 1. cd /home/msg/download/mozilla/ 2. gmake -f client.mk build 2>&1 | tee build.log Actual Results: see detao;s Expected Results: buildl an executable Adding configure options from ./.mozconfig: --enable-application=suite --enable-optimize --disable-debug loading cache ./config.cache checking host system type... hppa2.0w-hp-hpux11.00 checking target system type... hppa2.0w-hp-hpux11.00 checking build system type... hppa2.0w-hp-hpux11.00 checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for c++... (cached) g++ checking whether the C++ compiler (g++ ) works... yes checking whether the C++ compiler (g++ ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether g++ accepts -g... (cached) yes checking for ranlib... (cached) ranlib checking for as... (cached) /usr/ccs/bin/as checking for ar... (cached) ar checking for ld... (cached) ld checking for strip... (cached) strip checking for windres... no checking for gawk... (cached) gawk checking whether gcc and cc understand -c and -o together... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking how to run the C++ preprocessor... (cached) g++ -E checking for a BSD compatible install... (cached) /opt/local/bin/install -c checking whether ln -s works... (cached) yes checking for perl5... (cached) /usr/local/bin/perl5 checking for minimum required perl version >= 5.004... 5.006001 checking for full perl installation... yes checking for doxygen... (cached) : checking for whoami... (cached) /opt/local/bin/whoami checking for autoconf... (cached) /usr/bin/autoconf checking for unzip... (cached) /usr/bin/unzip checking for zip... (cached) /usr/bin/zip checking for makedepend... (cached) /opt/imake/bin/makedepend checking for xargs... (cached) /opt/local/bin/xargs checking for gmake... (cached) /usr/local/bin/gmake checking for X... (cached) libraries , headers checking for dnet_ntoa in -ldnet... (cached) no checking for dnet_ntoa in -ldnet_stub... (cached) no checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking whether ld has archive extraction flags... (cached) no checking for 64-bit OS... no checking for ANSI C header files... (cached) yes checking for working const... (cached) yes checking for mode_t... (cached) yes checking for off_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking for st_blksize in struct stat... (cached) yes checking for siginfo_t... (cached) yes checking for int16_t... (cached) yes checking for int32_t... (cached) yes checking for int64_t... (cached) yes checking for int64... (cached) no checking for uint... (cached) yes checking for uint_t... (cached) no checking for uint16_t... (cached) yes checking for uname.domainname... (cached) no checking for uname.__domainname... (cached) no checking for usable wchar_t (2 bytes, unsigned)... (cached) no checking for compiler -fshort-wchar option... (cached) no checking for .hidden assembler directive... (cached) no checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for sys/byteorder.h... (cached) yes checking for compat.h... (cached) yes checking for getopt.h... (cached) no checking for sys/bitypes.h... (cached) no checking for memory.h... (cached) yes checking for unistd.h... (cached) yes checking for gnu/libc-version.h... (cached) no checking for nl_types.h... (cached) yes checking for malloc.h... (cached) yes checking for X11/XKBlib.h... (cached) yes checking for sys/statvfs.h... (cached) yes checking for sys/statfs.h... (cached) no checking for sys/vfs.h... (cached) yes checking for sys/mount.h... (cached) yes checking for mmintrin.h... (cached) no checking for new... (cached) yes checking for sys/cdefs.h... (cached) yes checking for atan in -lm... (cached) yes checking for dlopen in -ldl... (cached) no checking for socket in -lsocket... (cached) no checking for XDrawLines in -lX11... (cached) yes checking for XextAddDisplay in -lXext... (cached) yes checking for XtFree in -lXt... (cached) yes checking for XineramaIsActive in -lXinerama... (cached) no checking for X11/extensions/Xinerama.h... (cached) no checking for XShmCreateImage in -lXext... (cached) yes checking for X11/extensions/XShm.h... (cached) yes checking for XieFloGeometry in -lXIE... (cached) yes checking for X11/extensions/XIElib.h... (cached) yes checking for freetype-config... (cached) no checking for FreeType - version >= 6.1.0... no *** The freetype-config script installed by FreeType 2 could not be found. *** If FreeType 2 was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the FT2_CONFIG environment variable to the *** full path to freetype-config. checking for pthread_create in -lpthreads... no checking for pthread_create in -lpthread... yes checking whether gcc accepts -pthread... no checking whether gcc accepts -pthreads... no checking whether mmap() sees write()s... yes checking whether gcc needs -traditional... (cached) no checking for 8-bit clean memcmp... (cached) yes checking for random... (cached) yes checking for strerror... (cached) yes checking for lchown... (cached) yes checking for fchmod... (cached) yes checking for snprintf... (cached) yes checking for statvfs... (cached) yes checking for memmove... (cached) yes checking for rint... (cached) yes checking for flockfile... (cached) yes checking for getpagesize... (cached) yes checking for localtime_r... (cached) yes checking for strtok_r... (cached) yes checking for wcrtomb... (cached) no checking for mbrtowc... (cached) no checking for res_ninit()... (cached) no checking for gnu_get_libc_version()... (cached) no checking for iconv in -lc... (cached) yes checking for iconv()... (cached) yes checking for iconv() with const input... (cached) no checking for nl_langinfo and CODESET... (cached) yes checking for an implementation of va_copy()... (cached) no checking for an implementation of __va_copy()... (cached) yes checking whether va_lists can be copied by value... (cached) yes checking for C++ exceptions flag... (cached) -fno-exceptions checking for gcc 3.0 ABI... (cached) no checking for C++ "explicit" keyword... (cached) yes checking for C++ "typename" keyword... (cached) yes checking for modern C++ template specialization syntax support... (cached) yes checking whether partial template specialization works... (cached) yes checking whether operators must be re-defined for templates derived from templates... (cached) no checking whether we need to cast a derived template to pass as its base class... (cached) no checking whether the compiler can resolve const ambiguities for templates... (cached) yes checking whether the C++ "using" keyword can change access... (cached) no checking whether the C++ "using" keyword resolves ambiguity... (cached) no checking for "std::" namespace... (cached) no checking whether standard template operator!=() is ambiguous... (cached) ambiguous checking for C++ reinterpret_cast... (cached) yes checking for C++ dynamic_cast to void*... (cached) yes checking whether C++ requires implementation of unused virtual methods... (cached) yes checking for trouble comparing to zero near std::operator!=()... (cached) yes checking for LC_MESSAGES... (cached) yes checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.2.0... yes checking for XpGetPrinterList in -lXp... (cached) yes configure: warning: Cannot build gnomevfs without required libraries. Removing gnomevfs from MOZ_EXTENSIONS. checking for gssapi.h... (cached) no checking for gssapi/gssapi.h... (cached) no checking for gss_init_sec_context in -lgss... (cached) no checking for gss_init_sec_context... (cached) no configure: warning: Cannot build negotiateauth without GSSAPI. Removing negotatiate from MOZ_EXTENSIONS. checking for valid optimization flags... yes checking for __cxa_demangle... (cached) no checking for gcc -pipe support... no checking whether compiler supports -Wno-long-long... yes checking whether C compiler supports -fprofile-generate... no checking whether C compiler supports -fprofile-arcs... yes checking whether C++ compiler has -pedantic long long bug... no checking for correct temporary object destruction order... yes checking for correct overload resolution with const and templates... no checking for glib-config... /usr/bin/glib-config checking for GLIB - version >= 1.2.0... yes checking for libIDL-config... /usr/local/bin/libIDL-config checking for libIDL - version >= 0.6.3... yes creating ./config.status creating config/autoconf.mk creating config/doxygen.cfg creating xpfe/global/buildconfig.html creating gfx/gfx-config.h gfx/gfx-config.h is unchanged creating netwerk/necko-config.h netwerk/necko-config.h is unchanged creating xpcom/xpcom-config.h xpcom/xpcom-config.h is unchanged creating xpcom/xpcom-private.h xpcom/xpcom-private.h is unchanged configuring in nsprpub running /bin/sh ./configure --enable-application=suite --enable-optimize --disable-debug --with-dist-prefix=/home/msg/download/mozilla/dist --with-mozilla --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking host system type... hppa2.0w-hp-hpux11.00 checking target system type... hppa2.0w-hp-hpux11.00 checking build system type... hppa2.0w-hp-hpux11.00 checking for whoami... (cached) /opt/local/bin/whoami checking for c++... (cached) g++ checking whether the C++ compiler (g++ ) works... yes checking whether the C++ compiler (g++ ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether g++ accepts -g... (cached) yes checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for ranlib... (cached) ranlib checking for as... (cached) /usr/ccs/bin/as checking for ar... (cached) /usr/bin/ar checking for ld... (cached) /usr/bin/ld checking for strip... (cached) /usr/bin/strip checking for windres... no checking for gcc -pipe support... no checking for perl5... (cached) /usr/local/bin/perl5 checking for dlopen in -ldl... (cached) no checking whether gcc needs -traditional... (cached) no checking for lchown... (cached) yes checking for strerror... (cached) yes checking for pthread_create in -lpthreads... no checking for pthread_create in -lpthread... yes checking whether gcc accepts -pthread... no checking whether gcc accepts -pthreads... no creating ./config.status creating Makefile creating config/Makefile creating config/autoconf.mk creating config/nsprincl.mk creating config/nsprincl.sh creating config/nspr-config creating lib/Makefile creating lib/ds/Makefile creating lib/libc/Makefile creating lib/libc/include/Makefile creating lib/libc/src/Makefile creating lib/tests/Makefile creating pkg/Makefile creating pkg/linux/Makefile creating pkg/solaris/Makefile creating pkg/solaris/SUNWpr/Makefile creating pkg/solaris/SUNWprx/Makefile creating pr/Makefile creating pr/include/Makefile creating pr/include/md/Makefile creating pr/include/obsolete/Makefile creating pr/include/private/Makefile creating pr/src/Makefile creating pr/src/io/Makefile creating pr/src/linking/Makefile creating pr/src/malloc/Makefile creating pr/src/md/Makefile creating pr/src/md/unix/Makefile creating pr/src/memory/Makefile creating pr/src/misc/Makefile creating pr/src/threads/Makefile creating pr/tests/Makefile creating pr/tests/dll/Makefile creating pr/src/pthreads/Makefile configure: warning: Recreating autoconf.mk with updated nspr-config output configuring in directory/c-sdk running /bin/sh ./configure --enable-application=suite --enable-optimize --disable-debug --prefix=/home/msg/download/mozilla/dist --with-dist-prefix=/home/msg/download/mozilla/dist --without-nss --with-mozilla --cache-file=../.././config.cache --srcdir=. loading cache ../.././config.cache checking host system type... hppa2.0w-hp-hpux11.00 checking target system type... hppa2.0w-hp-hpux11.00 checking build system type... hppa2.0w-hp-hpux11.00 checking for nspr-config... no checking for NSPR - version >= 4.0.0 (skipping)... no checking for whoami... (cached) /opt/local/bin/whoami checking for c++... (cached) g++ checking whether the C++ compiler (g++ ) works... yes checking whether the C++ compiler (g++ ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether g++ accepts -g... (cached) yes checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for ranlib... (cached) ranlib checking for as... (cached) /usr/ccs/bin/as checking for ar... (cached) /usr/bin/ar checking for ld... (cached) /usr/bin/ld checking for strip... (cached) /usr/bin/strip checking for windres... no checking for gcc -pipe support... no checking for perl5... (cached) /usr/local/bin/perl5 checking for dlopen... (cached) yes checking whether gcc needs -traditional... (cached) no checking for lchown... (cached) yes checking for strerror... (cached) yes checking for pthread_create in -lpthreads... no checking for pthread_create in -lpthread... yes checking whether gcc accepts -pthread... no checking whether gcc accepts -pthreads... no creating ./config.status creating Makefile creating config/Makefile creating config/autoconf.mk creating ldap/Makefile creating ldap/build/Makefile creating ldap/clients/tools/Makefile creating ldap/include/Makefile creating ldap/libraries/Makefile creating ldap/libraries/libldap/Makefile creating ldap/libraries/libprldap/Makefile creating ldap/libraries/libldif/Makefile creating ldap/libraries/liblber/Makefile creating ldap/libraries/libiutil/Makefile creating ldap/libraries/libssldap/Makefile
Updated•20 years ago
|
Assignee: chase → wtchang
Component: Build Config → NSPR
Product: Mozilla Application Suite → NSPR
QA Contact: build-config → wtchang
Version: unspecified → other
Comment 1•20 years ago
|
||
We haven't built with gcc for a long time.
Unfortunately I don't have access to an HP-UX
machine any more, so I probably won't be able
to help much.
In this particular case, we don't need that
assembly file, so you can work around this
as follows:
1. Edit mozilla/nsprpub/configure, and add
a "#" before the line:
PR_MD_ASFILES=os_HPUX.s
to comment it out.
2. Edit mozilla/nsprpub/pr/src/md/unix/uxrng.c.
Replace the line
cr16val = ret_cr16();
by
cr16val = 0;
This should get you past this problem, but I am
sure you will run into other build problems. In
particular, NSS (mozilla/security/nss) has several
assembly files that are really being used.
Possible solutions include:
1. Figure out how to enable gcc to assemble
os_HPUX.s. This may require adding a gcc
version of that assembly code.
2. Figure out how to use /usr/ccs/bin/as to
assemble os_HPUX.s. This requires setting
the "AS" variable appropriately in
mozilla/nsprpub/configure.in.
I regret that I won't be able to implement
either of these solutions.Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•18 years ago
|
QA Contact: wtchang → nspr
Updated•2 years ago
|
Severity: normal → S3
Comment 2•2 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Assignee: wtc → nobody
You need to log in
before you can comment on or make changes to this bug.
Description
•