🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #476

gdb 4.6/ISC 2.2.1/.NOEXPORT

#476
From: Karl Berry
Date: Wed, 14 Oct 1992 10:33
55 lines
1973 bytes
I tried to compile GDB 4.6 on Interactive Unix 2.2.1, a system
V-based-but-supposedly-POSIX system, and had a few troubles, which I
will detail in separate messages.

I did `configure i386-sysv', and compiled with
CC="gcc -O -posix -DHAVE_UNISTD_H -DUSG -DTIOCGETC_BROKEN -DTIOCGLTC_BROKEN"

GNU make 3.62 breaks compiling libiberty, mmalloc, and readline, since
the Makefiles don't contain the magic .NOEXPORT to stop exporting all
envvars.  Here is a patch.  (The ChangeLog entry applies to all three
directories!)

Fri Oct  2 14:59:26 1992  Karl Berry  (karl@cs.umb.edu)

	* Makefile.in (.NOEXPORT): New target.

*** libiberty/ORIG/Makefile.in	Fri Jun 19 18:18:14 1992
--- libiberty/./Makefile.in	Fri Oct  2 14:23:36 1992
***************
*** 79,84 ****
--- 79,86 ----
  # even if they are in libc. (Perhaps the libc version is buggy.)
  EXTRA_OFILES = 
  
+ .NOEXPORT:
+ 
  all:	$(TARGETLIB)
  .PHONY: check
  check:
*** mmalloc/ORIG/Makefile.in	Tue Apr 21 00:07:31 1992
--- mmalloc/./Makefile.in	Sun Oct 11 12:04:33 1992
***************
*** 84,89 ****
--- 84,91 ----
  
  STAGESTUFF =	$(TARGETLIB) *.o
  
+ .NOEXPORT:
+ 
  all:		$(TARGETLIB)
  
  info:
*** readline/ORIG/Makefile.in	Tue Apr 21 14:55:48 1992
--- readline/./Makefile.in	Sun Oct 11 12:04:33 1992
***************
*** 102,107 ****
--- 102,109 ----
  
  STAGESTUFF = *.o
  
+ .NOEXPORT:
+ 
  all: libreadline.a
  
  check:
Technical Details
Message-ID: <199210141833.AA11841@claude.cs.umb.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!ukma!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!claude.cs.umb.edu!karl

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!ukma!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!claude.cs.umb.edu!karl
From: karl@claude.cs.umb.edu (Karl Berry)
Subject: gdb 4.6/ISC 2.2.1/.NOEXPORT
Message-ID: <199210141833.AA11841@claude.cs.umb.edu>
Sender: gnulists@ai.mit.edu
Reply-To: karl@cs.umb.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 14 Oct 1992 10:33:14 GMT
Approved: bug-gdb@prep.ai.mit.edu
Lines: 56