From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John David Anglin" To: mark@codesourcery.com (Mark Mitchell) Cc: law@cygnus.com, gcc-patches@gcc.gnu.org, gcc@gcc.gnu.org Subject: Re: C++ Issue on GCC 3.0 branch Date: Thu, 26 Apr 2001 08:31:00 -0000 Message-id: <200104261531.LAA16759@hiauly1.hia.nrc.ca> References: <20010425173144F.mitchell@codesourcery.com> X-SW-Source: 2001-04/msg01245.html 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)