Work around this GCC ICE: . It shows up only when doing native compiles on armhf-linux. --- mariadb-10.1.33/plugin/semisync/semisync_master.cc 2018-07-28 02:13:12.604020250 +0200 +++ mariadb-10.1.33/plugin/semisync/semisync_master.cc 2018-07-28 02:14:11.907753417 +0200 @@ -847,6 +847,8 @@ return function_exit(kWho, 0); } +volatile const void *kSyncHeaderPtr = &ReplSemiSyncMaster::kSyncHeader; + int ReplSemiSyncMaster::reserveSyncHeader(unsigned char *header, unsigned long size) { @@ -873,7 +875,7 @@ /* Set the magic number and the sync status. By default, no sync * is required. */ - memcpy(header, kSyncHeader, sizeof(kSyncHeader)); + memcpy(header, (void *)kSyncHeaderPtr, sizeof(kSyncHeader)); hlen= sizeof(kSyncHeader); } return function_exit(kWho, hlen); ko Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/erlang.scm
AgeCommit message (Collapse)Author
2017-10-20gnu: Fix the hashes of mutated GitHub archives.Maxim Cournoyer
Fixes <https://bugs.gnu.org/28745>. * gnu/packages/audio.scm (csound): Fix hash. * gnu/packages/engineering.scm (fritzing): Likewise. * gnu/packages/erlang.scm (erlang): Likewise. * gnu/packages/fonts.scm (font-google-material-design-icons): Likewise. * gnu/packages/graphics.scm (ogre): Likewise. * gnu/packages/java.scm (java-plexus-interpolation, antlr3): Likewise. * gnu/packages/serialization.scm (yaml-cpp): Likewise. * gnu/packages/version-control.scm (libgit2): Likewise. Signed-off-by: Ludovic Courtès <ludo@gnu.org>