http://llvm.org/bugs/show_bug.cgi?id=6704

           Summary: Porting llvm to Minix
           Product: new-bugs
           Version: 2.6
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=4586)
 --> (http://llvm.org/bugs/attachment.cgi?id=4586)
Portability patches for minix

The attached patches help to make llvm compilable on Minix 3.

The porting also exposed a number of issues on Minix that have to be addressed.
With these patched too, llvm now largely passes the testsuite in 'tests'(there
are also some porting issues in the testsuite or dejagnu).

Note that the patch uses HAVE_DLFCN_H to test whether the platform supports
dynamic loading in the first place. It implements LoadLibraryPermanently as a
function that always fails if dynamic loading is not available.

To get llvm compiling on Minix I also had to remove LOADABLE_MODULE = 1 from
lib/Transforms/Hello/Makefile, and similar from runtime/libprofile/Makefile.
I'm not sure this makes sense. Perhaps another way to handle this is
preferable.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to