From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751505AbdJFC3o (ORCPT ); Thu, 5 Oct 2017 22:29:44 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:47352 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751363AbdJFC3n (ORCPT ); Thu, 5 Oct 2017 22:29:43 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 05 Oct 2017 19:29:41 -0700 From: Sodagudi Prasad To: aryabinin@virtuozzo.com, nicolas.iooss_linux@m4x.org, akpm@linux-foundation.org, mingo@kernel.org Cc: linux-kernel@vger.kernel.org Subject: __ubsan_handle_type_mismatch converted to __ubsan_handle_type_mismatch_v1 Message-ID: User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, Based on below links __ubsan_handle_type_mismatch has been renamed to __ubsan_handle_type_mismatch_v1. https://github.com/llvm-mirror/compiler-rt/commit/56faee71af1888ba12ab076b3d1f9bbe223493df#diff-21369cc6f3917b27df3ced8de89cf134 https://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg535130.html When I tried to compile the kernel with LLVM seen following errors. arch/arm64/kernel/traps.o: In function `dump_backtrace': kernel/arch/arm64/kernel/traps.c:192: undefined reference to `__ubsan_handle_type_mismatch_v1' kernel/arch/arm64/kernel/traps.c:192: undefined reference to `__ubsan_handle_type_mismatch_v1' kernel/arch/arm64/kernel/traps.c:192: undefined reference to `__ubsan_handle_type_mismatch_v1' kernel/arch/arm64/kernel/traps.c:192: undefined reference to `__ubsan_handle_type_mismatch_v1' arch/arm64/kernel/traps.o: In function `dump_mem': Can I add __ubsan_handle_type_mismatch_v1 API similar to __ubsan_handle_type_mismatch()(I will send path for review)? If both apis are present, then there will be backward compatibility. Let me know if you have any other suggestions for this issue. -Thanks, Prasad -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, Linux Foundation Collaborative Project