https://llvm.org/bugs/show_bug.cgi?id=30475
Bug ID: 30475 Summary: Regression(280836:281889): boringssl no longer links on arm Product: libraries Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Backend: ARM Assignee: unassignedb...@nondot.org Reporter: nicolaswe...@gmx.de CC: llvm-bugs@lists.llvm.org Classification: Unclassified 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) -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs