On 17/05/12 15:46, John Reiser wrote: >> Please help me diagnose the following configure error on a x86_64/Linux >> system. > > The error happens because the logic in ./configure does not like "gcc4" as the > name of the compiler. The logic confuses the trailing '4' as part of the > numerical version "4.6.0". But there is no dot '.' after the first '4', > and the logic cannot handle this. > >> [sunfire02:~/packages/valgrind-3.7.0] % $CC --version >> >> gcc4 (GCC) 4.6.0 > > $ echo "gcc4 (GCC) 4.6.0" | sed 's/^[^0-9]*\([0-9.]*\).*$/\1/' > 4 > # Notice there is no dot '.' after the '4' above, because the '4' > # comes from "gcc4" and not from "4.6.0".
We don't try and parse that output unless "gcc -dumpversion" has failed to return a version number though, and in this case it will have done. Aha! I was looking at current svn... The 3.7.0 release does have the problem you describe, but somebody has fixed it in svn. Tom -- Tom Hughes ([email protected]) http://compton.nu/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
