[llvm-bugs] [Bug 28180] New: [LTO] mozjs build doesn't pass the verifier

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jun 17 15:31:28 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28180

            Bug ID: 28180
           Summary: [LTO] mozjs build doesn't pass the verifier
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: davide at freebsd.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

$ sh run.sh
Global is external, but doesn't have external or weak linkage!
i1 ()* @_ZL9InterpretP9JSContextRN2js8RunStateE.14
function without a body cannot have metadata
i1 ()* @_ZL9InterpretP9JSContextRN2js8RunStateE.14
!77820 = distinct !DISubprogram(name: "Interpret", linkageName:
"_ZL9InterpretP9JSContextRN2js8RunStateE", scope: !75995, file: !75995, line:
1480, type: !77821, isLocal: true, isDefinition: true, scopeLine: 1481, flags:
DIFlagPrototyped, isOptimized: true, unit: !73805, variables: !77823)
Global is external, but doesn't have external or weak linkage!
i1 ()* @_ZL17InternalConstructP9JSContextRKN2JS8CallArgsE.25
function without a body cannot have metadata
i1 ()* @_ZL17InternalConstructP9JSContextRKN2JS8CallArgsE.25
!155729 = distinct !DISubprogram(name: "InternalConstruct", linkageName:
"_ZL17InternalConstructP9JSContextRKN2JS8CallArgsE", scope: !75995, file:
!75995, line: 504, type: !56316, isLocal: true, isDefinition: true, scopeLine:
505, flags: DIFlagPrototyped, isOptimized: true, unit: !73805, variables:
!155730)
Global is external, but doesn't have external or weak linkage!
void ()* @_ZL8PopScopeP9JSContextRN2js9ScopeIterE.68
function without a body cannot have metadata
void ()* @_ZL8PopScopeP9JSContextRN2js9ScopeIterE.68
!158758 = distinct !DISubprogram(name: "PopScope", linkageName:
"_ZL8PopScopeP9JSContextRN2js9ScopeIterE", scope: !75995, file: !75995, line:
923, type: !158759, isLocal: true, isDefinition: true, scopeLine: 924, flags:
DIFlagPrototyped, isOptimized: true, unit: !73805, variables: !158761)
Global is external, but doesn't have external or weak linkage!
i1 ()*
@_ZL10CallGetterP9JSContextN2JS6HandleIP8JSObjectEENS2_INS1_5ValueEEENS2_IPN2js5ShapeEEENS1_13MutableHandleIS6_EE.73
function without a body cannot have metadata
i1 ()*
@_ZL10CallGetterP9JSContextN2JS6HandleIP8JSObjectEENS2_INS1_5ValueEEENS2_IPN2js5ShapeEEENS1_13MutableHandleIS6_EE.73
!161876 = distinct !DISubprogram(name: "CallGetter", linkageName:
"_ZL10CallGetterP9JSContextN2JS6HandleIP8JSObjectEENS2_INS1_5ValueEEENS2_IPN2js5ShapeEEENS1_13MutableHandleIS6_EE",
scope: !75809, file: !75809, line: 1660, type: !161877, isLocal: true,
isDefinition: true, scopeLine: 1662, flags: DIFlagPrototyped, isOptimized:
true, unit: !73805, variables: !161879)
LLVM ERROR: Broken module found, compilation aborted!

It's been reduced by a large build, but the files themselves can be reduced a
bit more.

-- 
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/20160617/bc634486/attachment.html>


More information about the llvm-bugs mailing list