Bug #4099 CC ERROR parsing -fimplicit-templates: unknown flag
Submitted: 10 Jun 2004 23:37 Modified: 11 Jun 2004 9:43
Reporter: Joerg Behrens Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S2 (Serious)
Version:4.1 OS:Other (IRIX64 6.5.24m)
Assigned to: Tomas Ulin CPU Architecture:Any

[10 Jun 2004 23:37] Joerg Behrens
Description:
[o2k]:/usr2/MIPS/mysql-4.1 $ BUILD/compile-irix-mips64-mipspro.32
[o2k]:/usr2/MIPS/mysql-4.1 $ gmake -j24

CC -DHAVE_CONFIG_H -DNDEBUG -I. -I. -I../../../../.. -I. -I../../../../../include -I../../../../../ndb/include -I../../../../../ndb/include/kernel -I../../../../../ndb/include/transporter -I../../../../../ndb/include/debugger -I../../../../../ndb/include/mgmapi -I../../../../../ndb/include/mgmcommon -I../../../../../ndb/include/ndbapi -I../../../../../ndb/include/util -I../../../../../ndb/include/portlib -I../../../../../ndb/include/logger -I/usr/local/include -I/usr/freeware/include -O3 -DDBUG_OFF -n32 -mips4 -woff 1064,1188,1460,1552,1681,1682,3303 -O3 -c99 -OPT:Olimit=0 -LANG:exceptions=OFF -LANG:std=OFF -LANG:libc_in_namespace_std=OFF -D_BOOL -fimplicit-templates -c TcKeyReq.cpp -o TcKeyReq.o
CC ERROR parsing -fimplicit-templates:  unknown flag

How to repeat:
Using MIPSpro 7.4.x Compiler and the BUILD/compile-irix-mips64-mipspro Script
[11 Jun 2004 9:43] Tomas Ulin
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html
[11 Jun 2004 19:33] Joerg Behrens
Did you say that the issue is now fixed in the 4.1 repository?

I have made a fresh checkout and compile it again. I cant see any changes to the related sources and it breaks again.

 CC -DHAVE_CONFIG_H -DNDEBUG -I. -I. -I../../../../.. -I. -I../../../../../include -I../../../../../ndb/include -I../../../../../ndb/include/kernel -I../../../../../ndb/include/transporter -I../../../../../ndb/include/debugger -I../../../../../ndb/include/mgmapi -I../../../../../ndb/include/mgmcommon -I../../../../../ndb/include/ndbapi -I../../../../../ndb/include/util -I../../../../../ndb/include/portlib -I../../../../../ndb/include/logger -I/usr/local/include -I/usr/freeware/include -O3 -DDBUG_OFF -n32 -mips4 -woff 1064,1188,1460,1552,1681,1682,3303 -O3 -c99 -OPT:Olimit=0 -LANG:exceptions=OFF -LANG:std=OFF -LANG:libc_in_namespace_std=OFF -D_BOOL -fimplicit-templates -c TcKeyReq.cpp -o TcKeyReq.o
CC ERROR parsing -fimplicit-templates:  unknown flag
gmake[6]: *** [TcKeyReq.lo] Fehler 1
gmake[6]: Leaving directory `/raids/strip2/MIPS/mysql-4.1/ndb/src/common/debugger/signaldata'

[o2k]:/usr2/MIPS/mysql-4.1 $ uname -Ra
IRIX64 o2k 6.5 6.5.24m 04070317 IP27

cc -version
MIPSpro Compilers: Version 7.41

regards
Joerg
[11 Jun 2004 23:45] Tomas Ulin
It takes some time for a push to our tree to become publicly available.  Please make sure you have the following change set in your repository:

> bk changes

ChangeSet@1.1922.1.1, 2004-06-11 09:39:20+00:00, tomas@poseidon.bredbandsbolaget.se
  fix for ndb compile problem on non gcc

If the problem persists, please let us know.  PS. please redo the BUILD/compile to make sure.