Closed Bug 577086 Opened 14 years ago Closed 7 years ago

AIX compilation error in ipc/chromium/src/base/atomicops.h

Categories

(Core :: IPC, defect, P5)

PowerPC
AIX
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: ul-mcamafia, Assigned: sehgal.himanshu01)

References

Details

Attachments

(4 files)

xlC_r -o nsXPComInit.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.2\" -DOSARCH=AIX -DEXCLUDE_SKIA_DEPENDENCIES -DCHROMIUM_MOZILLA_BUILD -DOS_LINUX=1 -DOS_POSIX=1 -D_IMPL_NS_COM -D_IMPL_NS_STRINGAPI -DEXPORT_XPT_API -DEXPORT_XPTC_API -DTARGET_XPCOM_ABI=\"ppc-ibmc\" -I/home/ulink/src/mozilla-1.9.2/xpcom/build -I.. -I/home/ulink/src/mozilla-1.9.2/xpcom/build/../glue -I/home/ulink/src/mozilla-1.9.2/xpcom/build/../base -I/home/ulink/src/mozilla-1.9.2/xpcom/build/../ds -I/home/ulink/src/mozilla-1.9.2/xpcom/build/../io -I/home/ulink/src/mozilla-1.9.2/xpcom/build/../components -I/home/ulink/src/mozilla-1.9.2/xpcom/build/../threads -I/home/ulink/src/mozilla-1.9.2/xpcom/build/../threads/_xpidlgen -I/home/ulink/src/mozilla-1.9.2/xpcom/build/../proxy/src -I/home/ulink/src/mozilla-1.9.2/xpcom/build/../reflect/xptinfo/src -I/home/ulink/src/mozilla-1.9.2/ipc/chromium/src -I/home/ulink/src/mozilla-1.9.2/ipc/glue -I../../ipc/ipdl/_ipdlheaders -I/home/ulink/src/mozilla-1.9.2/xpcom/build -I. -I../../dist/include -I../../dist/include/nsprpub -I/home/ulink/src/mozilla-1.9.2/obj-fx36-aix52/dist/include/nspr -I/home/ulink/src/mozilla-1.9.2/obj-fx36-aix52/dist/include/nss -qflag=w:w -DNDEBUG -DTRIMMED -I/opt/freeware/include/gtk-2.0 -I/opt/freeware/lib/gtk-2.0/include -I/opt/freeware/include/atk-1.0 -I/opt/freeware/include/cairo -I/opt/freeware/include/pango-1.0 -I/opt/freeware/include/glib-2.0 -I/opt/freeware/lib/glib-2.0/include -I/opt/freeware/include/gtk-unix-print-2.0 -O -DMOZILLA_VERSION=\"1.9.2.7\" -DMOZILLA_VERSION_U=1.9.2.7 -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_FT_SELECT_SIZE=1 -D_REENTRANT=1 -DHAVE_RANDOM=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_RINT=1 -DHAVE_STAT64=1 -DHAVE_LSTAT64=1 -DHAVE_TRUNCATE64=1 -DHAVE_SETBUF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so\" -DHAVE_FONTCONFIG_FCFREETYPE_H=1 -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT /home/ulink/src/mozilla-1.9.2/xpcom/build/nsXPComInit.cpp "/home/ulink/src/mozilla-1.9.2/ipc/chromium/src/base/atomicops.h", line 136.2: 1540-0859 (S) #error directive: "Atomic operations are not supported on your platform". "/home/ulink/src/mozilla-1.9.2/ipc/chromium/src/base/port.h", line 60.6: 1540-0859 (S) #error directive: No va_copy for your compiler. "/home/ulink/src/mozilla-1.9.2/ipc/chromium/src/build/build_config.h", line 25.2: 1540-0859 (S) #error directive: Please add support for your platform in build/build_config.h. "/home/ulink/src/mozilla-1.9.2/ipc/chromium/src/build/build_config.h", line 40.2: 1540-0859 (S) #error directive: Please add support for your compiler in build/build_config.h. "/home/ulink/src/mozilla-1.9.2/ipc/chromium/src/build/build_config.h", line 61.2: 1540-0859 (S) #error directive: Please add support for your architecture in build/build_config.h. gmake[5]: *** [nsXPComInit.o] Error 1 gmake[5]: Leaving directory `/home/ulink/src/mozilla-1.9.2/obj-fx36-aix52/xpcom/build' gmake[4]: *** [libs] Error 2 gmake[4]: Leaving directory `/home/ulink/src/mozilla-1.9.2/obj-fx36-aix52/xpcom' gmake[3]: *** [libs_tier_xpcom] Error 2 gmake[3]: Leaving directory `/home/ulink/src/mozilla-1.9.2/obj-fx36-aix52' gmake[2]: *** [tier_xpcom] Error 2 gmake[2]: Leaving directory `/home/ulink/src/mozilla-1.9.2/obj-fx36-aix52' gmake[1]: *** [default] Error 2 gmake[1]: Leaving directory `/home/ulink/src/mozilla-1.9.2/obj-fx36-aix52' gmake: *** [build] Error 2 bash-3.2$
What is the status for Solaris/SPARC ? I don't see much except x86/GCC in chromium.
Component: XPCOM → IPC
QA Contact: xpcom → ipc
We have patches to make it compile with Sun Studio on x86 and SPARC. (ipdl-tests passed on both x86 and SPARC, however, plugin container doesn't work correctly on SPARC. I'm going to fix it) The patch was not submitted to b.m.o. yet, still needs some polishing. I'm going to do so in this month. Meanwhile, you can compile Firefox with disable-ipc.
(In reply to comment #2) > We have patches to make it compile with Sun Studio on x86 and SPARC. > (ipdl-tests passed on both x86 and SPARC, however, plugin container doesn't > work correctly on SPARC. I'm going to fix it) > > The patch was not submitted to b.m.o. yet, still needs some polishing. > I'm going to do so in this month. plz cc me on the forthcoming SPARC/SunStudio porting bugs. Peeking at the Solaris port helped me quite a lot in the past. > Meanwhile, you can compile Firefox with disable-ipc. There were only two plugins on AIX: OJI Java plugin and a 32bit only AcrobatReader plugin. Without OJI since 1.9.2 there is not much left I would loose without --disable-ipc and out of process plugins on AIX.
Blocks: 618660
--disable-ipc isn't working for firefox-6.0 anymore?
Support for --disable-ipc was removed.
When can we expect --disable-ipc to be re introduced with Firefox. Without this we cannot complete Firefox-6 and above builds on AIX. Seems minimal ppc support for ipc but AIX support is completely missing for ipc (no support for AIX even with gcc). We used to build Firefox on AIX earlier with --disable-ipc but now we cannot go any further than ipc. Please suggest some way forward.
(In reply to Himanshu Sehgal from comment #6) > When can we expect --disable-ipc to be re introduced with Firefox. > Don't expect it. > Without this we cannot complete Firefox-6 and above builds on AIX. Seems > minimal ppc support for ipc but AIX support is completely missing for ipc > (no support for AIX even with gcc). We used to build Firefox on AIX earlier > with --disable-ipc but now we cannot go any further than ipc. > > Please suggest some way forward. You'll need to port the chromium lib to AIX. If you use GCC you can much more easily reuse bits from MacOSX/PPC. Take a look at what the TenFourFox guys have done. If you can and will share your local patches, I can and will help you with testing and reviewing and maybe I would do 32bit port. Firefox 10 would be a stable source base for at least one more year.
Assignee: nobody → sehgal.himanshu01
Version: 1.9.2 Branch → Trunk
No longer blocks: 618660
I am submitting my changes for the chromium port for Firefox 64bit on AIX. The changes are compiled by gcc 4.6.1 . Please review the changes.
Chromium library changes for AIX
New file with added changes for 64bit Atomic ops
Attached file New File (deleted) —
Attached file New File (deleted) —
most of the code has been used from the Linux counterpart with additional changes required for AIX. Used attachments from defect #579757 for atomic ops in ppc 32bit for chromium and have extended 64bit PPC support in the file.
Attachment #644233 - Flags: review?(jones.chris.g)
Attachment #644234 - Flags: review?(jones.chris.g)
Attachment #644235 - Flags: review?(jones.chris.g)
Attachment #644237 - Flags: review?(jones.chris.g)
Comment on attachment 644233 [details] [diff] [review] Chromium library changes for AIX Please attach the output of |hg diff| or |hg export|.
Attachment #644233 - Flags: review?(jones.chris.g)
Comment on attachment 644234 [details] Atomic ops changes extended for 64bit AIX For these too.
Attachment #644234 - Flags: review?(jones.chris.g)
I do not have access to the AIX box now, thus would not be able to provide you the hg diff .
Priority: -- → P5
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: