DWARF2 symbol support seems to be broken on Solaris. Use stabs+
align the character arrays that are used by placement-new for classes lest we have an unaligned fault on SPARC/Solaris
src/SConscript:
DWARF2 symbol support seems to be broken on Solaris. Use stabs+
src/base/statistics.hh:
align the character arrays that are used by placement-new for classes lest we have an unaligned fault on SPARC/Solaris
--HG--
extra : convert_revision : bc875a4fdfb4553062d3278537bc32a5ab9b6cca
This commit is contained in:
@@ -696,7 +696,7 @@ class ScalarBase : public DataAccess
|
||||
|
||||
protected:
|
||||
/** The storage of this stat. */
|
||||
char storage[sizeof(Storage)];
|
||||
char storage[sizeof(Storage)] __attribute__ ((aligned (8)));
|
||||
|
||||
/** The parameters for this stat. */
|
||||
Params params;
|
||||
@@ -1637,7 +1637,7 @@ class DistBase : public DataAccess
|
||||
|
||||
protected:
|
||||
/** The storage for this stat. */
|
||||
char storage[sizeof(Storage)];
|
||||
char storage[sizeof(Storage)] __attribute__ ((aligned (8)));
|
||||
|
||||
/** The parameters for this stat. */
|
||||
Params params;
|
||||
|
||||
Reference in New Issue
Block a user