|
From: <sv...@va...> - 2010-01-03 21:24:22
|
Author: sewardj Date: 2010-01-03 21:24:09 +0000 (Sun, 03 Jan 2010) New Revision: 10999 Log: Make sure the Memcheck tests are built on arm-linux using hardware floating point, since the softfloat results are way different from the hardware one (not to mention, V reports lots of accesses-below-the-SP in the softfloat helper functions.) Modified: trunk/memcheck/tests/Makefile.am Modified: trunk/memcheck/tests/Makefile.am =================================================================== --- trunk/memcheck/tests/Makefile.am 2010-01-03 17:40:07 UTC (rev 10998) +++ trunk/memcheck/tests/Makefile.am 2010-01-03 21:24:09 UTC (rev 10999) @@ -242,6 +242,11 @@ AM_CFLAGS += $(AM_FLAG_M3264_PRI) AM_CXXFLAGS += $(AM_FLAG_M3264_PRI) +if VGCONF_PLATFORMS_INCLUDE_ARM_LINUX +AM_CFLAGS += -mfloat-abi=softfp +AM_CXXFLAGS += -mfloat-abi=softfp +endif + if VGCONF_OS_IS_DARWIN atomic_incs_CFLAGS = $(AM_CFLAGS) -mdynamic-no-pic else |
|
From: Johan B. <jb...@gm...> - 2010-01-03 21:34:08
|
On Sun, Jan 3, 2010 at 1:24 PM, <sv...@va...> wrote: > Author: sewardj > Date: 2010-01-03 21:24:09 +0000 (Sun, 03 Jan 2010) > New Revision: 10999 > > Log: > Make sure the Memcheck tests are built on arm-linux using hardware > floating point, since the softfloat results are way different from the > hardware one (not to mention, V reports lots of accesses-below-the-SP > in the softfloat helper functions.) > FYI, that's a known gcc-arm bug. > > > Modified: > trunk/memcheck/tests/Makefile.am > > > Modified: trunk/memcheck/tests/Makefile.am > =================================================================== > --- trunk/memcheck/tests/Makefile.am 2010-01-03 17:40:07 UTC (rev 10998) > +++ trunk/memcheck/tests/Makefile.am 2010-01-03 21:24:09 UTC (rev 10999) > @@ -242,6 +242,11 @@ > AM_CFLAGS += $(AM_FLAG_M3264_PRI) > AM_CXXFLAGS += $(AM_FLAG_M3264_PRI) > > +if VGCONF_PLATFORMS_INCLUDE_ARM_LINUX > +AM_CFLAGS += -mfloat-abi=softfp > +AM_CXXFLAGS += -mfloat-abi=softfp > +endif > + > if VGCONF_OS_IS_DARWIN > atomic_incs_CFLAGS = $(AM_CFLAGS) -mdynamic-no-pic > else > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers > |