To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=84583


User sparcmoz changed the following:

                What    |Old value                 |New value
================================================================================
               Component|porting                   |external
--------------------------------------------------------------------------------
              QA contact|[EMAIL PROTECTED]            |[EMAIL PROTECTED]
--------------------------------------------------------------------------------
                Platform|Sun                       |All
--------------------------------------------------------------------------------
                 Summary|openssl: unrecognized comm|openssl: lost definition o
                        |and line option -mv8      |f GGCVER
--------------------------------------------------------------------------------
            Subcomponent|code                      |www
--------------------------------------------------------------------------------
        Target milestone|---                       |not determined
--------------------------------------------------------------------------------
                 Version|680m239                   |unspecified
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Sun Aug  3 09:48:28 +0000 
2008 -------
The openssllnx.patch breaks the build on GNU/Linux SPARC.
The problem is the patch to the config file.
The purpose of the original patch was to prevent environment CC being redefined.
But the patch also stops definition of GCCVER
As a result various platforms fallback to options for a compiler earlier than 
2.8

I noticed this on GNU/Linux SPARC because the fallback options are invalid on my
system.

The proposed patch achieves the original intention that the build environment CC
is preserved, while the openssl environment GCCVER is also preserved.

As this affects all GCC platforms, changing component and summary.

I cannot get a useful output from dmake create_patch at the moment so the
attached patch is hand-made. The following shows the changes:

--- config.orig 2008-08-03 18:26:44.000000000 +1000
+++ config.new  2008-08-03 18:23:31.000000000 +1000
@@ -401,10 +401,9 @@
 
 # figure out if gcc is available and if so we use it otherwise
 # we fallback to whatever cc does on the system
-if [ -z "$CC" ];then
-  GCCVER=`(gcc -dumpversion) 2>/dev/null`
+
+  GCCVER=`($CC -dumpversion) 2>/dev/null`
   if [ "$GCCVER" != "" ]; then
-    CC=gcc
     # then strip off whatever prefix egcs prepends the number with...
     # Hopefully, this will work for any future prefixes as well.
     GCCVER=`echo $GCCVER | LC_ALL=C sed 's/^[a-zA-Z]*\-//'`
@@ -413,9 +412,6 @@
     # major and minor version numbers.
     # peak single digit before and after first dot, e.g. 2.95.1 gives 29
     GCCVER=`echo $GCCVER | sed 's/\([0-9]\)\.\([0-9]\).*/\1\2/'`
-  else
-    CC=cc
-  fi
 fi
 GCCVER=${GCCVER:-0}
 if [ "$SYSTEM" = "HP-UX" ];then



---------------------------------------------------------------------
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to