Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config_heavy.pl not in archlib. #7860

Closed
p5pRT opened this issue Apr 2, 2005 · 4 comments
Closed

Config_heavy.pl not in archlib. #7860

p5pRT opened this issue Apr 2, 2005 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented Apr 2, 2005

Migrated from rt.perl.org#34643 (status was 'resolved')

Searchable as RT34643$

@p5pRT
Copy link
Author

p5pRT commented Apr 2, 2005

From @Abigail

Created by @Abigail

For development purposes I want to have both a 32 and 64 bit Perl
available (and a threaded, and, ...). As far as I know, this ought
to work, with all the architecture dependent libraries either in
either i686-linux or i686-linux-64int-ld.

So, I first build a 32bit perl, did a make install, linked 'perl' to
'perl-32', then a make distclean, a build of a 64bit perl, and a make
install.

As it turns out, Config_heavy.pl has a 32/64 bit dependency, but isn't
put in archlib. So I know have a 32bit perl, that cannot use Config_heavy.pl​:

  $ ./perl-32 ./perlbug
  Invalid type 'Q' in pack at /opt/perl/5.9.2/lib/5.9.2/Config_heavy.pl line 1098.
  Compilation failed in require at /opt/perl/5.9.2/lib/5.9.2/i686-linux/Config.pm line 66.

Line 1089 of Config_heavy.pl is​:

  our $byteorder = join('', unpack('aaaaaaaa', pack('Q', $i)));

and 'Q' is only for 64bit perls.

Perl Info

Flags:
    category=core
    severity=medium

Site configuration information for perl v5.9.2:

Configured by abigail at Sat Apr  2 01:09:15 CEST 2005.

Summary of my perl5 (revision 5 version 9 subversion 2) configuration:
  Platform:
    osname=linux, osvers=2.4.18-bf2.4, archname=i686-linux-64int-ld
    uname='linux alexandra 2.4.18-bf2.4 #1 son apr 14 09:53:28 cest 2002 i686 unknown '
    config_args='-des -Dusedevel -Uversiononly -Dmydomain=.abigail.nl -Dcf_email=abigail@abigail.nl -Dperladmin=camel@abigail.nl -Doptimize=-g -Dcc=gcc -Dprefix=/opt/perl/5.9.2 -Dusemorebits'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=define
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-g',
    cppflags='-DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include'
    ccversion='', gccversion='3.0.4', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='long double', nvsize=12, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.2.5.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.2.5'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    


@INC for perl v5.9.2:
    /home/abigail/Perl
    /opt/perl/5.9.2/lib/5.9.2/i686-linux-64int-ld
    /opt/perl/5.9.2/lib/5.9.2
    /opt/perl/5.9.2/lib/site_perl/5.9.2/i686-linux-64int-ld
    /opt/perl/5.9.2/lib/site_perl/5.9.2
    /opt/perl/5.9.2/lib/site_perl
    .


Environment for perl v5.9.2:
    HOME=/home/abigail
    LANG=C
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/home/abigail/Lib:/usr/local/lib:/usr/lib:/lib:/usr/X11R6/lib
    LOGDIR (unset)
    PATH=/home/abigail/Bin:/opt/perl/bin:/usr/local/bin:/usr/local/X11/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/games:/usr/share/texmf/bin:/opt/Acrobat/bin:/opt/java/blackdown/j2sdk1.3.1/bin:/usr/local/games/bin
    PERL5LIB=/home/abigail/Perl
    PERLDIR=/opt/perl
    PERL_BADLANG (unset)
    SHELL=/bin/bash

@p5pRT
Copy link
Author

p5pRT commented Apr 2, 2005

From @nwc10

On Sat, Apr 02, 2005 at 12​:29​:07AM -0000, abigail @​ abigail. nl wrote​:

For development purposes I want to have both a 32 and 64 bit Perl
available (and a threaded, and, ...). As far as I know, this ought
to work, with all the architecture dependent libraries either in
either i686-linux or i686-linux-64int-ld.

It ought to work, and I like having the whole set available too.
(but I've not build a set for a while)

Should be fix in 24136

Nicholas Clark

@p5pRT
Copy link
Author

p5pRT commented Apr 2, 2005

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Apr 2, 2005

@nwc10 - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant