|
From: Dave G. <go...@mc...> - 2010-06-10 14:43:21
|
r11169 builds just fine on this platform. I didn't run the full test suite, but spot sanity checks indicate the resulting valgrind works OK. -Dave On Jun 10, 2010 , at 2:15 AM CDT, Julian Seward wrote: > > Dave, thanks for the observation/fix. Can you verify that a clean > build of r11169 or later works for you now? > > J > > On Thursday, June 10, 2010, Dave Goodell wrote: >> Hi Bart, >> >> I mentioned this in bug #135264, but I'm not sure that it got CC'd your >> way. The build still fails for me complaining about "--build-id=none" on >> one of the machines here at work (Linux ppc64, ld v2.16.91.0.5 20051219 >> SUSE). The fix that worked for me was to change AC_TRY_COMPILE to >> AC_TRY_LINK so that configure would actually run the linker and fail the >> test. >> >> -Dave >> >> ------8<------ >> Index: configure.in >> =================================================================== >> --- configure.in (revision 11164) >> +++ configure.in (working copy) >> @@ -1285,7 +1285,7 @@ >> safe_CFLAGS=$CFLAGS >> CFLAGS="-Wl,--build-id=none" >> >> -AC_TRY_COMPILE( >> +AC_TRY_LINK( >> [ ], >> [return 0; ], >> [ >> ------8<------ >> >> On Jun 8, 2010 , at 1:24 PM CDT, sv...@va... wrote: >>> Author: bart >>> Date: 2010-06-08 19:23:59 +0100 (Tue, 08 Jun 2010) >>> New Revision: 11164 >>> >>> Log: >>> Added a configure test for the linker flag --build-id=none. >> >> [...] >> >>> Modified: trunk/configure.in >>> =================================================================== >>> --- trunk/configure.in 2010-06-08 15:00:18 UTC (rev 11163) >>> +++ trunk/configure.in 2010-06-08 18:23:59 UTC (rev 11164) >>> @@ -1278,6 +1278,26 @@ >>> CFLAGS=$safe_CFLAGS >>> >>> >>> +# does this compiler support -Wl,--build-id=none ? >>> + >>> +AC_MSG_CHECKING([if gcc accepts -Wl,--build-id=none]) >>> + >>> +safe_CFLAGS=$CFLAGS >>> +CFLAGS="-Wl,--build-id=none" >>> + >>> +AC_TRY_COMPILE( >>> +[ ], >>> +[return 0; ], >>> +[ >>> + AC_SUBST([FLAG_NO_BUILD_ID], ["-Wl,--build-id=none"]) >>> + AC_MSG_RESULT([yes]) >>> +], [ >>> + AC_SUBST([FLAG_NO_BUILD_ID], [""]) >>> + AC_MSG_RESULT([no]) >>> +]) >>> +CFLAGS=$safe_CFLAGS >>> + >>> + >>> # does the ppc assembler support "mtocrf" et al? >>> AC_MSG_CHECKING([if ppc32/64 as supports mtocrf/mfocrf]) >> >> --------------------------------------------------------------------------- >> --- ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> _______________________________________________ >> Valgrind-developers mailing list >> Val...@li... >> https://lists.sourceforge.net/lists/listinfo/valgrind-developers > |