[tools-issues] [Issue 112803] config.guess mis-guesses x86_64-apple-darwin10.4.0 (configure fails)

2010-10-06 Thread sb
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112803


User sb changed the following:

What|Old value |New value

  Status|VERIFIED  |CLOSED





--- Additional comments from s...@openoffice.org Wed Oct  6 13:24:45 + 
2010 ---
.

-
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: issues-unsubscr...@tools.openoffice.org
For additional commands, e-mail: issues-h...@tools.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[tools-issues] [Issue 112803] config.guess mis-guesses x86_64-apple-darwin10.4.0 (configure fails)

2010-07-15 Thread sb
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112803


User sb changed the following:

What|Old value |New value

  Status|RESOLVED  |VERIFIED





--- Additional comments from s...@openoffice.org Thu Jul 15 08:26:16 + 
2010 ---
.

-
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: issues-unsubscr...@tools.openoffice.org
For additional commands, e-mail: issues-h...@tools.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[tools-issues] [Issue 112803] config.guess mis-guesses x86_64-apple-darwin10.4.0 (configure fails)

2010-07-02 Thread sb
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112803


User sb changed the following:

What|Old value |New value

Target milestone|OOo 3.3   |OOo 3.4





--- Additional comments from s...@openoffice.org Fri Jul  2 14:22:17 + 
2010 ---
fixed as http://hg.services.openoffice.org/cws/sb126/rev/cadeae057b13; as no
better suggestions popped up, I stayed with my lame little patch

-
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: issues-unsubscr...@tools.openoffice.org
For additional commands, e-mail: issues-h...@tools.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[tools-issues] [Issue 112803] config.guess mis-guesses x86_64-apple-darwin10.4.0 (configure fails)

2010-07-02 Thread sb
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112803


User sb changed the following:

What|Old value |New value

  Status|STARTED   |RESOLVED

  Resolution|  |FIXED





--- Additional comments from s...@openoffice.org Fri Jul  2 14:25:46 + 
2010 ---
.

-
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: issues-unsubscr...@tools.openoffice.org
For additional commands, e-mail: issues-h...@tools.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[tools-issues] [Issue 112803] config.guess mis-guesses x86_64-apple-darwin10.4.0 (configure fails)

2010-06-30 Thread sb
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112803


User sb changed the following:

What|Old value |New value

  CC|'cloph,rene'  |'cloph,jsc,rene'

  Status|NEW   |STARTED

Target milestone|---   |OOo 3.3





--- Additional comments from s...@openoffice.org Wed Jun 30 06:46:56 + 
2010 ---
It is not my upgrading that caused the problem, but rather the recent update of
config.guess, hg changeset 13c37624fa08 kfreebsdport01: update main
config.{sub,guess}.

@jsc:  This might also be relevant for SDK, which AFAIK includes config.guess
from the OOo source tree.

-
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: issues-unsubscr...@tools.openoffice.org
For additional commands, e-mail: issues-h...@tools.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[tools-issues] [Issue 112803] config.guess mis-guesses x86_64-apple-darwin10.4.0 (configure fails)

2010-06-30 Thread cloph
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112803





--- Additional comments from cl...@openoffice.org Wed Jun 30 08:50:40 + 
2010 ---
Probably a combination of both (XCode update and code-changes) - the MacIntel 
bot (runs Mac OSX server 10.6.x) doesn't hit that problem.
$ sw_vers
ProductName:Mac OS X Server
ProductVersion: 10.6.4
BuildVersion:   10F569
$ uname -p
i386
xcode is 3.2.1 (xcode321_10m2003_developerdvd.dmg) here.

Setting platform independent values... Setting Mac OS X/Darwin specific 
values... Setting values for Mac OS X/Darwin on x86... done

No matter how it is solved: Make sure that using ccache will still work. i.e. 
also with using the symlink approach (having ~/bin:$PATH and symlinks gcc-* → 
ccache) 

-
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: issues-unsubscr...@tools.openoffice.org
For additional commands, e-mail: issues-h...@tools.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[tools-issues] [Issue 112803] config.guess mis-guesses x86_64-apple-darwin10.4.0 (configure fails)

2010-06-30 Thread rene
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112803





