To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=103763
User sb changed the following:
What |Old value |New value
================================================================================
CC|'cloph,ericb,macport,maho'|'cloph,ericb,macport,maho,
| |sb'
--------------------------------------------------------------------------------
Status|VERIFIED |REOPENED
--------------------------------------------------------------------------------
Resolution|FIXED |
--------------------------------------------------------------------------------
------- Additional comments from [email protected] Thu Dec 10 14:46:36 +0000
2009 -------
@cloph: The attached 103762_moz_ub.patch (that made it into the DEV300 master)
breaks building on Mac OS X 10.6, at least on DEV300m67. What happens is the
following:
1 On Mac OS X 10.6, OOo must be built with CC set to gcc-4.0 (and CXX set to
g++-4.0), to not use the default gcc-4.2 there (see issue 106059).
2 OOo explicitly requests -isysroot /Developer/SDKs/MacOSX10.4u.sdk.
3 It appears that on Mac OS X 10.6, using gcc-4.2 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk to compile a C file that uses #include
<stdarg.h> fails, as there is only a
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin10/4.0.1/include/stdarg.h
but no
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin10/4.2.0/include/stdarg.h,
so that the "#include_next <stdarg.h>" in
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h points nowhere.
4 In moz/makefile.mk, always setting MOZ_ARCH (if GUIBASE=aqua) causes the
MOZ_CROSSCOMPILE to trigger, effectively doing a "cross compile" in every case,
and always explicitly re-setting CC (and CXX), losing the setting to gcc-4.0 as
discussed under (1), and hence causing the compile of moz to fail as soon as it
hits the first #include <stdarg.h> in the moz code base, see (3).
In short, what is the rationale behind the two lines
MOZ_ARCH=$(eq,$(CPU),I i386 ppc)
MOZILLA_CONFIGURE_FLAGS+=$(eq,$(CPU),I --target=i386-apple-darwin8
--target=powerpc-apple-darwin8)
unconditionally executed if GUIBASE=aqua? (I assume the following
zip_intel/zip_ppc/zip_universal are to build the prebuilt moz packages, so maybe
those need stuff like this.)
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]