From libagent@cs.technion.ac.il  Tue Apr 11 09:45:38 2000
Return-Path: <libagent@cs.technion.ac.il>
Received: from libagent.cs.technion.ac.il (libagent.cs.technion.ac.il [132.68.32.100])
	by hub.freebsd.org (Postfix) with ESMTP id 6BD6F37B7B7
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 11 Apr 2000 09:45:35 -0700 (PDT)
	(envelope-from libagent@cs.technion.ac.il)
Received: (from libagent@localhost)
	by libagent.cs.technion.ac.il (8.9.3/8.9.3) id SAA42900;
	Tue, 11 Apr 2000 18:48:39 +0200 (IST)
	(envelope-from libagent)
Message-Id: <200004111648.SAA42900@libagent.cs.technion.ac.il>
Date: Tue, 11 Apr 2000 18:48:39 +0200 (IST)
From: Library Book Extensions <libagent@cs.technion.ac.il>
Reply-To: libagent@cs.technion.ac.il
To: FreeBSD-gnats-submit@freebsd.org
Subject: Perl on the RELENG_3 branch uses bogus configuration.
X-Send-Pr-Version: 3.2

>Number:         17935
>Category:       gnu
>Synopsis:       Perl in RELENG_3 uses a config file from 4-current.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    markm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 11 09:50:01 PDT 2000
>Closed-Date:    Mon May 1 11:34:08 PDT 2000
>Last-Modified:  Mon May  1 11:39:51 PDT 2000
>Originator:     Library Book Extensions
>Release:        FreeBSD 3.4-RELEASE i386
>Organization:
>Environment:

This seems to affect RELENG_3 since the MFC of 
$Id: config.SH-elf.i386,v 1.11 1999/05/02 15:29:42 markm Exp $

>Description:

Perl on RELENG_3, after the MFC of 
$Id: config.SH-elf.i386,v 1.11 1999/05/02 15:29:42 markm Exp $
(in directory src/gnu/usr.bin/perl/libperl) uses a bogus config. Perl
believes it was built on a 4-current machine, using egcs, and not on a 3.x
machine using gcc 2.7.2.x, even if one rebuilds it from source (by doing
'make' in src/gnu/usr.bin/perl/). I'm not sure what the exact implications
are, but I suspect it affects dynamically loaded modules compiled with the
native 3.x compiler.

>How-To-Repeat:

Just check the output of perl -V on a 3.x system built after 1999/05/02
15:29:42.

>Fix:
	
Probably generate a new config file. Depending on the implications (which
I'm not yet sure of) an entry in ERRATA.TXT may be in order. I don't really
know what to feed perl's Configure with to get the correct config file.
sorry.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->markm 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Wed Apr 12 02:50:41 PDT 2000 
Responsible-Changed-Why:  
Mark was the author of rev 1.10.2.1 and will know what to do. :-) 

From: Keith Stevenson <k.stevenson@louisville.edu>
To: Library Book Extensions <libagent@cs.technion.ac.il>
Cc: FreeBSD-gnats-submit@freebsd.org, markm@freebsd.org
Subject: Re: gnu/17935: Perl on the RELENG_3 branch uses bogus configuration.
Date: Wed, 12 Apr 2000 10:24:50 -0400

 --u3/rZRmxL6MmkK24
 Content-Type: text/plain; charset=us-ascii
 
 The following patch against
 /usr/src/gnu/usr.bin/perl/libperl/config.SH-elf.i386 is probably a step in the
 right direction.  I really don't think that the bogus information hurts
 anything though.  I just makes debugging a bit more confusing.
 
 Regards,
 --Keith Stevenson--
 
 -- 
 Keith Stevenson
 System Programmer - Data Center Services - University of Louisville
 k.stevenson@louisville.edu
 PGP key fingerprint =  4B 29 A8 95 A8 82 EA A2  29 CE 68 DE FC EE B6 A0
 
 --u3/rZRmxL6MmkK24
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="diff.out"
 
 --- /usr/src/gnu/usr.bin/perl/libperl/config.SH-elf.i386	Sun Aug 29 10:34:12 1999
 +++ config.sh	Wed Apr 12 10:18:18 2000
 @@ -1,22 +1,22 @@
  #!/bin/sh
  #
 -# $FreeBSD: src/gnu/usr.bin/perl/libperl/config.SH-elf.i386,v 1.10.2.3 1999/08/29 14:34:12 peter Exp $
 +# $FreeBSD$
  #
  
  # Package name      : perl5
  # Source directory  : .
 -# Configuration time: $Date: 1999/05/05 19:42:40 $
 +# Configuration time: $Date$
  # Configured by     : markm
 -# Target system     : freebsd 3.0-current #0:
 +# Target system     : freebsd 3.4-stable #0:
  
  Author=''
 -Date='$Date: 1999/05/05 19:42:40 $'
 +Date='$Date$'
  Header=''
 -Id='$FreeBSD: src/gnu/usr.bin/perl/libperl/config.SH-elf.i386,v 1.10.2.3 1999/08/29 14:34:12 peter Exp $'
 +Id='$Id$'
  Locker=''
  Mcc='Mcc'
 -RCSfile='$RCSfile: config.SH-elf.i386,v $'
 -Revision='$Revision: 1.10.2.2 $'
 +RCSfile='$RCSfile$'
 +Revision='$Revision$'
  Source=''
  State=''
  _a='.a'
 @@ -47,10 +47,10 @@
  cccdlflags='-DPIC -fpic'
  ccdlflags=' '
  ccflags=''
 -ccsymbols='__ELF__=1 __FreeBSD__=4 __FreeBSD_cc_version=400002 __GNUC_MINOR__=91 __GNUC__=2 cpu=i386 machine=i386 system=FreeBSD system=unix'
 +ccsymbols='__ELF__=1 __FreeBSD__=3 __FreeBSD_cc_version=340000 __GNUC_MINOR__=7 __GNUC__=2 cpu=i386 machine=i386 system=FreeBSD system=unix'
  cf_by='markm'
  cf_email='markm@freebsd.org'
 -cf_time='$Date: 1999/05/05 19:42:40 $'
 +cf_time='$Date$
  chgrp=''
  chmod=''
  chown=''
 @@ -323,7 +323,7 @@
  full_ar='/usr/bin/ar'
  full_csh='/bin/csh'
  full_sed='/usr/bin/sed'
 -gccversion='egcs-2.91.66 19990314 (egcs-1.1.2 release)'
 +gccversion='2.7.2.3'
  gidtype='gid_t'
  glibpth='/usr/lib'
  grep='grep'
 @@ -473,7 +473,7 @@
  optimize=${CFLAGS:-''}
  orderlib='false'
  osname='freebsd'
 -osvers='4.0-current'
 +osvers='3.4-stable'
  package='perl5'
  pager='/usr/bin/more'
  passcat='cat /etc/passwd'
 @@ -595,6 +595,7 @@
  config_arg9='-Ulocincpth='
  config_arg10='-Uloclibpth='
  config_arg11='-Dpager=more'
 +config_argc=11
  PATCHLEVEL=5
  SUBVERSION=3
  CONFIG=true
 
 --u3/rZRmxL6MmkK24--
 
State-Changed-From-To: open->closed 
State-Changed-By: markm 
State-Changed-When: Mon May 1 11:34:08 PDT 2000 
State-Changed-Why:  
This is a comments-only problem. It has absolutely no implication for 
any modules (the ports system would be in chaos if it did). 
I will try to keep this more accurate in future versions. 

Thanks for the heads-up! :-) 
>Unformatted:
