public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/39578] Linkage broken for dllimport vtables
[not found] <bug-39578-4@http.gcc.gnu.org/bugzilla/>
@ 2013-12-17 20:09 ` ktietz at gcc dot gnu.org
2013-12-18 0:50 ` tdragon at tdragon dot net
1 sibling, 0 replies; 5+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-12-17 20:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39578
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Kai Tietz <ktietz at gcc dot gnu.org> ---
I retested issue for all open branches. I can't reproduce issue anymore.
Import library contains symbol for virtual.
If issue still exists please provide a testcase demonstrating that issue for
maintained branches still exists.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/39578] Linkage broken for dllimport vtables
[not found] <bug-39578-4@http.gcc.gnu.org/bugzilla/>
2013-12-17 20:09 ` [Bug target/39578] Linkage broken for dllimport vtables ktietz at gcc dot gnu.org
@ 2013-12-18 0:50 ` tdragon at tdragon dot net
1 sibling, 0 replies; 5+ messages in thread
From: tdragon at tdragon dot net @ 2013-12-18 0:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39578
--- Comment #4 from John E. / TDM <tdragon at tdragon dot net> ---
I can confirm this has been fixed. Sorry for not doing so sooner.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/39578] Linkage broken for dllimport vtables
2009-03-29 15:28 [Bug target/39578] New: " tdragon at tdragon dot net
2009-03-29 17:47 ` [Bug target/39578] " dave dot korn dot cygwin at gmail dot com
2009-04-16 20:34 ` pinskia at gcc dot gnu dot org
@ 2009-09-12 9:54 ` ktietz at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: ktietz at gcc dot gnu dot org @ 2009-09-12 9:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from ktietz at gcc dot gnu dot org 2009-09-12 09:54 -------
I tested this bug for 4.5 and here it seems to be solved for i686-pc-mingw32.
--
ktietz at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ktietz at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39578
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/39578] Linkage broken for dllimport vtables
2009-03-29 15:28 [Bug target/39578] New: " tdragon at tdragon dot net
2009-03-29 17:47 ` [Bug target/39578] " dave dot korn dot cygwin at gmail dot com
@ 2009-04-16 20:34 ` pinskia at gcc dot gnu dot org
2009-09-12 9:54 ` ktietz at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-16 20:34 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39578
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/39578] Linkage broken for dllimport vtables
2009-03-29 15:28 [Bug target/39578] New: " tdragon at tdragon dot net
@ 2009-03-29 17:47 ` dave dot korn dot cygwin at gmail dot com
2009-04-16 20:34 ` pinskia at gcc dot gnu dot org
2009-09-12 9:54 ` ktietz at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: dave dot korn dot cygwin at gmail dot com @ 2009-03-29 17:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dave dot korn dot cygwin at gmail dot com 2009-03-29 17:47 -------
For Cygwin, we just recently made --enable-auto-import the default in CVS
binutils. Now that we're moving to shared library runtimes throughout it made
sense.
However, I think this is a real bug, as it doesn't happen on 4.3.2; we get a
direct undefined reference to the import symbol in the object file:
$ g++ -g -o vttest.exe vttest.cpp libvttest.dll.a --save-temps
admin@ubik /tmp/vttest
$ nm vttest.o
00000000 b .bss
00000000 d .data
00000000 N .debug_abbrev
00000000 N .debug_aranges
00000000 N .debug_frame
00000000 N .debug_info
00000000 N .debug_line
00000000 N .debug_loc
00000000 N .debug_pubnames
00000000 N .debug_ranges
00000000 N .debug_str
00000000 d .eh_frame
00000000 t .text
00000000 t .text$_ZN10TestObjectC1Ev
00000000 T __ZN10TestObjectC1Ev
U ___gxx_personality_v0
U ___main
U __imp___ZN10TestObject8VirtFuncEv
U __imp___ZTV10TestObject
00000000 T _main
admin@ubik /tmp/vttest
$
My earlier build of 4.3.3 with the patch for PR36654 reverted does the same
thing. However, as soon as I reapplied the patch and rebuilt cc1plus, I got
this output:
/tmp/vttest $ nm vttest.o libvtt
00000000 b .bss
00000000 d .data
00000000 N .debug_abbrev
00000000 N .debug_aranges
00000000 N .debug_frame
00000000 N .debug_info
00000000 N .debug_line
00000000 N .debug_loc
00000000 N .debug_pubnames
00000000 N .debug_ranges
00000000 N .debug_str
00000000 d .eh_frame
00000000 t .text
00000000 t .text$_ZN10TestObjectC1Ev
00000000 T __ZN10TestObjectC1Ev
U __ZTV10TestObject
U ___gxx_personality_v0
U ___main
U __imp___ZN10TestObject8VirtFuncEv
00000000 T _main
/tmp/vttest $
So I think that confirms it.
--
dave dot korn dot cygwin at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dave dot korn dot cygwin at
| |gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39578
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-12-18 0:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-39578-4@http.gcc.gnu.org/bugzilla/>
2013-12-17 20:09 ` [Bug target/39578] Linkage broken for dllimport vtables ktietz at gcc dot gnu.org
2013-12-18 0:50 ` tdragon at tdragon dot net
2009-03-29 15:28 [Bug target/39578] New: " tdragon at tdragon dot net
2009-03-29 17:47 ` [Bug target/39578] " dave dot korn dot cygwin at gmail dot com
2009-04-16 20:34 ` pinskia at gcc dot gnu dot org
2009-09-12 9:54 ` ktietz 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).