File tree Expand file tree Collapse file tree 3 files changed +61
-0
lines changed Expand file tree Collapse file tree 3 files changed +61
-0
lines changed Original file line number Diff line number Diff line change 53
53
"ynd/bin/lld/18/ix.sh" :" toolchains/ynd/bin/lld/18/ix.sh" ,
54
54
"ynd/bin/lld/18/llvm-issue-61208.diff" :" toolchains/ynd/bin/lld/18/llvm-issue-61208.diff" ,
55
55
"ynd/bin/lld/18/macho-relocation.patch" :" toolchains/ynd/bin/lld/18/macho-relocation.patch" ,
56
+ "ynd/bin/lld/20/ix.sh" :" toolchains/ynd/bin/lld/20/ix.sh" ,
57
+ "ynd/bin/lld/20/llvm-issue-61208.diff" :" toolchains/ynd/bin/lld/20/llvm-issue-61208.diff" ,
56
58
"ynd/bin/llvm-profdata/19/ix.sh" :" toolchains/ynd/bin/llvm-profdata/19/ix.sh" ,
57
59
"ynd/bin/llvm-profdata/ix.sh" :" toolchains/ynd/bin/llvm-profdata/ix.sh" ,
58
60
"ynd/bin/yq/ix.sh" :" toolchains/ynd/bin/yq/ix.sh" ,
Original file line number Diff line number Diff line change
1
+ {% extends ' //bin/clang/t/t/ix.sh' %}
2
+
3
+ {% block fetch %}
4
+ {% include ' //lib/llvm/20/ver.sh' %}
5
+ {% endblock %}
6
+
7
+ {% block bld_libs %}
8
+ lib/zstd
9
+ {{super ()}}
10
+ {% endblock %}
11
+
12
+ {% block bld_tool %}
13
+ lib/llvm/20/tblgen
14
+ {% if linux %}
15
+ bin/muslstack
16
+ {% endif %}
17
+ {{super ()}}
18
+ {% endblock %}
19
+
20
+ {% block llvm_targets %}
21
+ lld
22
+ {% endblock %}
23
+
24
+ {% block patch %}
25
+ base64 -d << EOF | patch -p1
26
+ {% include 'llvm-issue-61208.diff/base64' %}
27
+ EOF
28
+ {% endblock %}
29
+
30
+ {% block configure %}
31
+ export PYTHON3=$( command -v python3)
32
+ echo ${PYTHON3}
33
+ {{super ()}}
34
+ {% endblock %}
35
+
36
+ {% block cmake_flags %}
37
+ {{super ()}}
38
+ LLVM_INCLUDE_BENCHMARKS=OFF
39
+ LLVM_INCLUDE_TESTS=OFF
40
+ Python3_EXECUTABLE=${PYTHON3}
41
+ {% endblock %}
42
+
43
+ {% block install %}
44
+ {{super ()}}
45
+ {% if linux %}
46
+ muslstack -s 8388608 ${out} /bin/lld
47
+ {% endif %}
48
+ {% endblock %}
Original file line number Diff line number Diff line change
1
+ --- a/lld/ELF/SymbolTable.cpp
2
+ +++ b/lld/ELF/SymbolTable.cpp
3
+ @@ -276,7 +276,7 @@ void SymbolTable::scanVersionScript() {
4
+ pat.isExternCpp, /*hasWildCard=*/false},
5
+ id, ver, /*includeNonDefault=*/true);
6
+ if (!found && !ctx.arg.undefinedVersion)
7
+ - Err(ctx) << "version script assignment of '" << ver << "' to symbol '"
8
+ + Warn(ctx) << "version script assignment of '" << ver << "' to symbol '"
9
+ << pat.name << "' failed: symbol not defined";
10
+ };
11
+ for (SymbolVersion &pat : v.nonLocalPatterns)
You can’t perform that action at this time.
0 commit comments