<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Regression(280836:281889): boringssl no longer links on arm"
href="https://llvm.org/bugs/show_bug.cgi?id=30475">30475</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Regression(280836:281889): boringssl no longer links on arm
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: ARM
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nicolasweber@gmx.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Here's a reduced repro:
thakis@thakis:~/src/chrome/src$ cat test.c
struct tm { int tm_sec; };
int asn1_generalizedtime_to_tm(struct tm *tm, int l, char* a)
{
static const int max[9] = { 99, 99, 12, 31, 23, 59, 59, 12, 59 };
int n, i, o;
o = 0;
for (i = 0; i < 7; i++) {
if (i == 6) {
i++;
if (tm)
tm->tm_sec = 0;
}
n = a[i] - '0';
if (n > max[i])
break;
}
return (0);
}
thakis@thakis:~/src/chrome/src$
third_party/llvm-build/Release+Asserts/bin/clang --target=arm-linux-androideabi
-Os -g2 -c test.c -o test.othakis@thakis:~/src/chrome/src$
third_party/llvm-build/Release+Asserts/bin/clang++ -shared
--gcc-toolchain=third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64
--target=arm-linux-androideabi
--sysroot=third_party/android_tools/ndk/platforms/android-16/arch-arm -o
test.so test.o -Wl,-z,defs
test.o(.debug_info+0x48): error: undefined reference to
'asn1_generalizedtime_to_tm.max'
clang: error: linker command failed with exit code 1 (use -v to see invocation)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>