libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue with added '-threads' added while using Intel 2024.0.0 C compi


From: Roumen Petrov
Subject: Re: Issue with added '-threads' added while using Intel 2024.0.0 C compiler icx
Date: Tue, 27 Aug 2024 09:35:23 +0300
User-agent: Mozilla Thunderbird

Hello,

I'm sorry for top posting.
Multithread library does not mean that program(utility,command,application) is multithreaded.

From my point of view libraries must not export information for threads. This could be from either shell config-script, or "package-config file, or predefined autoconf macros.


На 25.08.24 г. в 19:47 ч., Nick Bowler написа:
On 2024-08-23 13:35, Witold Interewicz wrote:
I have 2 Qs here:
- What is (in short/sketch) the set of conditions that causes libtool
to add this switch '-threads' (or where may I read about it)?

It could be coming from another library you are using.  For example,
some libtool library (.la file) might contain a line like
inherited_linker_flags='-threads'

which will cause libtool to add the flag when you use that library
with libtool.

Perhaps some library was built using a different compiler which uses
different options and these got embedded into the installed library.

- Should I look for solution of this problem here in libtool GNUs'
world or in the Intel's world?

It's probably just a matter of identifying the problematic library and
then correcting it on your system.

PS. Please let me know if it is ill posed problem at all or if you
don't discuss issues involving non-GNU compilers at all.

Libtool should work with non-GNU compilers.

Hope that helps,
   Nick



Regards,
Roumen Petrov



reply via email to

[Prev in Thread] Current Thread [Next in Thread]