C++ Issue on GCC 3.0 branch
John David Anglin
dave@hiauly1.hia.nrc.ca
Thu Apr 26 08:31:00 GMT 2001
Mark,
> After making Dave work hard sending me lots of information, it turns
> out that his original patch is exactly the right thing.
>
> I checked in the attached, on both the mainline and the branch;
> hopefully it will remove the duplicate symbols on HPUX.
While I am certain that the patch eliminates the duplicate symbols, I
am still concerned that assemble_external is being called with TREE_PUBLIC
and DECL_EXTERNAL set for the type declarations. This causes .IMPORT
statements to be generated for the symbols under hpux. While this appears
harmless under HPUX, I am not sure it would be under all circumstances.
It seemed to me that when there is no weak support these declarations
should not be external. I remember there was some discussion of this
under AIX back in January.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
More information about the Gcc
mailing list