[LLVMbugs] [Bug 6704] New: Porting llvm to Minix

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 25 08:50:55 PDT 2010


           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: unassignedbugs at nondot.org
        ReportedBy: reeuwijk at few.vu.nl
                CC: llvmbugs at cs.uiuc.edu

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

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.

More information about the llvm-bugs mailing list