[LLVMbugs] [Bug 21577] New: 'Malformed block', using libLTO version 'LLVM version 3.5svn'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Nov 14 10:30:00 PST 2014


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: unassignedbugs at nondot.org
          Reporter: kulakov.ilya at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141114/c8d578fc/attachment.html>


More information about the llvm-bugs mailing list