--- Additional comments from r...@openoffice.org Wed Jun 30 09:03:32 + 
2010 ---
interesting...

-
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: issues-unsubscr...@tools.openoffice.org
For additional commands, e-mail: issues-h...@tools.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[tools-issues] [Issue 112803] config.guess mis-guesses x86_64-apple-darwin10.4.0 (configure fails)

2010-06-30 Thread sb
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112803





--- Additional comments from s...@openoffice.org Wed Jun 30 10:58:28 + 
2010 ---
@cloph:  MacIntel buildbot has /Users/cloph/ccache_prefix/bin at the front of
PATH, where configure and config.guess apparently find a gcc that is gcc-4.0,
not gcc-4.2.

-
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: issues-unsubscr...@tools.openoffice.org
For additional commands, e-mail: issues-h...@tools.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[tools-issues] [Issue 112803] config.guess mis-guesses x86_64-apple-darwin10.4.0 (configure fails)

2010-06-29 Thread sb
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112803
 Issue #|112803
 Summary|config.guess mis-guesses x86_64-apple-darwin10.4.0 (co
|nfigure fails)
   Component|tools
 Version|DEV300m83
Platform|Macintosh
 URL|
  OS/Version|Mac OS X
  Status|NEW
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|configure
 Assigned to|sb
 Reported by|sb





--- Additional comments from s...@openoffice.org Tue Jun 29 21:26:11 + 
2010 ---
After upgrading to Mac OS X 10.6.4 and Xcode 3.2.3 (don't know which is the 
culprit, but I would 
assume Xcode), a simple configure with no additional switches no longer works:

[...]
configure: creating ./config.status
config.status: creating set_soenv
config.status: creating Makefile
Setting up the environment for building OpenOffice.org 
Use of uninitialized value $OUTPATH in concatenation (.) or string at 
./set_soenv line 774.
Setting platform independent values... Setting Mac OS X/Darwin specific 
values... done
Use of uninitialized value $outfile in concatenation (.) or string at 
./set_soenv line 920.
Setting the environment variables... done
Setting the aliases... done
Use of uninitialized value $outfile in concatenation (.) or string at 
./set_soenv line 1514.
Use of uninitialized value $outfile in concatenation (.) or string at 
./set_soenv line 1514.
Cannot open : No such file or directory

The problem appears to be as follows: configure calls set_soenv, which in turn 
calls config.guess, which 
guesses CC_FOR_BUILD to be in-PATH gcc = /usr/bin/gcc-4.2, and then calls 
$CC_FOR_BUILD -E on

  #ifdef __LP64__
  IS_64BIT_ARCH
  #endif

to determine whether the architecture is actually x86_64 rather than i386 as 
reported by uname -p.  
Now, on my updated machine, __LP64__ is now defined for plain /usr/bin/gcc-4.2 
(while it still is not 
defined for /usr/bin/gcc-4.0), so config.guess reports 
x86_64-apple-darwin10.4.0 (instead of i386-
apple-darwin10.4.0), which in turn setso_env does not know how to handle.

A plain configure on Mac OS X actually sets CC=/usr/bin/gcc-4.0 (and puts that 
into 
MacOSXX86Env.Set.sh), but does not export it when calling 
set_soenv/config.guess.  So, a quick fix is

---8---
diff --git a/configure.in b/configure.in
--- a/configure.in
+++ b/configure.in
@@ -1452,7 +1452,7 @@
fi
if test $_os = Darwin -a $GCCVER -ge 040100 ; then
   if test -z $save_CC -a -x $GCC_HOME/bin/gcc-4.0 ; then
- CC=$GCC_HOME/bin/gcc-4.0
+ export CC=$GCC_HOME/bin/gcc-4.0
  GCCVER2=`$CC -dumpversion | $AWK -F. '{ print \$1*1+\$2*100+\$3 
}'`
  if test $GCCVER2 -ge 04 -a $GCCVER2 -lt 040100 ; then
 GCCVER=$GCCVER2
---8---

but I wonder whether it would not be better to generally export CC into 
set_soenv/config.guess, so that 
it does not potentially mis-guess its CC_FOR_BUILD on any platform.

-
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: issues-unsubscr...@tools.openoffice.org
For additional commands, e-mail: issues-h...@tools.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org