public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug target/42904] Attribute dllexport should imply externally_visible [not found] <bug-42904-4@http.gcc.gnu.org/bugzilla/> @ 2010-11-30 7:45 ` d.g.gorbachev at gmail dot com 2010-11-30 17:56 ` davek at gcc dot gnu.org 2010-11-30 18:05 ` davek at gcc dot gnu.org 2 siblings, 0 replies; 6+ messages in thread From: d.g.gorbachev at gmail dot com @ 2010-11-30 7:45 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42904 --- Comment #4 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2010-11-30 07:39:04 UTC --- Fixed? ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/42904] Attribute dllexport should imply externally_visible [not found] <bug-42904-4@http.gcc.gnu.org/bugzilla/> 2010-11-30 7:45 ` [Bug target/42904] Attribute dllexport should imply externally_visible d.g.gorbachev at gmail dot com @ 2010-11-30 17:56 ` davek at gcc dot gnu.org 2010-11-30 18:05 ` davek at gcc dot gnu.org 2 siblings, 0 replies; 6+ messages in thread From: davek at gcc dot gnu.org @ 2010-11-30 17:56 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42904 Dave Korn <davek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED URL| |http://gcc.gnu.org/ml/gcc-p | |atches/2010-11/msg02190.htm | |l Depends on| |46709 Resolution| |FIXED AssignedTo|davek at gcc dot gnu.org |ktietz at gcc dot gnu.org --- Comment #5 from Dave Korn <davek at gcc dot gnu.org> 2010-11-30 17:31:32 UTC --- Yes, Kai's patch (see URL) works for -fwhole-program as well as LTO :) ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/42904] Attribute dllexport should imply externally_visible [not found] <bug-42904-4@http.gcc.gnu.org/bugzilla/> 2010-11-30 7:45 ` [Bug target/42904] Attribute dllexport should imply externally_visible d.g.gorbachev at gmail dot com 2010-11-30 17:56 ` davek at gcc dot gnu.org @ 2010-11-30 18:05 ` davek at gcc dot gnu.org 2 siblings, 0 replies; 6+ messages in thread From: davek at gcc dot gnu.org @ 2010-11-30 18:05 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42904 Dave Korn <davek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.6.0 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/42904] New: Attribute dllexport should imply externally_visible @ 2010-01-30 2:20 d dot g dot gorbachev at gmail dot com 2010-01-30 2:21 ` [Bug target/42904] " d dot g dot gorbachev at gmail dot com ` (2 more replies) 0 siblings, 3 replies; 6+ messages in thread From: d dot g dot gorbachev at gmail dot com @ 2010-01-30 2:20 UTC (permalink / raw) To: gcc-bugs -- Summary: Attribute dllexport should imply externally_visible Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com GCC target triplet: *-*-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42904 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/42904] Attribute dllexport should imply externally_visible 2010-01-30 2:20 [Bug target/42904] New: " d dot g dot gorbachev at gmail dot com @ 2010-01-30 2:21 ` d dot g dot gorbachev at gmail dot com 2010-05-17 17:02 ` davek at gcc dot gnu dot org 2010-05-17 18:29 ` davek at gcc dot gnu dot org 2 siblings, 0 replies; 6+ messages in thread From: d dot g dot gorbachev at gmail dot com @ 2010-01-30 2:21 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-01-30 02:21 ------- Created an attachment (id=19757) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19757&action=view) Testcase Produces "undefined reference to `_foo'" error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42904 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/42904] Attribute dllexport should imply externally_visible 2010-01-30 2:20 [Bug target/42904] New: " d dot g dot gorbachev at gmail dot com 2010-01-30 2:21 ` [Bug target/42904] " d dot g dot gorbachev at gmail dot com @ 2010-05-17 17:02 ` davek at gcc dot gnu dot org 2010-05-17 18:29 ` davek at gcc dot gnu dot org 2 siblings, 0 replies; 6+ messages in thread From: davek at gcc dot gnu dot org @ 2010-05-17 17:02 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from davek at gcc dot gnu dot org 2010-05-17 17:02 ------- Yes, it certainly does, in fact it omits to compile any definition for 'foo' whatsoever! But isn't this the expected behaviour of using '-fwhole-program' on something that is not the whole program? I'm not sure if the option is supposed to be suitable for use when building a shared library, I'll ask on the mailing list. -- davek at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |davek at gcc dot gnu dot org Known to work| |4.3.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42904 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/42904] Attribute dllexport should imply externally_visible 2010-01-30 2:20 [Bug target/42904] New: " d dot g dot gorbachev at gmail dot com 2010-01-30 2:21 ` [Bug target/42904] " d dot g dot gorbachev at gmail dot com 2010-05-17 17:02 ` davek at gcc dot gnu dot org @ 2010-05-17 18:29 ` davek at gcc dot gnu dot org 2 siblings, 0 replies; 6+ messages in thread From: davek at gcc dot gnu dot org @ 2010-05-17 18:29 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from davek at gcc dot gnu dot org 2010-05-17 18:28 ------- Consensus seems to be that this is indeed "how it's meant to work", but that figuring out which are the externally visible functions and marking them automatically would be a nice enhancement that would make the -fwhole-program option work on libraries, so I think we should do it. -- davek at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |davek at gcc dot gnu dot org |dot org | Severity|normal |enhancement Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-05-17 18:28:38 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42904 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-11-30 17:32 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-42904-4@http.gcc.gnu.org/bugzilla/> 2010-11-30 7:45 ` [Bug target/42904] Attribute dllexport should imply externally_visible d.g.gorbachev at gmail dot com 2010-11-30 17:56 ` davek at gcc dot gnu.org 2010-11-30 18:05 ` davek at gcc dot gnu.org 2010-01-30 2:20 [Bug target/42904] New: " d dot g dot gorbachev at gmail dot com 2010-01-30 2:21 ` [Bug target/42904] " d dot g dot gorbachev at gmail dot com 2010-05-17 17:02 ` davek at gcc dot gnu dot org 2010-05-17 18:29 ` davek at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).