[Bug lto/86517] relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object with LTO

2019-01-06 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86517 --- Comment #10 from Jan Hubicka --- Author: hubicka Date: Sun Jan 6 15:51:45 2019 New Revision: 267610 URL: https://gcc.gnu.org/viewcvs?rev=267610=gcc=rev Log: PR lto/86517 PR lto/88185 * lto-opts.c

[Bug lto/86517] relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object with LTO

2018-11-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86517 Martin Liška changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug lto/86517] relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object with LTO

2018-08-30 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86517 --- Comment #8 from Jan Hubicka --- Author: hubicka Date: Thu Aug 30 15:50:39 2018 New Revision: 263988 URL: https://gcc.gnu.org/viewcvs?rev=263988=gcc=rev Log: PR lto/86517 * lto-opts.c (lto_write_options): Always stream

[Bug lto/86517] relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object with LTO

2018-07-17 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86517 --- Comment #7 from Jan Hubicka --- Hi, I am attaching patch I am testing and also table generated by a script that walks through individual combinations of options. The combination rules are as follows. I tried to take into account that

[Bug lto/86517] relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object with LTO

2018-07-16 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86517 --- Comment #6 from Jan Hubicka --- The problem is logic in lto-wrapper (which is mine) /* Merge PIC options: -fPIC + -fpic = -fpic

[Bug lto/86517] relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object with LTO

2018-07-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86517 Martin Liška changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug lto/86517] relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object with LTO

2018-07-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86517 --- Comment #4 from Martin Liška --- Created attachment 44397 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44397=edit Full reproducer As mentioned in my first commit, -shared was only used in order to reduce the test-case. I'm attaching

[Bug lto/86517] relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object with LTO

2018-07-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86517 --- Comment #3 from H.J. Lu --- (In reply to Jan Hubicka from comment #2) > I think the problem here is that you can compile PIE and PIC object into pie > binary He used gcc -pie -O2 -pthread -ldl -lxml2 1.o 2.o x.a -rdynamic -flto=9 -shared

[Bug lto/86517] relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object with LTO

2018-07-14 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86517 --- Comment #2 from Jan Hubicka --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86517 > > H.J. Lu changed: > >What|Removed |Added >

[Bug lto/86517] relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object with LTO

2018-07-13 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86517 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|