[Bug ld/19317] plugin needed to handle lto object should not be output for plugin generated files when doing incremental link

2023-06-04 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19317

--- Comment #9 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by YunQiang Su :

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

commit a0631c1501c113c04891c9a24a9ff5276257f28d
Author: YunQiang Su 
Date:   Tue May 16 09:46:46 2023 +0800

MIPS: fix some ld testcases with compiler

1. config/default.exp:
use -mabi=32 not for -gnuabi64
xfail_from_runlist: remove an element and mark it xfail.
2. ld-elf/indirect.exp: xfail
indirect5a indirect5b indirect6a indirect6b
indirect5c indirect5d indirect6c indirect6d
3. ld-elf/pr23658-2: mips output is not common
4. ld-elf/shared.exp: non-run on mips: Build libpr16496b.so
5. ld-elfvers/vers.exp:
xfail vers4, vers4b
no-run on mips: vers24a, vers24b, vers24c
6. ld-gc/gc.exp: add -KPIC into asflags for pr13683, pr14265, pr19161
7. ld-mips-elf/mips-elf.exp:
use noarch for mips16-local-stubs-1, since it use -mips4
8. ld-plugin/lto.exp:
no-run on mips/linux: PR ld/12982
add -KPIC into asflags for lto-3r, lto-5r, PR ld/19317 (2)
xfail PR ld/15323 (4), PR ld/19317 (3)
9. ld-plugin/plugin.exp: xfail
plugin claimfile lost symbol
plugin claimfile replace symbol
plugin claimfile replace symbol
plugin claimfile lost symbol with source
plugin claimfile replace symbol with source
plugin claimfile resolve symbol with source
plugin 2 with source lib
load plugin 2 with source
plugin 3 with source lib
load plugin 3 with source
11. ld-selective/selective.exp: add -fno-PIC, which is needed for
-mno-abicalls
12. ld-shared/shared.exp: xfail shared (non PIC), shared (PIC main, non PIC
so)

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


[Bug ld/19317] plugin needed to handle lto object should not be output for plugin generated files when doing incremental link

2015-12-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19317

H.J. Lu  changed:

   What|Removed |Added

   Target Milestone|--- |2.27

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/19317] plugin needed to handle lto object should not be output for plugin generated files when doing incremental link

2015-12-10 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19317

--- Comment #6 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by H.J. Lu :

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

commit bebf4942b083027860539b7c5e0649714b92e401
Author: H.J. Lu 
Date:   Thu Dec 10 11:28:48 2015 -0800

ld -r doesn't need plugin for slim lto object

Plugin isn't required on slim lto object for relocatable link.

PR ld/19317
* symtab.cc (Symbol_table::add_from_relobj): Don't complain
plugin needed to handle slim lto object for relocatable link.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/19317] plugin needed to handle lto object should not be output for plugin generated files when doing incremental link

2015-12-10 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19317

--- Comment #7 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by H.J. Lu :

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

commit c5847ba7267b6eedd4b750f5eeece3ec037a27fd
Author: H.J. Lu 
Date:   Thu Dec 10 12:35:35 2015 -0800

ld -r doesn't need plugin for slim lto object

Plugin isn't required on slim lto object for relocatable link.

bfd/

PR ld/19317
* linker.c (_bfd_generic_link_add_one_symbol): Don't complain
plugin needed to handle slim lto object for relocatable link.

ld/testsuite/

PR ld/19317
* ld-plugin/lto.exp (lto_no_fat): New.
(lto_link_tests): Add a test for PR ld/19317.
(lto_run_tests): Likewise.
(run_ld_link_tests): Likewise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/19317] plugin needed to handle lto object should not be output for plugin generated files when doing incremental link

2015-12-10 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19317

H.J. Lu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from H.J. Lu  ---
Fixed for 2.27.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/19317] plugin needed to handle lto object should not be output for plugin generated files when doing incremental link

2015-12-09 Thread hubicka at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19317

Jan Hubicka  changed:

   What|Removed |Added

 Blocks||18178


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=18178
[Bug 18178] Plugin API extensions needed to support incremental linking with
LTO
-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/19317] plugin needed to handle lto object should not be output for plugin generated files when doing incremental link

2015-12-09 Thread hubicka at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19317

Jan Hubicka  changed:

   What|Removed |Added

 Status|WAITING |NEW

--- Comment #2 from Jan Hubicka  ---
Apply patch https://gcc.gnu.org/ml/gcc-patches/2015-11/msg03530.html and try to
incremental link LTO files.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/19317] plugin needed to handle lto object should not be output for plugin generated files when doing incremental link

2015-12-09 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19317

H.J. Lu  changed:

   What|Removed |Added

   Attachment #8838|0   |1
is obsolete||

--- Comment #5 from H.J. Lu  ---
Created attachment 8839
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8839=edit
A patch for ld and gold

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/19317] plugin needed to handle lto object should not be output for plugin generated files when doing incremental link

2015-12-09 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19317

H.J. Lu  changed:

   What|Removed |Added

 CC||hjl.tools at gmail dot com

--- Comment #3 from H.J. Lu  ---
Created attachment 8838
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8838=edit
A patch

Try this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/19317] plugin needed to handle lto object should not be output for plugin generated files when doing incremental link

2015-12-09 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19317

H.J. Lu  changed:

   What|Removed |Added

Version|unspecified |2.27 (HEAD)

--- Comment #4 from H.J. Lu  ---
A simple testcase with GCC 5:

[hjl@gnu-6 bin]$ cat /tmp/x.c
#include 

int
main ()
{
  printf ("hello\n");
  return 0;
}
[hjl@gnu-6 bin]$ gcc -flto -c /tmp/x.c
[hjl@gnu-6 bin]$ ld.bfd -r x.o -o reloc.o
ld.bfd: x.o: plugin needed to handle lto object
[hjl@gnu-6 bin]$ ld.gold -r x.o -o reloc.o
x.o: plugin needed to handle lto object
[hjl@gnu-6 bin]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/19317] plugin needed to handle lto object should not be output for plugin generated files when doing incremental link

2015-12-03 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19317

H.J. Lu  changed:

   What|Removed |Added

 Status|NEW |WAITING

--- Comment #1 from H.J. Lu  ---
A testcase?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils