Issue 16414 - 11rc: solenv update for dylib-link-list + gcc 3.3
Summary: 11rc: solenv update for dylib-link-list + gcc 3.3
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: OOo 1.1 RC
Assignee: fa
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks: 16413
  Show dependency tree
 
Reported: 2003-07-03 17:46 UTC by fa
Modified: 2004-02-15 07:31 UTC (History)
3 users (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
cd to solenv, patch -p0 < /path/to/patchfile (61.88 KB, patch)
2003-07-03 17:47 UTC, fa
no flags Details | Diff
cd solenv/, patch -p0 < /path/to/patchfile SUPERCEDES previous patch. Removes -traditional-cpp flag (62.75 KB, patch)
2003-07-03 20:41 UTC, fa
no flags Details | Diff
cd to solenv, patch -p0 < /path/to/patchfile REPLACES all previous solenv patches (69.26 KB, patch)
2003-07-07 19:54 UTC, fa
no flags Details | Diff
cd to solenv, patch -p0 < /path/to/patchfile REPLACES all previous patches. Adds -framework System to link line cause c++ doesn't (69.28 KB, patch)
2003-07-07 20:03 UTC, fa
no flags Details | Diff
cd to solenv, patch -p0 < /path/to/patchfile SUPERCEDES all previous solenv.xxxx.11rc patches (69.53 KB, patch)
2003-07-09 16:13 UTC, fa
no flags Details | Diff
cd to solenv, patch -p0 < /path/to/patchfile SUPERCEDES previous patches. Updates dylib-link-list to add libs from project lib dir (70.17 KB, patch)
2003-07-11 16:04 UTC, fa
no flags Details | Diff
SUPERCEDES previous patches. Adds ranlib for static libraries and updates deliver.pl for LINKLIB dylib support. (75.63 KB, patch)
2003-07-14 20:55 UTC, fa
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description fa 2003-07-03 17:46:37 UTC
solenv requires changes to use the dylib-link-list script.   Also needs conditionalization for the 
gcc 2.95 static template data workarounds so that they only get executed for gcc 2.95.

Dan
Comment 1 fa 2003-07-03 17:47:57 UTC
Created attachment 7379 [details]
cd to solenv, patch -p0 < /path/to/patchfile
Comment 2 fa 2003-07-03 20:41:34 UTC
Created attachment 7391 [details]
cd solenv/, patch -p0 < /path/to/patchfile   SUPERCEDES previous patch.  Removes -traditional-cpp flag
Comment 3 fa 2003-07-03 20:44:17 UTC
The 070303-2 patch SUPERCEDES the prevous patch.  The meaning of -traditional-
cpp changed between 2.95 and 3.3 for Apple's compiler, and now with 3.3 we 
shouldn't use this flag.
Comment 4 Martin Hollmichel 2003-07-04 07:54:09 UTC
set target milestone
Comment 5 fa 2003-07-07 19:54:32 UTC
Created attachment 7466 [details]
cd to solenv, patch -p0 < /path/to/patchfile  REPLACES all previous solenv patches
Comment 6 fa 2003-07-07 19:55:20 UTC
The 070703 patch SUPERCEDES all previous patches and requires a clean checkout of 
solenv for cws_srx645_ooo11rc

Dan
Comment 7 fa 2003-07-07 20:03:37 UTC
Created attachment 7467 [details]
cd to solenv, patch -p0 < /path/to/patchfile   REPLACES all previous patches.  Adds -framework System to link line cause c++ doesn't
Comment 8 fa 2003-07-09 16:13:03 UTC
Created attachment 7507 [details]
cd to solenv, patch -p0 < /path/to/patchfile  SUPERCEDES all previous solenv.xxxx.11rc patches
Comment 9 khendricks 2003-07-10 16:05:01 UTC
Hi Dan,

Okay I looked at this last patch (070903) and it all looks 
MacOSX specific and fine except for the changes to tg_zip.mk
and _tg_zip.mk which affect all unx platforms and  I am not sure 
I understand.

So I approve all of the changes except for _tg_zip.mk and tg_zip.mk
for committing to 1.1 once it re-opens.

Can you explain why the *zip.mk changes do?

I will then try them on my ppc Linux build to make sure
they are okay.

Thanks,

Kevin


Comment 10 fa 2003-07-10 16:24:42 UTC
The problem with _tg_zip.mk is here:

zip1langdirs:=$(shell +find {$(subst,$/$(LANGDIR), $(null,$(ZIP1DIR) . $(ZIP1DIR)))}/ -
type d ! -name CVS ! -name "." | sed "s/\.\///" )

When the find is executed, we get:

[Jade:helpcontent/unx/swriter] dan% find ./ -type d ! -name CVS ! -name "." | sed "s/
\.\///"

/english_us
/english_us/swriter.idx

And without the sed:

[Jade:helpcontent/unx/swriter] dan% find ./ -type d ! -name CVS ! -name "."
./
.//english_us
.//english_us/swriter.idx

So the line

zip1alllangext:=$(foreach,i,$(alllangext) $(foreach,j,$(zip1langdirs) 
$(eq,$(longlang_$i),$j $i $(NULL))))

never equates zip1langdirs with longlang_* because there's the / in front.  This 
clobbers any language dependent zip stuff.  The solution is to filter out _both_ ./ and 
.// with sed.

Dan
Comment 11 khendricks 2003-07-10 17:33:00 UTC
Hi,

Thanks for the xplanation.

Fully approved.

Kevin
Comment 12 fa 2003-07-11 16:04:45 UTC
Created attachment 7589 [details]
cd to solenv, patch -p0 < /path/to/patchfile   SUPERCEDES previous  patches.  Updates dylib-link-list to add libs from project lib dir
Comment 13 fa 2003-07-14 20:55:53 UTC
Created attachment 7649 [details]
SUPERCEDES previous patches.  Adds ranlib for static libraries and updates deliver.pl for LINKLIB dylib support.
Comment 14 khendricks 2003-07-15 02:03:31 UTC
Hi Dan,

Okay I examined the entire solenv patch and it looks good.

So approved!

Kevin
Comment 15 fa 2003-07-15 03:09:17 UTC
committed to cws_srx645_ooo11rc2
Comment 16 Martin Hollmichel 2004-02-15 07:28:07 UTC
verfied in 1.1.0.
Comment 17 Martin Hollmichel 2004-02-15 07:31:16 UTC
close issue