[Bug target/71767] Endless stream of warnings when using GCC with -Wa,-q and Clang Integrated Assembler
danglin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Nov 27 21:18:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71767
John David Anglin <danglin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |danglin at gcc dot gnu.org
--- Comment #49 from John David Anglin <danglin at gcc dot gnu.org> ---
(In reply to Iain Sandoe from comment #46)
> Author: iains
> Date: Sun Nov 27 14:29:36 2016
> New Revision: 242894
>
> URL: https://gcc.gnu.org/viewcvs?rev=242894&root=gcc&view=rev
> Log:
> [Darwin, config] Arrange for ld64 to be detected as Darwin's linker.
>
> This is an initial patch in a series that converts Darwin's configury
> to detect ld64 features, rather than the current process of hard-coding
> them on target system version.
>
> A ld64-compatible linker is currently required and assumed by Darwin.
> If a DEFAULT_LINKER is set via --with-ld= then this will be tested to
> see if it is ld64.
>
> The ld64 version is determined for the chosen ld and this is exported for
> use in setting a default value for -mtarget-linker (needed for run-time
> code-gen changes to section choices).
> The support for -rdynamic is converted to be detected at config time, or
> by the ld64 version if that is found.
>
> gcc/
>
> 2016-11-27 Iain Sandoe <iain@codesourcery.com>
>
> PR target/71767
> * configure.ac (with-ld64): New var, set for Darwin, set on
> detection of ld64, gcc_cv_ld64_export_dynamic: New, New test.
> * config/darwin.h: Use LD64_HAS_DYNAMIC export. DEF_LD64: New,
> define.
> * config/darwin10.h(DEF_LD64): Update for this target version.
> * config/darwin12.h(LINK_GCC_C_SEQUENCE_SPEC): Remove rdynamic
> test. (DEF_LD64): Update for this target version.
> * configure: Regenerated.
> * config.in: Regenerated.
>
>
> Modified:
> trunk/gcc/ChangeLog
> trunk/gcc/config.in
> trunk/gcc/config/darwin.h
> trunk/gcc/config/darwin10.h
> trunk/gcc/config/darwin12.h
> trunk/gcc/configure
> trunk/gcc/configure.ac
The change breaks bootstrap on hppa64-*-*.
checking linker for compressed debug sections... 0
/xxx/gnu/gcc/gcc/gcc/configure[28336]: Syntax error at line 28360 : `<' is not
e
xpected.
More information about the Gcc-bugs
mailing list