On 21.02.2011 19:07, Christophe Lyon wrote: > On 18.02.2011 19:04, Julian Seward wrote: >> >>> $ valgrind /bin/ls >>> Segmentation fault >> >> Try "valgrind -v -v -d -d /bin/ls" and post the result to the list. >> >> Also make sure there is no confusion with any valgrind that might >> already be installed on the machine. >> >> J >> >> > > Please find the log attached. > > I have made some progress: for some reason, I used to compile with -fPIC in > CFLAGS. Removing it makes my valgrind work. I am compiling with GCC-4.4.4 on > a x86_64 host. > > Christophe.
I have understood why I didn't notice this problem before: since release 3.6.0, the top-level configure has changed CFLAGS="-Wno-long-long" into CFLAGS="-Wno-long-long $CFLAGS" such that the -fPIC which was present in my config.site CFLAGS is now propagated to all valgrind components. So... is it expected that compiling valgrind with -fPIC makes it fail? Should I file a bug report? Thanks Christophe. ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
