For following the quick bump gcc versions in openEuler community,
we need to trace the said issues when the other SIG bump gcc version.
What we will hit issue is:
1. The default enable C/CXX flags, might be disable in the new gcc version.
2. New gcc version might Syntax incompatibility for a same code line/block.
This patch also fix the test failure in openEuler mainline.
Removing the wrong binlog types during tests.
This commit affects:
1. Bump from 5.7.21 to latest 5.7.34
2. Correct the test steps and options in spec file
3. Refactor part of the file structure according to the new packages in spec file
4. Refactor part of the patch files relied on the new source code.