This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix "-shared" bug in collect2


> The change to using a shared libgcc for 32-bit hpux 10 and 11 exposed
> a small bug in collect2 that causes numerous failures in the g++ and objc
> testsuites.  Collect2's argument processing doesn't distinguish between
> "-shared" and "-shared-libgcc", and as a result, incorrect constructor
> files are created for non-shared objects.  Tested on hppa2.0w-hp-hpux11.11:
> <http://gcc.gnu.org/ml/gcc-testresults/2002-01/msg00034.html>.
> 
> OK?
> 
> Dave
> -- 
> J. David Anglin                                  dave.anglin@nrc.ca
> National Research Council of Canada              (613) 990-0752 (FAX: 952-660
> 5)
> 
> 2002-01-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
> 
> 	* collect2.c (main): Use strcmp when testing for "-shared".
This is fine.  Thanks for tracking it down. 

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]