Skip to content

LLVM bootstrap fails due to HAVE_MMAP_FILE missing #815

@lattner

Description

@lattner
Bugzilla Link 443
Resolution FIXED
Resolved on Mar 06, 2010 13:59
Version trunk
OS Linux

Extended Description

For an unknown reason, bootstrapping LLVM does not pick up HAVE_MMAP_FILE
correctly, leading to this #error:

Compiling FileUtilities.cpp
FileUtilities.cpp:299:2: #error Unimplemented ReadFileIntoAddressSpace - need to
use read/write.

To reproduce, configure with CC=llvmgcc CXX=llvmg++, and build LLVM.

When manually hacking HAVE_MMAP_FILE into config.h, things work as expected.

-Chris

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions