You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug #18593044 COMPILE FLAGS NOT PASSED TO DTRACE, BREAKS CROSS BUILD
RHEL7/Oracle Linux 7 comes in 64 bits variants only, however at
least libraries are required in 32 bits versions too. Going
forward there might be need for 32 bits clients.
RHEL/OL7 supports cross build of 32 bits binaries on 64 bits platform.
This works just fine for MySQL server also, however when dtrace
is enabled build fails.
Due to the fact that dtrace on Linux is running gcc and reading
CFLAGS from environment only.
(Just reading last part of /usr/bin/dtrace to verify this).
When cross building a 32 bits server package, flags includes
-m32, however this is not passed to dtrace, which builds a 64
bits probes_mysql.o, which cause link error by mixing 32 of 64
bits object files.
0 commit comments