unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Entry in wrong position in etc/PROBLEMS
       [not found] <87ilx5zgh2.fsf.ref@yahoo.com>
@ 2021-11-06 11:11 ` Po Lu
  2021-11-06 11:42   ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Po Lu @ 2021-11-06 11:11 UTC (permalink / raw)
  To: emacs-devel

On master, this entry is under "X runtime problems":

*** Link-time optimization with clang doesn't work on Fedora 20.

As of May 2014, Fedora 20 has broken LLVMgold.so plugin support in clang
(tested with clang-3.4-6.fc20) - 'clang --print-file-name=LLVMgold.so'
prints 'LLVMgold.so' instead of full path to plugin shared library, and
'clang -flto' is unable to find the plugin with the following error:

/bin/ld: error: /usr/bin/../lib/LLVMgold.so: could not load plugin library:
/usr/bin/../lib/LLVMgold.so: cannot open shared object file: No such file
or directory

The only way to avoid this is to build your own clang from source code
repositories, as described at http://clang.llvm.org/get_started.html.

I fail to see how this is related to X-Windows, and it should probably
be moved somewhere else.

Thanks.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Entry in wrong position in etc/PROBLEMS
  2021-11-06 11:11 ` Entry in wrong position in etc/PROBLEMS Po Lu
@ 2021-11-06 11:42   ` Eli Zaretskii
  2021-11-06 12:02     ` Po Lu
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2021-11-06 11:42 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

> From: Po Lu <luangruo@yahoo.com>
> Date: Sat, 06 Nov 2021 19:11:21 +0800
> 
> On master, this entry is under "X runtime problems":
> 
> *** Link-time optimization with clang doesn't work on Fedora 20.
> 
> As of May 2014, Fedora 20 has broken LLVMgold.so plugin support in clang
> (tested with clang-3.4-6.fc20) - 'clang --print-file-name=LLVMgold.so'
> prints 'LLVMgold.so' instead of full path to plugin shared library, and
> 'clang -flto' is unable to find the plugin with the following error:
> 
> /bin/ld: error: /usr/bin/../lib/LLVMgold.so: could not load plugin library:
> /usr/bin/../lib/LLVMgold.so: cannot open shared object file: No such file
> or directory
> 
> The only way to avoid this is to build your own clang from source code
> repositories, as described at http://clang.llvm.org/get_started.html.
> 
> I fail to see how this is related to X-Windows, and it should probably
> be moved somewhere else.

Doesn't this error happen at run time?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Entry in wrong position in etc/PROBLEMS
  2021-11-06 11:42   ` Eli Zaretskii
@ 2021-11-06 12:02     ` Po Lu
  2021-11-06 12:24       ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Po Lu @ 2021-11-06 12:02 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

>> *** Link-time optimization with clang doesn't work on Fedora 20.
>> 
>> As of May 2014, Fedora 20 has broken LLVMgold.so plugin support in clang
>> (tested with clang-3.4-6.fc20) - 'clang --print-file-name=LLVMgold.so'
>> prints 'LLVMgold.so' instead of full path to plugin shared library, and
>> 'clang -flto' is unable to find the plugin with the following error:
>> 
>> /bin/ld: error: /usr/bin/../lib/LLVMgold.so: could not load plugin library:
>> /usr/bin/../lib/LLVMgold.so: cannot open shared object file: No such file
>> or directory
>> 
>> The only way to avoid this is to build your own clang from source code
>> repositories, as described at http://clang.llvm.org/get_started.html.
>> 
>> I fail to see how this is related to X-Windows, and it should probably
>> be moved somewhere else.

> Doesn't this error happen at run time?

It happens at compile-time, when Clang tries to dlopen LLVMgold.so.  And
even if it happened at run-time, it still would not be related to
X-Windows.

Thanks.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Entry in wrong position in etc/PROBLEMS
  2021-11-06 12:02     ` Po Lu
@ 2021-11-06 12:24       ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2021-11-06 12:24 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

> From: Po Lu <luangruo@yahoo.com>
> Cc: emacs-devel@gnu.org
> Date: Sat, 06 Nov 2021 20:02:55 +0800
> 
> > Doesn't this error happen at run time?
> 
> It happens at compile-time, when Clang tries to dlopen LLVMgold.so.  And
> even if it happened at run-time, it still would not be related to
> X-Windows.

Thanks, I moved it.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-06 12:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87ilx5zgh2.fsf.ref@yahoo.com>
2021-11-06 11:11 ` Entry in wrong position in etc/PROBLEMS Po Lu
2021-11-06 11:42   ` Eli Zaretskii
2021-11-06 12:02     ` Po Lu
2021-11-06 12:24       ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).