Closed Bug 525290 Opened 16 years ago Closed 16 years ago

Compiler crash on AIX in nsHTMLLinkElement.o

Categories

(Core :: DOM: HTML Parser, defect)

1.9.1 Branch
PowerPC
AIX
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ul-mcamafia, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; AIX 5.1; en-US; rv:1.8.1.23) Gecko/20091019 SeaMonkey/1.1.18 Build Identifier: FIREFOX 3.5.4 or SEAMONKEY 2.0 xlC_r -qlanglvl=extended -qobjmodel=ibm -qeh -o nsHTMLLinkElement.o -c -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DOSTYPE=\"AIX5.1\" -DOSARCH=AIX -D_IMPL_NS_LAYOUT -I/home/ulink/Src/mozilla-1.9.1/content/html/content/src -I. -I../../../../dist/include/xpcom -I../../../../dist/include/string -I../../../../dist/include/gfx -I../../../../dist/include/thebes -I../../../../dist/include/layout -I../../../../dist/include/widget -I../../../../dist/include/dom -I../../../../dist/include/js -I../../../../dist/include/locale -I../../../../dist/include/unicharutil -I../../../../dist/include/webshell -I../../../../dist/include/uriloader -I../../../../dist/include/htmlparser -I../../../../dist/include/necko -I../../../../dist/include/view -I../../../../dist/include/pref -I../../../../dist/include/docshell -I../../../../dist/include/xpconnect -I../../../../dist/include/xuldoc -I../../../../dist/include/caps -I../../../../dist/include/editor -I../../../../dist/include/imglib2 -I../../../../dist/include/mimetype -I../../../../dist/include/exthandler -I../../../../dist/include/chardet -I../../../../dist/include/uconv -I../../../../dist/include/intl -I../../../../dist/include/plugin -I../../../../dist/include -I../../../../dist/include/content -I/home/ulink/Src/AIX-51/fx35-dbg/dist/include/nspr -I/home/ulink/Src/AIX-51/fx35-dbg/dist/sdk/include -I/home/ulink/Src/mozilla-1.9.1/content/html/content/src/../../../base/src -I/home/ulink/Src/mozilla-1.9.1/content/html/content/src/../../../events/src -I/home/ulink/Src/mozilla-1.9.1/content/html/content/src/../../../xbl/src -I/home/ulink/Src/mozilla-1.9.1/content/html/content/src/../../../../layout/style -I/home/ulink/Src/mozilla-1.9.1/content/html/content/src/../../../../layout/tables -I/home/ulink/Src/mozilla-1.9.1/content/html/content/src/../../../../dom/base -I/home/ulink/Src/mozilla-1.9.1/content/html/content/src/../../../../dom/src/base -I/home/ulink/Src/mozilla-1.9.1/content/html/content/src -qflag=w:w -DDEBUG -D_DEBUG -DDEBUG_ulink -DTRACING -g -DHAVE_64BIT_OS=1 -DMOZILLA_VERSION=\"1.9.1.4\" -DMOZILLA_VERSION_U=1.9.1.4 -DAIX=1 -DHAVE_SYS_INTTYPES_H=1 -DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_INT64=1 -DHAVE_UINT=1 -DHAVE_UINT_T=1 -DHAVE_UINT16_T=1 -DHAVE_DIRENT_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_LIBC_R=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DHAVE_LIBC_R=1 -DFUNCPROTO=15 -DHAVE_XSHM=1 -DHAVE_FT_BITMAP_SIZE_Y_PPEM=1 -DHAVE_FT_GLYPHSLOT_EMBOLDEN=1 -DHAVE_FT_LOAD_SFNT_TABLE=1 -DHAVE_ARM_SIMD=1 -D_REENTRANT=1 -DHAVE_RANDOM=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 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 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DMOZ_REFLOW_PERF=1 -DMOZ_REFLOW_PERF_DSP=1 -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT /home/ulink/Src/mozilla-1.9.1/content/html/content/src/nsHTMLLinkElement.cpp xlC_r: 1501-224 fatal error in /usr/vacpp/exe/xlCentry: signal 11 received gmake[6]: *** [nsHTMLLinkElement.o] Error 251 gmake[6]: Leaving directory `/home/ulink/Src/AIX-51/fx35-dbg/content/html/content/src' gmake[5]: *** [src_libs] Error 2 gmake[5]: Leaving directory `/home/ulink/Src/AIX-51/fx35-dbg/content/html/content' gmake[4]: *** [content_libs] Error 2 gmake[4]: Leaving directory `/home/ulink/Src/AIX-51/fx35-dbg/content/html' gmake[3]: *** [html_libs] Error 2 gmake[3]: Leaving directory `/home/ulink/Src/AIX-51/fx35-dbg/content' gmake[2]: *** [libs_tier_gecko] Error 2 gmake[2]: Leaving directory `/home/ulink/Src/AIX-51/fx35-dbg' gmake[1]: *** [tier_gecko] Error 2 gmake[1]: Leaving directory `/home/ulink/Src/AIX-51/fx35-dbg' gmake: *** [default] Error 2 Reproducible: Always Steps to Reproduce: 1. Compile on AIX 5.1 with VisualAge 6.0 or XLC/C++ 7.0 with latest fixes 2. 3. Actual Results: internal compiler error Expected Results: successfull compilation when enabling C++ exceptions with the xlC_r -qeh flag the compiler error occurs. Regardless of optimizing or non-optimized debug both 32bit and 64bit mode. The Source code of Firefox 3.0.15 compiles and links with same flags. The compiler error does NOT occur without enabling C++ exception handling.
@ Shailen: Can you verify with XLC/C++ v9 ?
Version: unspecified → 1.9.1 Branch
ULi : I did not face this issue with XLC/C++ V9. Sometime back I was using XLC/C++ v8 and I dont remember coming across this issue with compiler version 8 as well.
XLC/C++ v9 dropped support for AIX 5.1 which implies losing all PreP and rs6000 architecture machines forever. That's why I want a 32bit build on AIX 5.1 which will nicely work on all recent machines and O/S levels today, just like my Firefox/Thunderbird and Seamonkey builds did for the last 5 Years. It also happened with XLC/C++ v8 with the very latest fixes. It also happened with VACPP 6.0 with latest fix set. Possibly this error wasn't triggered by earlier revisions of the source file. My Google research revealed that MySQL developers worked around the same error message by simply shuffling some functions back or forth. I tried too without luck after raising ulimit for the data segment size. There is nothing looking unfamiliar in the relevant source here. The compiler doc for V7 does NOT state if -qeh is the default or -qnoeh. Since it makes a difference I bet the default is -qnoeh VACPP 6 defaulted to -qnoeh. For V8 -qeh=v5 is the default used, so you don't need to enable it. Possible options are -qnoeh, -qeh (== -qeh=v5) or -qeh=v6. There are also some minor difference when compiling on different levels of AIX. AIX 5.2 default to -qweaksymbol, AIX 5.1 defaults to -qnoweaksymbol.
Update: The internal compiler bug is triggered when both flags are configured together: -qobjmodel=ibm -qeh It does not matter which compiler level of exception handling is choosed (default v5 or v6). Not configuring -qobjmodel=ibm will result in a performance loss, which cannot quantified yet, as there are no stable optimized builds of Mozilla 1.9.1 or later available for AIX 5 by now. So the show can go on...
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.