Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - 6.4.0 / 6.4.1 / msys core 1.0.10 vs 1.0.11 make problems: (3 Items)
   
6.4.0 / 6.4.1 / msys core 1.0.10 vs 1.0.11 make problems  
topic9517: Slow rm / ls performance using 6.4.0 toolchain is loosely related.

While investigating topic9517 I discovered msysCORE-1.0.11 greatly improved
build performance on 6.4.0 and 6.4.1 when connected to a network.  

However, there are build errors when using msys1.0.11 that I need to fix.
An app that builds with 6.4.1/msys1.0.10 will not build with 6.4.1/msys1.0.11.
Looking at the output of a make -p (write to standard output the complete set 
of macro definitions and target descriptions) shows some (not all) differences:

with msys1.0.10
PRODUCT_ROOT := d:/emb/qnx630/baseline/apps/src/jenser/iopkt
common := d:/emb/qnx630/baseline/apps/src/jenser/iopkt/jenser/common.mk
CPU_ROOT := d:/emb/qnx630/baseline/apps/src/jenser/iopkt/jenser/ppc

with msys1.0.11
PRODUCT_ROOT := /d/emb/qnx630/baseline/apps/src/jenser/iopkt
common := /d/emb/qnx630/baseline/apps/src/jenser/iopkt/jenser/common.mk
CPU_ROOT := /d/emb/qnx630/baseline/apps/src/jenser/iopkt/jenser/ppc

More importantly I think the INCVPATH variables also show the missing ":" in
the drive letter portion with msys1.0.11.  All the -I parameters reflect this.

With all other things being identical, 
msys1.0.11 gives this error that msys1.0.10 does not:

make[3]: *** No rule to make target `libdrvrS.a', needed by `/d/emb/qnx630/basel
ine/apps/src/jenser/iopkt/jenser/ppc/dll-be/devnp-jenser.so'.  Stop.

I noticed that $(QNX_TARGET)/usr/include/mk/qmacros.mk has changed.  

Is there a simple fix to restore the ":" to the drive letter and perhaps fix my 
broken build?

Anyone at QNX willing to try to duplicate the msys1.0.11 build error on your apps?

I can not live with the poor network performance on msys1.0.10 but having a broken
build with msys1.0.11 is no better.
Re: 6.4.0 / 6.4.1 / msys core 1.0.10 vs 1.0.11 make problems  
Are you using make that comes with msys?

If so, please don't. Use our make.exe, and replace only msys 
dll and rm/ls.

See if that works.

There are known issues with our make.exe that we shipped 
with 6.4.0/6.4.1 (MAKEFLAGS, UNC paths); if you are 
epxeriencing such problems, could you download this 
experimental version from here:

http://community.qnx.com/sf/go/post39262


Hope this helps,

Aleksandar



David Thompson wrote:
> topic9517: Slow rm / ls performance using 6.4.0 toolchain is loosely related.
> 
> While investigating topic9517 I discovered msysCORE-1.0.11 greatly improved
> build performance on 6.4.0 and 6.4.1 when connected to a network.  
> 
> However, there are build errors when using msys1.0.11 that I need to fix.
> An app that builds with 6.4.1/msys1.0.10 will not build with 6.4.1/msys1.0.11.
> Looking at the output of a make -p (write to standard output the complete set 
> of macro definitions and target descriptions) shows some (not all) differences:
> 
> with msys1.0.10
> PRODUCT_ROOT := d:/emb/qnx630/baseline/apps/src/jenser/iopkt
> common := d:/emb/qnx630/baseline/apps/src/jenser/iopkt/jenser/common.mk
> CPU_ROOT := d:/emb/qnx630/baseline/apps/src/jenser/iopkt/jenser/ppc
> 
> with msys1.0.11
> PRODUCT_ROOT := /d/emb/qnx630/baseline/apps/src/jenser/iopkt
> common := /d/emb/qnx630/baseline/apps/src/jenser/iopkt/jenser/common.mk
> CPU_ROOT := /d/emb/qnx630/baseline/apps/src/jenser/iopkt/jenser/ppc
> 
> More importantly I think the INCVPATH variables also show the missing ":" in
> the drive letter portion with msys1.0.11.  All the -I parameters reflect this.
> 
> With all other things being identical, 
> msys1.0.11 gives this error that msys1.0.10 does not:
> 
> make[3]: *** No rule to make target `libdrvrS.a', needed by `/d/emb/qnx630/basel
> ine/apps/src/jenser/iopkt/jenser/ppc/dll-be/devnp-jenser.so'.  Stop.
> 
> I noticed that $(QNX_TARGET)/usr/include/mk/qmacros.mk has changed.  
> 
> Is there a simple fix to restore the ":" to the drive letter and perhaps fix my 
> broken build?
> 
> Anyone at QNX willing to try to duplicate the msys1.0.11 build error on your apps?
> 
> I can not live with the poor network performance on msys1.0.10 but having a broken
> build with msys1.0.11 is no better.
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post39451
> 

Re: 6.4.0 / 6.4.1 / msys core 1.0.10 vs 1.0.11 make problems  
Yes, I was using make.exe from msys1.0.11.  After reading the other topic and installing experimental make.exe I was 
able to build without error.  Thank you.  On to testing the app...