Index: /trunk/src/VBox/Runtime/common/ldr/ldrLX.cpp
===================================================================
--- /trunk/src/VBox/Runtime/common/ldr/ldrLX.cpp	(revision 74644)
+++ /trunk/src/VBox/Runtime/common/ldr/ldrLX.cpp	(revision 74645)
@@ -2185,4 +2185,11 @@
 
 
+/* GCC goes boinkers if we put this inside the function. */
+union RELOC_VISIBILITY_STUPIDITY
+{
+    const uint8_t          *pb;
+    const struct r32_rlc   *prlc;
+};
+
 /**
  * @interface_method_impl{RTLDROPS,pfnRelocate}
@@ -2249,9 +2256,5 @@
             while (pb < pbFixupRecEnd)
             {
-                union
-                {
-                    const uint8_t          *pb;
-                    const struct r32_rlc   *prlc;
-                } u;
+                union RELOC_VISIBILITY_STUPIDITY u;
                 char szImpModule[256];
                 u.pb = pb;
