Loading ...
Sorry, an error occurred while loading the content.

smartmontools package fix to work around g++ 4.2 bug on arm

Expand Messages
  • Joachim Banzhaf
    Finally - I found a way to subscribe. Here is a patch to work around a g++ bug on arm processors. It avoids a sigsegv when smartctl initializes a device
    Message 1 of 1 , Mar 5, 2012
    • 0 Attachment
      Finally - I found a way to subscribe.

      Here is a patch to work around a g++ bug on arm processors.
      It avoids a sigsegv when smartctl initializes a device object.
      I tested it on a qnap ts419pii.
      Details can be found here:
      https://sourceforge.net/apps/trac/smartmontools/ticket/219


      $ svn diff
      Index: make/smartmontools.mk
      ===================================================================
      --- make/smartmontools.mk (Revision 12720)
      +++ make/smartmontools.mk (Arbeitskopie)
      @@ -45,7 +45,7 @@
      # If the compilation of the package requires additional
      # compilation or linking flags, then list them here.
      #
      -SMARTMONTOOLS_CPPFLAGS=
      +SMARTMONTOOLS_CPPFLAGS= -fno-toplevel-reorder
      SMARTMONTOOLS_LDFLAGS=

      #
    Your message has been successfully submitted and would be delivered to recipients shortly.