[Bug c/71422] Total size of static objects is not limited
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71422 Eric Gallager changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #4 from Eric Gallager --- (In reply to Eric Gallager from comment #3) > (In reply to Eric Gallager from comment #2) > > (In reply to Jakub Jelinek from comment #1) > > > IMNSHO gcc shouldn't, after all, if you just put each into a separate CU, > > > gcc won't even see them together. It should be linker's responsibility to > > > complain. > > > > What if you use LTO? > > WAITING on a reply to this No reply; assuming that LTO can't actually do anything and that this is actually a linker issue as Jakub suggested.
[Bug c/71422] Total size of static objects is not limited
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71422 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed||2018-07-29 Ever confirmed|0 |1 --- Comment #3 from Eric Gallager --- (In reply to Eric Gallager from comment #2) > (In reply to Jakub Jelinek from comment #1) > > IMNSHO gcc shouldn't, after all, if you just put each into a separate CU, > > gcc won't even see them together. It should be linker's responsibility to > > complain. > > What if you use LTO? WAITING on a reply to this
[Bug c/71422] Total size of static objects is not limited
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71422 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment #2 from Eric Gallager --- (In reply to Jakub Jelinek from comment #1) > IMNSHO gcc shouldn't, after all, if you just put each into a separate CU, > gcc won't even see them together. It should be linker's responsibility to > complain. What if you use LTO?
[Bug c/71422] Total size of static objects is not limited
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71422 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- IMNSHO gcc shouldn't, after all, if you just put each into a separate CU, gcc won't even see them together. It should be linker's responsibility to complain.