Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.

oneAPI 2023 linking problems

Daniel_H
New Contributor I
137 Views

Hi,

I'm trying the new oneAPI 2023 (2023.0.0.20221201) and get into some trouble.

Since the ICPC complains that it will be abandoned sooner than later (fair enough), I switched to ICPX.

And now in my autotools project when compiling I got the following errors:

bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'Intel.oneAPI.DPCPP.Compiler_2023.0.0' Reader: 'LLVM 14.0.6')

It occurs when libtool is applying 'ar cr' or 'ranlib' to a bunch of object to create a static library.

Then at final linking there are plenty of missing symbols.

 

It is not happening with previous version of oneAPI (2022.1.0.20220316).

Any clue on where I have to start digging to solve this issue? My Google attempts pointed me to an ld/ld.lld issue but I could not find any way to get something working.

Thanks,

0 Kudos
1 Reply
AishwaryaCV_Intel
Moderator
68 Views

Hi,

 

Thanks for posting in Intel Communities.

 

Since this is a duplicate thread of https://community.intel.com/t5/Intel-C-Compiler/oneAPI-2023-linking-problems/m-p/1441944#M40598

we will no longer monitor this thread. We will continue addressing this issue in the other thread.

 

Thanks and Regards,

Aishwarya

 

 

Reply