bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/32116] warning: overriding recipe for target


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gold/32116] warning: overriding recipe for target
Date: Wed, 28 Aug 2024 12:47:53 +0000

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

--- Comment #1 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=93ea177e95d8e4a678c7e726254d12dce2d7c7de

commit 93ea177e95d8e4a678c7e726254d12dce2d7c7de
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Aug 25 08:16:38 2024 -0700

    gold: Remove duplicated rules for ifuncmain[12457]picstatic

    When HAVE_STATIC and IFUNC_STATIC both are false, "make" reports:

    Makefile:3796: warning: overriding recipe for target 'ifuncmain1picstatic'
    Makefile:3788: warning: ignoring old recipe for target
'ifuncmain1picstatic'
    Makefile:3900: warning: overriding recipe for target 'ifuncmain2picstatic'
    Makefile:3892: warning: ignoring old recipe for target
'ifuncmain2picstatic'
    Makefile:3932: warning: overriding recipe for target 'ifuncmain4picstatic'
    Makefile:3924: warning: ignoring old recipe for target
'ifuncmain4picstatic'
    Makefile:3972: warning: overriding recipe for target 'ifuncmain5picstatic'
    Makefile:3964: warning: ignoring old recipe for target
'ifuncmain5picstatic'
    Makefile:4048: warning: overriding recipe for target 'ifuncmain7picstatic'
    Makefile:4040: warning: ignoring old recipe for target
'ifuncmain7picstatic'

    due to duplicated rules for ifuncmain[12457]picstatic:

    @GCC_FALSE@ifuncmain1picstatic$(EXEEXT): $(ifuncmain1picstatic_OBJECTS)
$(ifuncmain1picstatic_DEPENDENCIES) $(EXTRA_ifuncmain1picstatic_DEPENDENCIES)
    @HAVE_STATIC_FALSE@ifuncmain1picstatic$(EXEEXT):
$(ifuncmain1picstatic_OBJECTS) $(ifuncmain1picstatic_DEPENDENCIES)
$(EXTRA_ifuncmain1picstatic_DEPENDENCIES)
    @IFUNC_FALSE@ifuncmain1picstatic$(EXEEXT): $(ifuncmain1picstatic_OBJECTS)
$(ifuncmain1picstatic_DEPENDENCIES) $(EXTRA_ifuncmain1picstatic_DEPENDENCIES)
    @IFUNC_STATIC_FALSE@ifuncmain1picstatic$(EXEEXT):
$(ifuncmain1picstatic_OBJECTS) $(ifuncmain1picstatic_DEPENDENCIES)
$(EXTRA_ifuncmain1picstatic_DEPENDENCIES)
    @NATIVE_LINKER_FALSE@ifuncmain1picstatic$(EXEEXT):
$(ifuncmain1picstatic_OBJECTS) $(ifuncmain1picstatic_DEPENDENCIES)
$(EXTRA_ifuncmain1picstatic_DEPENDENCIES)
   
@GCC_TRUE@@HAVE_STATIC_TRUE@@IFUNC_STATIC_TRUE@@IFUNC_TRUE@@NATIVE_LINKER_TRUE@ifuncmain1picstatic:
ifuncmain1pic.o ifuncmod1.o gcctestdir/ld

    Make rules for ifuncmain[12457]picstatic independent of HAVE_STATIC and
    IFUNC_STATIC:

    @GCC_FALSE@ifuncmain1picstatic$(EXEEXT): $(ifuncmain1picstatic_OBJECTS)
$(ifuncmain1picstatic_DEPENDENCIES) $(EXTRA_ifuncmain1picstatic_DEPENDENCIES)
    @IFUNC_FALSE@ifuncmain1picstatic$(EXEEXT): $(ifuncmain1picstatic_OBJECTS)
$(ifuncmain1picstatic_DEPENDENCIES) $(EXTRA_ifuncmain1picstatic_DEPENDENCIES)
    @NATIVE_LINKER_FALSE@ifuncmain1picstatic$(EXEEXT):
$(ifuncmain1picstatic_OBJECTS) $(ifuncmain1picstatic_DEPENDENCIES)
$(EXTRA_ifuncmain1picstatic_DEPENDENCIES)
    @GCC_TRUE@@IFUNC_TRUE@@NATIVE_LINKER_TRUE@ifuncmain1picstatic:
ifuncmain1pic.o ifuncmod1.o gcctestdir/ld

            PR gold/32116
            * testsuite/Makefile.am (ifuncmain1picstatic): Make it independent
            of HAVE_STATIC and IFUNC_STATIC.
            (ifuncmain2picstatic): Likewise.
            (ifuncmain4picstatic): Likewise.
            (ifuncmain5picstatic): Likewise.
            (ifuncmain7picstatic): Likewise.
            * testsuite/Makefile.in: Regenerated.

    Signed-off-by: H.J. Lu <hjl.tools@gmail.com>

-- 
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]