Author: dgilmore Date: 2011-10-12 20:02:00 -0400 (Wed, 12 Oct 2011) New Revision: 3761
Modified: trunk/osprey/driver/main.c Log: Fix bug 744 (problem with -pg option and -HP options that map program segments using huge pages). Approved by David Coakley. Modified: trunk/osprey/driver/main.c =================================================================== --- trunk/osprey/driver/main.c 2011-10-12 06:54:09 UTC (rev 3760) +++ trunk/osprey/driver/main.c 2011-10-13 00:02:00 UTC (rev 3761) @@ -595,6 +595,15 @@ || desc->alloc == ALLOC_BDT)) { BD_or_BDT_with_1GBP = TRUE; } + if (option_was_seen(O_pg) && + (desc->alloc == ALLOC_BD || desc->alloc == ALLOC_BDT)) { + /* See bug 744, libhugetlbfs doesn't detect that the + * allocation of data structures by the profiling library + * code, which causes a program fault after the data section + * is copied and remapped using huge pages. + */ + error("-pg and -HP:bdt or -HP:bd are currently incompatible"); + } } /* With BD or BDT mappings using 1GB pages, the rest ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel