[llvm-bugs] [Bug 30734] New: Building with CFLAGS=-DBUILD_MEMORY=1 (FIRST_TOUCH) does not export non-static __kmp_ft_page_allocate() function into a final library

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 19 03:55:59 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=30734

            Bug ID: 30734
           Summary: Building with CFLAGS=-DBUILD_MEMORY=1 (FIRST_TOUCH)
                    does not export non-static __kmp_ft_page_allocate()
                    function into a final library
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Runtime Library
          Assignee: unassignedbugs at nondot.org
          Reporter: pawel.osmialowski at foss.arm.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

I guess following is missing in kmp.h:

#if (BUILD_MEMORY==FIRST_TOUCH)
extern void * __kmp_ft_page_allocate( size_t size );
#endif

...somewhere before this:

extern void * ___kmp_page_allocate( size_t size KMP_SRC_LOC_DECL );

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161019/125b3954/attachment-0001.html>


More information about the llvm-bugs mailing list