Mailinglist Archive: opensuse-bugs (4297 mails)

< Previous Next >
[Bug 1041525] [snapshot 20170527 gcc7] MariaDB crashes often
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 30 May 2017 12:27:29 +0000
  • Message-id: <bug-1041525-21960-4Ck7Tvek0G@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1041525
http://bugzilla.opensuse.org/show_bug.cgi?id=1041525#c11

--- Comment #11 from Fabian Vogt <fvogt@xxxxxxxx> ---
Fix found and verified: storage/xtradb/include/univ.i

@@ -261,7 +261,7 @@
that are only referenced from within InnoDB, not from MySQL. We disable the
GCC visibility directive on all Sun operating systems because there is no
easy way to get it to work. See http://bugs.mysql.com/bug.php?id=52263. */
-#define MY_ATTRIBUTE __attribute__
+#define MY_ATTRIBUTE(X) /* empty */
#if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(sun) ||
defined(__INTEL_COMPILER)
# define UNIV_INTERN MY_ATTRIBUTE((visibility ("hidden")))
#else

That's not nice:

- Null checking __attribute__((nonnull)) pointers
- Passing NULL to __attribute__((nonnull)) parameters

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >