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

            Bug ID: 21577
           Summary: 'Malformed block', using libLTO version 'LLVM version
                    3.5svn'
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

I'm building OpenSSL using with LTO:

    ./Configure
        no-ssl2
        darwin64-x86_64-cc
        zlib-dynamic
        enable-cms
        shared
        -isysroot ...MacOSX10.10.sdk
        -mmacosx-version-min=10.8
        -mssse3
        -gdwarf-4
        -fslp-vectorize
        -fvectorize
        -flto
        -Xlinker -dead_strip
        -Xlinker -object_path_lto
        -Xlinker /tmp/$(@F).lto.o"

The same command worked for me many times. Then once it failed to build under
the exactly same environment with the following error:

ld: in libcrypto.a(tasn_typ.o), could not parse object file
libcrypto.a(tasn_typ.o): 'Malformed block', using libLTO version 'LLVM version
3.5svn' for architecture x86_64

I just deleted all intermediate files and started build from scratch and it
finished without a problem.

-- 
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