bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/24920] Executable produces nonsensical error message after stati


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: Fri, 13 Mar 2020 14:54:01 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=24920

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed in 2.35 for Linux/x86:

commit 74e10d1742f1b8312359c59a2af06c9e661252b3
Author: H.J. Lu <address@hidden>
Date:   Fri Mar 13 07:34:56 2020 -0700

    x86: Check static link of dynamic objects

    On Linux/x86, when -static is passed to gcc, gcc passes it to linker
    before all input files suitable for creating static executable.  X86
    linker will report error for dynamic input objects if -static is passed
    at command-line before all input files without --dynamic-linker unless
    --no-dynamic-linker is used.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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