develooper Front page | perl.perl5.porters | Postings from March 2003

[perl #21506] 5.8.0 lib/Config test failure due to compiler flag

From:
perlbug-followup
Date:
March 7, 2003 11:14
Subject:
[perl #21506] 5.8.0 lib/Config test failure due to compiler flag
Message ID:
rt-21506-53422.11.3019099596836@bugs6.perl.org
# New Ticket Created by  jhpb@hekimian.com 
# Please include the string:  [perl #21506]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=21506 >


This is a bug report for perl from jhpb@hekimian.com,
generated with the help of perlbug 1.34 running under perl v5.8.0.


-----------------------------------------------------------------
[Please enter your report here]

I got the following failure when running the regression tests:

	lib/Class/Struct.....................ok
	lib/Config...........................# Failed at ../lib/Config.t line 43
	#      got 'Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
	#   Platform:
	#     osname=hpux, osvers=11.00, archname=PA-RISC2.0-thread-multi
	#     uname='hp-ux libra b.11.00 b 9000800 858750451 16-user license '
	#     config_args='-de -Dcc=cc +DAportable -Dcf_email=jbuehler@hekimian.com -Dmydomain=.hekimian.com -Dprefix=/usr/local/perl-5.8.0 -Dusethreads -Uusemymalloc -Uinstallusrbinperl -Ui_db -Ui_gdbm -Ui_dbm -Ui_ndbm'

	..... lots of stuff deleted .....

	# yacc='yacc'
	# yaccflags=''
	# zcat=''
	# zip='zip'
	# '
	# expected /(?-xism:cc='cc +DAportable')/
	# Failed at ../lib/Config.t line 62
	#      got 'cc='cc +DAportable';
	# '
	# expected /(?-xism:^cc='cc +DAportable';)/
	FAILED at test 14
	lib/constant.........................ok

I assume that the problem is the + in the +DAportable option I added
to the compiler invocation -- it interferes with the regex match.

I use this option to force the compiler to generate binaries that are
portable to older PA-RISC processors.

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=medium
---
Site configuration information for perl v5.8.0:

Configured by root at Fri Mar  7 11:53:05 EST 2003.

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=hpux, osvers=11.00, archname=PA-RISC2.0-thread-multi
    uname='hp-ux libra b.11.00 b 9000800 858750451 16-user license '
    config_args='-de -Dcc=cc +DAportable -Dcf_email=jbuehler@hekimian.com -Dmydomain=.hekimian.com -Dprefix=/usr/local/perl-5.8.0 -Dusethreads -Uusemymalloc -Uinstallusrbinperl -Ui_db -Ui_gdbm -Ui_dbm -Ui_ndbm'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc +DAportable', ccflags =' -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ',
    optimize='+O2 +Onolimit',
    cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include'
    ccversion='A.11.00.13', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='/usr/bin/ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lnsl -lnm -lndbm -lmalloc -ldld -lm -lpthread -lc -lndir -lcrypt -lsec
    perllibs=-lnsl -lnm -lmalloc -ldld -lm -lpthread -lc -lndir -lcrypt -lsec
    libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '
    cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/local/lib'

Locally applied patches:
    

---
@INC for perl v5.8.0:
    /usr/local/perl-5.8.0/lib/5.8.0/PA-RISC2.0-thread-multi
    /usr/local/perl-5.8.0/lib/5.8.0
    /usr/local/perl-5.8.0/lib/site_perl/5.8.0/PA-RISC2.0-thread-multi
    /usr/local/perl-5.8.0/lib/site_perl/5.8.0
    /usr/local/perl-5.8.0/lib/site_perl
    .

---
Environment for perl v5.8.0:
    HOME=/home/jhpb
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/bin:/usr/bin:/usr/X386/bin:/usr/bin/X11:/usr/sbin:/sbin:/opt/SUNWspro/bin:/usr/bsd:/usr/ucb:/etc:.:/home/jhpb/bin:/home/jhpb/bin/shared:/usr/local/share/bin:/usr/local/bin:/usr/local/bin/shared:/home/ddts/bin:/usr/informix/bin:/usr/afs/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/afsws/bin:/usr/local/bin:/usr/bin/X11:/opt/lrom/bin
    PERL_BADLANG (unset)
    SHELL=/bin/ksh




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About