Bug #97611 Assertion in Developer Studio when building my_time.cc
Submitted: 13 Nov 2019 10:12 Modified: 13 Nov 2019 16:15
Reporter: Knut Anders Hatlen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:8.0.20 OS:Any
Assigned to: CPU Architecture:Any

[13 Nov 2019 10:12] Knut Anders Hatlen
Description:
Oracle Developer Studio hits an assertion when building my_time.cc on trunk.

This started with the following version:

CC: Studio 12.6 Sun C++ 5.15 SunOS_sparc Patch 152715-05 2019/10/30

It builds fine with this slightly older version:

CC: Studio 12.6 Sun C++ 5.15 SunOS_sparc Patch 152715-03 2018/07/03

How to repeat:
% gmake mytime
Building CXX object mysys/CMakeFiles/mytime_objlib.dir/my_time.cc.o
 >> Assertion:   (../lnk/substitute.cc, line 1610)
    while processing /code/mysql/trunk/mysys/my_time.cc at line 0.
gmake[3]: *** [mysys/CMakeFiles/mytime_objlib.dir/build.make:63: mysys/CMakeFiles/mytime_objlib.dir/my_time.cc.o] Error 2
gmake[2]: *** [CMakeFiles/Makefile2:2028: mysys/CMakeFiles/mytime_objlib.dir/all] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:1920: mysys/CMakeFiles/mytime.dir/rule] Error 2
gmake: *** [Makefile:743: mytime] Error 2
[13 Nov 2019 16:15] Paul Dubois
Posted by developer:
 
Fixed in 8.0.20.

Code cleanup. Bug does not affect any released version. No changelog entry needed.
[15 Nov 2019 13:45] Paul Dubois
Posted by developer:
 
Fixed in 8.0.19.