|
From: | hjl.tools at gmail dot com |
Subject: | [Bug ld/24920] Executable produces nonsensical error message after statically linking with trying to link in a dynamic library. |
Date: | Wed, 11 Mar 2020 22:58:24 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24920 --- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Geir Johansen from comment #3) > Problem still occurs with somewhat more recent software: > It is interaction between "gcc -static" and linker -static/-Bdynamic. When -static is passed to gcc, gcc passes it to linker to create static binary. -Bdynamic cancels -static passed from gcc. But gcc only provides linker options to create static executable, not dynamic executable. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |