Front page | perl.perl5.porters |
Postings from October 2003
[perl #24228] can't compile perl-5.8.1 using gcc-3.0/glibc-2.2.5
Thread Next
From:
perlbug-followup
Date:
October 18, 2003 15:27
Subject:
[perl #24228] can't compile perl-5.8.1 using gcc-3.0/glibc-2.2.5
Message ID:
rt-24228-66109.18.1574207123317@rt.perl.org
# New Ticket Created by powerman@sky.net.ua
# Please include the string: [perl #24228]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24228 >
This is a bug report for perl from powerman@sky.net.ua,
generated with the help of perlbug 1.34 running under perl v5.8.0.
-----------------------------------------------------------------
[Please enter your report here]
This problem is only with Gcc-3.0: I've tryed Gcc-3.3.1 and it compile perl
5.8.1 without problems. But I can't upgrade Gcc on my production server yet,
so is any patch/fix/workaroung exists to compile perl-5.8.1 using gcc-3.0?
Kernel: 2.4.20
Glibc: 2.2.5 (+linuxthreads 2.2.5)
Gcc: 3.0
Binutils: 2.12.1
+ cd perl-5.8.1
+ ./Configure -Dprefix=/usr '-Doptimize= -O3 -march=athlon -mcpu=athlon ' \
-d -e -s -Dusethreads
...
+ make
`sh cflags "optimize='-O3 -march=athlon -mcpu=athlon '" miniperlmain.o` miniperlmain.c
CCCMD = cc -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon -mcpu=athlon -Wall
`sh cflags "optimize='-O3 -march=athlon -mcpu=athlon '" perl.o` perl.c
CCCMD = cc -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon -mcpu=athlon -Wall
perl.c: In function `perl_construct':
perl.c:257: Internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make: *** [perl.o] Error 1
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=install
severity=critical
---
Site configuration information for perl v5.8.0:
Configured by root at Tue Feb 11 17:22:15 EET 2003.
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.19, archname=i686-linux-thread-multi
uname='linux home.power 2.4.19 #1 ×ÓË Á×Ç 18 00:22:21 eest 2002 i686 unknown '
config_args='-Dprefix=/usr -Doptimize= -O3 -march=athlon -mcpu=athlon -d -e -s -Dinstallprefix=/usr -Dusethreads'
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', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize=' -O3 -march=athlon -mcpu=athlon ',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing'
ccversion='', gccversion='3.0', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -ldbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
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='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Locally applied patches:
---
@INC for perl v5.8.0:
/usr/lib/perl5/5.8.0/i686-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
.
---
Environment for perl v5.8.0:
HOME=/home/powerman
LANG=ru_RU.koi8r
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/home/powerman/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
PERL_BADLANG (unset)
SHELL=/bin/bash
Thread Next
-
[perl #24228] can't compile perl-5.8.1 using gcc-3.0/glibc-2.2.5
by perlbug-followup