Author: dgilmore Date: 2010-12-21 15:49:40 -0500 (Tue, 21 Dec 2010) New Revision: 3445
Modified: trunk/osprey/libhugetlbfs/elflink.c Log: When building Open64 on RHEL 6.0 and building a program with libhugetlbfs, a runtime link error occurs: opencc hugebss.c -HP:bdt=2m:heap=2m /local/home/dgilmore/sot-pp1/bd3410/local//lib/gcc-lib/x86_64-open64-linux/4.2/libhugetlbfs_open64.so: undefined reference to `S_ISDIR' collect2: ld returned 1 exit status $ Apply fix from the main libhugetlbfs repository: $ git show 6fa46b78 commit 6fa46b789f5f423a1d919e45306ff9357beb7898 Author: Anton Arapov <aara...@redhat.com> Date: Mon Feb 8 14:53:43 2010 +0100 elflink: include header, so it'll build flawlessly. SSIA Signed-off-by: Anton Arapov <aara...@redhat.com> Signed-off-by: Eric B Munson <ebmun...@us.ibm.com> ... Approved by Suneel. Modified: trunk/osprey/libhugetlbfs/elflink.c =================================================================== --- trunk/osprey/libhugetlbfs/elflink.c 2010-12-21 08:47:56 UTC (rev 3444) +++ trunk/osprey/libhugetlbfs/elflink.c 2010-12-21 20:49:40 UTC (rev 3445) @@ -37,6 +37,7 @@ #include <linux/unistd.h> #include <sys/mman.h> #include <sys/wait.h> +#include <sys/stat.h> #include <errno.h> #include <limits.h> #include <elf.h> ------------------------------------------------------------------------------ Forrester recently released a report on the Return on Investment (ROI) of Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even within 7 months. Over 3 million businesses have gone Google with Google Apps: an online email calendar, and document program that's accessible from your browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel