[csw-maintainers] Please review current compiler flags

Dagobert Michelsen dam at opencsw.org
Sat Feb 7 22:39:43 CET 2009


Fellow maintainers,

I received a patch for compiler flags in GAR from Andy Igoshin, and
as this is somewhat sensitive I want some other person to look for
negative impact before I commit it. Here is the patch:


-ARCHFLAGS_SOS11_amd64            = -xarch=amd64
-ARCHFLAGS_SOS12_amd64            = -m64 -xarch=sse2
+ARCHFLAGS_SOS11_amd64            = -xarch=amd64 -xchip=opteron
+ARCHFLAGS_SOS12_amd64            = -m64 -xchip=opteron
   ARCHFLAGS_GCC3_amd64            = -m64 -march=opteron
   ARCHFLAGS_GCC4_amd64            = -m64 -march=opteron
      MEMORYMODEL_amd64            = 64
...

-ARCHFLAGS_SOS11_pentium_pro      = -xarch=pentium_pro
-ARCHFLAGS_SOS12_pentium_pro      = -m32 -xarch=pentium_pro
+ARCHFLAGS_SOS11_pentium_pro      = -xchip=pentium_pro
+ARCHFLAGS_SOS12_pentium_pro      = -m32 -xchip=pentium_pro
   ARCHFLAGS_GCC3_pentium_pro      = -m32 -march=pentiumpro
   ARCHFLAGS_GCC4_pentium_pro      = -m32 -march=pentiumpro
      MEMORYMODEL_pentium_pro      = 32
...

-ARCHFLAGS_SOS11_pentium          = ERROR
-ARCHFLAGS_SOS12_pentium          = ERROR
+ARCHFLAGS_SOS11_pentium          = -xchip=pentium
+ARCHFLAGS_SOS12_pentium          = -m32 -xchip=pentium
   ARCHFLAGS_GCC3_pentium          = -m32 -march=pentium
   ARCHFLAGS_GCC4_pentium          = -m32 -march=pentium
      MEMORYMODEL_pentium          = 32


Thanks!

   -- Dago



More information about the maintainers mailing list