* [Bug c++/14607] [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o
2004-03-16 17:19 [Bug c++/14607] New: [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o danglin at gcc dot gnu dot org
@ 2004-03-16 17:48 ` pinskia at gcc dot gnu dot org
2004-06-11 22:22 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-16 17:48 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Target Milestone|--- |3.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14607
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/14607] [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o
2004-03-16 17:19 [Bug c++/14607] New: [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o danglin at gcc dot gnu dot org
2004-03-16 17:48 ` [Bug c++/14607] " pinskia at gcc dot gnu dot org
@ 2004-06-11 22:22 ` pinskia at gcc dot gnu dot org
2004-06-11 22:40 ` dave at hiauly1 dot hia dot nrc dot ca
` (7 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-11 22:22 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.3.4 |3.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14607
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/14607] [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o
2004-03-16 17:19 [Bug c++/14607] New: [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o danglin at gcc dot gnu dot org
2004-03-16 17:48 ` [Bug c++/14607] " pinskia at gcc dot gnu dot org
2004-06-11 22:22 ` pinskia at gcc dot gnu dot org
@ 2004-06-11 22:40 ` dave at hiauly1 dot hia dot nrc dot ca
2004-06-11 22:45 ` Andrew Pinski
2004-06-11 22:45 ` pinskia at physics dot uc dot edu
` (6 subsequent siblings)
9 siblings, 1 reply; 12+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2004-06-11 22:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2004-06-11 22:40 -------
Subject: Re: [3.3 Regression] Duplicate symbol "vtable for nod
> What |Removed |Added
> ----------------------------------------------------------------------------
> Target Milestone|3.3.4 |3.3.5
I'm not sure this milestone is reasonable. I did quite a bit
of investigation on this problem and came to the conclusion that
on targets that don't support one-only semantics we are more or
less scuppered by the C++ "ABI" used by GCC.
I have been testing a fix using the support for COMDAT that's
present in the hpux 10.20 linker to implement one-only support.
If I go ahead with this fix on [3.3/3.4], the new libstdc++
library will not be compatible with the previously installed
libraries. I also note that using COMDAT instead on secondary
definition symbols (as in hpux 11) will make programs compiled
under hpux 10.20 incompatible with hpux 11. As a result, any
existing old binaries will need recompilation and linking. On
the other hand, C++ is more or less broken for any non trivial
programs at the moment. So, implementing one-only support
would be a significant improvement.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14607
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Bug c++/14607] [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o
2004-06-11 22:40 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2004-06-11 22:45 ` Andrew Pinski
0 siblings, 0 replies; 12+ messages in thread
From: Andrew Pinski @ 2004-06-11 22:45 UTC (permalink / raw)
To: gcc-bugzilla; +Cc: gcc-bugs
>
>
> ------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2004-06-11 22:40 -------
> Subject: Re: [3.3 Regression] Duplicate symbol "vtable for nod
>
> > What |Removed |Added
> > ----------------------------------------------------------------------------
> > Target Milestone|3.3.4 |3.3.5
>
> I'm not sure this milestone is reasonable. I did quite a bit
> of investigation on this problem and came to the conclusion that
> on targets that don't support one-only semantics we are more or
> less scuppered by the C++ "ABI" used by GCC.
I had forgot to say the reason why I moved it is because 3.3.4 has been released
but not announced yet, you can see for your self in ftp://gcc.gnu.org/pub/gcc/releases.
Thanks,
Andrew Pinski
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/14607] [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o
2004-03-16 17:19 [Bug c++/14607] New: [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o danglin at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-06-11 22:40 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2004-06-11 22:45 ` pinskia at physics dot uc dot edu
2004-06-11 22:52 ` dave at hiauly1 dot hia dot nrc dot ca
` (5 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: pinskia at physics dot uc dot edu @ 2004-06-11 22:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at physics dot uc dot edu 2004-06-11 22:45 -------
Subject: Re: [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o
>
>
> ------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2004-06-11 22:40 -------
> Subject: Re: [3.3 Regression] Duplicate symbol "vtable for nod
>
> > What |Removed |Added
> > ----------------------------------------------------------------------------
> > Target Milestone|3.3.4 |3.3.5
>
> I'm not sure this milestone is reasonable. I did quite a bit
> of investigation on this problem and came to the conclusion that
> on targets that don't support one-only semantics we are more or
> less scuppered by the C++ "ABI" used by GCC.
I had forgot to say the reason why I moved it is because 3.3.4 has been released
but not announced yet, you can see for your self in ftp://gcc.gnu.org/pub/gcc/releases.
Thanks,
Andrew Pinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14607
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/14607] [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o
2004-03-16 17:19 [Bug c++/14607] New: [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o danglin at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-06-11 22:45 ` pinskia at physics dot uc dot edu
@ 2004-06-11 22:52 ` dave at hiauly1 dot hia dot nrc dot ca
2004-07-20 19:52 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2004-06-11 22:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2004-06-11 22:52 -------
Subject: Re: [3.3 Regression] Duplicate symbol "vtable for nod
> > I'm not sure this milestone is reasonable. I did quite a bit
> > of investigation on this problem and came to the conclusion that
> > on targets that don't support one-only semantics we are more or
> > less scuppered by the C++ "ABI" used by GCC.
>
> I had forgot to say the reason why I moved it is because 3.3.4 has been
> released
> but not announced yet, you can see for your self in
> ftp://gcc.gnu.org/pub/gcc/releases.
I'm aware of that. I was thinking that possibly the milestone
should be 3.5 because of the change in libstdc++ ABI required
for the fix.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14607
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/14607] [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o
2004-03-16 17:19 [Bug c++/14607] New: [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o danglin at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-06-11 22:52 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2004-07-20 19:52 ` cvs-commit at gcc dot gnu dot org
2004-07-20 22:10 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-20 19:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-07-20 19:52 -------
Subject: Bug 14607
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: danglin@gcc.gnu.org 2004-07-20 19:52:13
Modified files:
gcc : ChangeLog
gcc/config/pa : pa-hpux10.h pa-protos.h pa.c pa.h som.h
gcc/doc : install.texi
Log message:
PR c++/14607
* config/pa/pa-hpux10.h (SUPPORTS_ONE_ONLY): Define.
(MAKE_DECL_ONE_ONLY): Undefine.
* pa-protos.h (som_text_section_asm_op, one_only_readonly_data_section,
readonly_data, one_only_data_section, forget_section): New prototypes.
* pa.c (pa_init_machine_status, som_text_section_asm_op): New
functions.
(pa_select_section): Add one-only (COMDAT) support.
* pa.h (struct machine_function): Define.
* som.h (ASM_OUTPUT_FUNCTION_PREFIX): Delete.
(TEXT_SECTION_ASM_OP): Call som_text_section_asm_op.
(DEFAULT_TEXT_SECTION_ASM_OP, NEW_TEXT_SECTION_ASM_OP,
ONE_ONLY_TEXT_SECTION_ASM_OP, ONE_ONLY_READONLY_DATA_SECTION_ASM_OP,
ONE_ONLY_DATA_SECTION_ASM_OP): New defines.
(EXTRA_SECTIONS): Add in_one_only_readonly_data and in_one_only_data.
(EXTRA_SECTION_FUNCTIONS): Rework to use individual function macros.
(READONLY_DATA_FUNCTION, ONE_ONLY_READONLY_DATA_SECTION_FUNCTION,
ONE_ONLY_DATA_SECTION_FUNCTION, FORGET_SECTION_FUNCTION): New defines
for EXTRA_SECTION_FUNCTIONS.
* doc/install.texi: Update binutils requirements.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.4611&r2=2.4612
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa-hpux10.h.diff?cvsroot=gcc&r1=1.19&r2=1.20
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa-protos.h.diff?cvsroot=gcc&r1=1.34&r2=1.35
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.c.diff?cvsroot=gcc&r1=1.265&r2=1.266
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.h.diff?cvsroot=gcc&r1=1.227&r2=1.228
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/som.h.diff?cvsroot=gcc&r1=1.47&r2=1.48
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/install.texi.diff?cvsroot=gcc&r1=1.298&r2=1.299
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14607
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/14607] [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o
2004-03-16 17:19 [Bug c++/14607] New: [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o danglin at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-07-20 19:52 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-20 22:10 ` pinskia at gcc dot gnu dot org
2004-08-15 4:14 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-20 22:10 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14607
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/14607] [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o
2004-03-16 17:19 [Bug c++/14607] New: [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o danglin at gcc dot gnu dot org
` (6 preceding siblings ...)
2004-07-20 22:10 ` pinskia at gcc dot gnu dot org
@ 2004-08-15 4:14 ` pinskia at gcc dot gnu dot org
2004-12-28 4:51 ` cvs-commit at gcc dot gnu dot org
2004-12-28 5:29 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-15 4:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-15 04:14 -------
So closing as fixed in 3.5.0 as this requires an ABI change.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|3.3.5 |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14607
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/14607] [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o
2004-03-16 17:19 [Bug c++/14607] New: [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o danglin at gcc dot gnu dot org
` (7 preceding siblings ...)
2004-08-15 4:14 ` pinskia at gcc dot gnu dot org
@ 2004-12-28 4:51 ` cvs-commit at gcc dot gnu dot org
2004-12-28 5:29 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-28 4:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-28 04:51 -------
Subject: Bug 14607
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: danglin@gcc.gnu.org 2004-12-28 04:51:33
Modified files:
gcc : ChangeLog configure.ac configure config.in
gcc/config/pa : pa-protos.h pa.c pa.h som.h
Log message:
PR c++/14607.
Backported from main.
* configure.ac (HAVE_GAS_NSUBSPA_COMDAT): Add check for .NSUBSPA
COMDAT support.
* configure. config.in: Rebuilt.
* config/pa/pa-protos.h (som_text_section_asm_op,
som_readonly_data_section, som_one_only_readonly_data_section,
som_one_only_data_section, forget_section): Declare.
* pa.c (override_options): Set init_machine_status to
pa_init_machine_status.
(pa_init_machine_status): New function.
(pa_output_function_epilogue): Call forget_section if TARGET_SOM and
TARGET_GAS.
(pa_asm_output_mi_thunk): Likewise.
(som_text_section_asm_op): New function.
(pa_select_section): Call som_one_only_readonly_data_section and
som_one_only_data_section when appropriate.
* pa.h (struct machine_function): Define.
(EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS,
SOM_READONLY_DATA_SECTION_FUNCTION,
SOM_ONE_ONLY_READONLY_DATA_SECTION_FUNCTION
SOM_ONE_ONLY_DATA_SECTION_FUNCTION, FORGET_SECTION_FUNCTION): New
macros.
* som.h (ASM_OUTPUT_FUNCTION_PREFIX): Delete.
(TEXT_SECTION_ASM_OP): Call som_text_section_asm_op.
(READONLY_DATA_ASM_OP, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete.
(READONLY_DATA_SECTION): Call som_readonly_data_section when not PIC.
(SUPPORTS_SOM_COMDAT): New define.
(SUPPORTS_ONE_ONLY): True if SUPPORTS_WEAK or SUPPORTS_SOM_COMDAT.
(MAKE_DECL_ONE_ONLY): Rework common support.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.755&r2=2.2326.2.756
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/configure.ac.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.6.2.18&r2=2.6.2.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/configure.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.794.2.20&r2=1.794.2.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config.in.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.181.4.5&r2=1.181.4.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa-protos.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.29.4.2&r2=1.29.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.235.4.8&r2=1.235.4.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.208.4.6&r2=1.208.4.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/som.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.47&r2=1.47.6.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14607
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/14607] [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o
2004-03-16 17:19 [Bug c++/14607] New: [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o danglin at gcc dot gnu dot org
` (8 preceding siblings ...)
2004-12-28 4:51 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-28 5:29 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-28 5:29 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.0 |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14607
^ permalink raw reply [flat|nested] 12+ messages in thread