From eeea264bccb8083da2dcbf44ca5afb3794619177 Mon Sep 17 00:00:00 2001 From: Meghana Vankadari Date: Fri, 17 Jul 2020 13:11:53 +0530 Subject: [PATCH] Annotating prototype of bli_abort with BLIS_EXPORT_BLIS Details: - BLIS test application throws an error when built with dynamic library as "Undefined reference to bli_abort". This happens because bli_abort is hidden and cannot be linkable from outside. Annotating prototype with BLIS_EXPORT_BLAS to make it public. Change-Id: I0d7aec046e8871ba6491024694ed06f883b005ac AMD Internal: [CPUPL-1030] --- frame/base/bli_error.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frame/base/bli_error.h b/frame/base/bli_error.h index e04c6784d..672d44810 100644 --- a/frame/base/bli_error.h +++ b/frame/base/bli_error.h @@ -5,6 +5,7 @@ libraries. Copyright (C) 2014, The University of Texas at Austin + Copyright (C) 2020, Advanced Micro Devices, Inc. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -39,7 +40,7 @@ BLIS_EXPORT_BLIS void bli_error_checking_level_set( errlev_t new_level ); BLIS_EXPORT_BLIS bool_t bli_error_checking_is_enabled( void ); void bli_print_msg( char* str, char* file, guint_t line ); -void bli_abort( void ); +BLIS_EXPORT_BLIS void bli_abort( void ); char* bli_error_string_for_code( gint_t code );