Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76027 - [intel-oneapi-basekit] Missing static libraries for compiler icx

Attached to Project: Community Packages
Opened by Torsten Keßler (tpkessler) - Monday, 26 September 2022, 17:51 GMT
Last edited by Torsten Keßler (tpkessler) - Monday, 20 March 2023, 18:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Torsten Keßler (tpkessler)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The C compiler part of the package, icx, statically links libsvml libirng and libimf by default. But the package only includes shared versions of them.

Additional info:
* intel-oneapi-basekit 2022.2.0.262-1
* Attached output of
echo "int main(){}" | CFLAGS="" LANG=C /opt/intel/oneapi/compiler/2022.1.0/linux/bin/icx -v -x c -
Relevant line in linker argument:

-Bstatic -lsvml -Bdynamic -Bstatic -lirng -Bdynamic -Bstatic -limf

Steps to reproduce:
Install package and compile a simple test program,
echo "int main(){}" | CFLAGS="" LANG=C /opt/intel/oneapi/compiler/2022.1.0/linux/bin/icx -v -x c -
   icx.log (4.2 KiB)
This task depends upon

Closed by  Torsten Keßler (tpkessler)
Monday, 20 March 2023, 18:53 GMT
Reason for closing:  Implemented
Additional comments about closing:  basekit now includes static libs.
Comment by Toolybird (Toolybird) - Monday, 26 September 2022, 22:37 GMT
The PKGBUILD for this looks pretty simple. In other words, this doesn't look like an Arch packaging bug. Does upstream have anything to say on the matter?
Comment by Torsten Keßler (tpkessler) - Tuesday, 27 September 2022, 08:07 GMT
It's not an upstream issue but of option=(!staticlibs). If I install the basekit by calling the install script as in package() static and dynamic versions of the libraries are installed.
With ls /opt/intel/oneapi/compiler/2022.1.0/linux/compiler/lib/intel64_lin | grep -E "libsvml|libirng|libimf" I obtain

libimf.a
libimf.so
libirng.a
libirng.so
libsvml.a
libsvml.so

Calling the same command with [intel-oneapi-basekit] installed yields

libimf.so
libirng.so
libsvml.so
Comment by Toolybird (Toolybird) - Tuesday, 27 September 2022, 08:14 GMT
> It's not an upstream issue but of option=(!staticlibs)

Ah, good point. I forgot about that little detail..oops! Hopefully our PM can straighten things out.

Loading...