[Openmp-commits] [openmp] ccb1d18 - [OpenMP][Docs] Remove old entry saying static libraries are unsupported

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Wed Aug 30 04:49:17 PDT 2023


Author: Joseph Huber
Date: 2023-08-30T06:48:57-05:00
New Revision: ccb1d183c328f1f4d78517c98d2058ee884b7956

URL: https://github.com/llvm/llvm-project/commit/ccb1d183c328f1f4d78517c98d2058ee884b7956
DIFF: https://github.com/llvm/llvm-project/commit/ccb1d183c328f1f4d78517c98d2058ee884b7956.diff

LOG: [OpenMP][Docs] Remove old entry saying static libraries are unsupported

Summary:
Static libraries have been supported since LLVM 15.0, this entry is
misleading and should be removed.

Added: 
    

Modified: 
    openmp/docs/SupportAndFAQ.rst

Removed: 
    


################################################################################
diff  --git a/openmp/docs/SupportAndFAQ.rst b/openmp/docs/SupportAndFAQ.rst
index 4eaf9fcf81c0b5..afc532cd73eef4 100644
--- a/openmp/docs/SupportAndFAQ.rst
+++ b/openmp/docs/SupportAndFAQ.rst
@@ -267,23 +267,6 @@ By using ``libomptarget.rtl.rpc.so`` and ``openmp-offloading-server``, it is
 possible to explicitly perform memory transfers between processes on the host
 CPU and run sanitizers while doing so in order to catch these errors.
 
-Q: Why does my application say "Named symbol not found" and abort when I run it?
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-This is most likely caused by trying to use OpenMP offloading with static
-libraries. Static libraries do not contain any device code, so when the runtime
-attempts to execute the target region it will not be found and you will get an
-an error like this.
-
-.. code-block:: text
-
-   CUDA error: Loading '__omp_offloading_fd02_3231c15__Z3foov_l2' Failed
-   CUDA error: named symbol not found
-   Libomptarget error: Unable to generate entries table for device id 0.
-
-Currently, the only solution is to change how the application is built and avoid
-the use of static libraries.
-
 Q: Can I use dynamically linked libraries with OpenMP offloading?
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 


        


More information about the Openmp-commits mailing list