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]

Re: egcs-1.1 branch, required for bootstrap on alpha-*-openbsd



  In message <19990227152933.06688@liafa1.liafa.jussieu.fr>you write:
  > This problem has already been fixed more satisfactorily and extensively
  > in the main stream. This is just a simple kludge for 1.1.2, which allows
  > building on openbsd-alpha.
  > 
  > Here is what's going on: OpenBSD does have mktemp, mkstemp, and mkstemps.
  > However, all three functions rely on an internal _gettemp function.
  > In order not to expose that name, all three functions are defined in the
  > same compilation unit... This is not a problem on machines with dynamic
  > libraries. On machines where this is not supported yet, the linker gets
  > atrociously confused as it already has one valid definition of mkstemps
  > (in the libiberty sources) and is forced to include another (since 
  > choose-temp does need mktemp to work, and hence pulls mkstemps along for
  > the ride).
  > 
  > 
  > Sat Feb 27 14:55:51 CET 1999	Marc Espie <espie@openbsd.org>
  > 	* config/t-openbsd: avoid problems with the name mkstemps 
  > 	  on machines without dynamic library support.
I've added this patch.  However, I'm still not convinced that adding OpenBSD
support to this release was a good idea.  The patch itself is rather
disgusting.

jeff


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