diff options
author | Alan Modra <amodra@gmail.com> | 2021-02-18 14:43:14 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-02-19 13:49:15 +1030 |
commit | 2f973f134d7752cbc662ec65da8ad8bbe4c6fb8f (patch) | |
tree | 43eca27a7a11557b325be3d06291acb72fcf8fb1 /ld/sysdep.h | |
parent | 0be51eb4c363bea9a550392bf58c0e497403fff2 (diff) | |
download | gdb-2f973f134d7752cbc662ec65da8ad8bbe4c6fb8f.zip gdb-2f973f134d7752cbc662ec65da8ad8bbe4c6fb8f.tar.gz gdb-2f973f134d7752cbc662ec65da8ad8bbe4c6fb8f.tar.bz2 |
Wrong ELF class plugin vs. gcc ld version
When building 32-bit binutils with CC="gcc -m32" CXX="g++ -m32" we can
fail the gcc ld version test due to an error attempting to load a
64-bit plugin into 32-bit ld-new. This results in bogus errors about
"Your compiler driver ignores -B when choosing ld."
* testsuite/lib/ld-lib.exp: Whitespace.
(load_common_lib): Expand single use and delete this proc.
(run_host_cmd): Use -fno-lto when getting gcc's ld version.
Use -B for clang too.
Diffstat (limited to 'ld/sysdep.h')
0 files changed, 0 insertions, 0 deletions