+-Le 09/10/2004 15:23 +0200, Leopold Toetsch a dit :
| Parrot 0.1.1 is an intermediate release with tons of updates and fixes.
Hi, I don't think it's something that should happen, so, I'm reporting that
:
g++ -o parrot -Wl,-E -L/usr/local/lib -g imcc/main.o
blib/lib/libparrot.a blib/lib/libicuuc.a blib/lib/libicudata.a -lm -lcrypt
-lutil -pthread -lgmp
./parrot -o runtime/parrot/include/parrotlib.pbc
runtime/parrot/library/parrotlib.imc
Invoking Parrot to generate runtime/parrot/include/config.fpmc --cross your
fingers
./parrot config_lib.pasm
If the next line prints 0.1.1, it did help.
./parrot parrot-config.imc VERSION DEVEL
gmake: *** [runtime/parrot/include/config.fpmc] Illegal instruction (core
dumped)
gmake: *** Deleting file `runtime/parrot/include/config.fpmc'
I've attached gdb backtrace, some config part, os, uname, gcc, what else
would be needed ?
--
Mathieu Arnold
$ gdb parrot parrot.core
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read
called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c
line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c
line 933 in fill_symbuf
Core was generated by `parrot'.
Program terminated with signal 4, Illegal instruction.
Reading symbols from /usr/lib/libcrypt.so.2...done.
Reading symbols from /usr/lib/libutil.so.3...done.
Reading symbols from /usr/local/lib/libgmp.so.6...done.
Reading symbols from /usr/lib/libstdc++.so.3...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/lib/libc_r.so.4...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0 0x829878e in Parrot_memcpy_aligned_sse_code ()
(gdb) bt
#0 0x829878e in Parrot_memcpy_aligned_sse_code ()
#1 0xbfbff558 in ?? ()
#2 0x809ac11 in Parrot_push_i (interpreter=0x8329400, where=0x8329440) at
src/generic_register.c:52
#3 0x8116e45 in Parrot_savetop (cur_opcode=0x859b0ac,
interpreter=0x8329400) at ops/stack.ops:337
#4 0x8195bdd in runops_slow_core (interpreter=0x8329400, pc=0x859b0ac) at
src/runops_cores.c:147
#5 0x8193998 in runops_int (interpreter=0x8329400, offset=0) at
src/interpreter.c:809
#6 0x819496b in runops (interpreter=0x8329400, offset=0) at
src/inter_run.c:69
#7 0x80e279a in Parrot_runcode (interpreter=0x8329400, argc=3,
argv=0xbfbff55c) at src/embed.c:750
#8 0x80e2596 in Parrot_runcode (interpreter=0x8329400, argc=3,
argv=0xbfbff55c) at src/embed.c:679
#9 0x8099ce2 in main (argc=3, argv=0xbfbff55c) at imcc/main.c:580
$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
Platform:
osname=freebsd, osvers=4.9-release, archname=i386-freebsd-64int
uname='freebsd plouf.absolight.net 4.9-release freebsd 4.9-release #3:
tue nov 4 16:14:47 cet 2003 [EMAIL PROTECTED]:usrobjusrsrcsysplouf
i386 '
config_args='-sde -Dprefix=/usr/local
-Darchlib=/usr/local/lib/perl5/5.8.5/mach
-Dprivlib=/usr/local/lib/perl5/5.8.5
-Dman3dir=/usr/local/lib/perl5/5.8.5/perl/man/man3
-Dman1dir=/usr/local/man/man1
-Dsitearch=/usr/local/lib/perl5/site_perl/5.8.5/mach
-Dsitelib=/usr/local/lib/perl5/site_perl/5.8.5 -Dscriptdir=/usr/local/bin
-Dsiteman3dir=/usr/local/lib/perl5/5.8.5/man/man3
-Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl
-Dcc=cc -Doptimize=-O -pipe -Duseshrplib
-Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.5/BSDPAN"
-Dd_dosuid=define -Ui_gdbm -Dusethreads=n -Dusemymalloc=n -Duse64bitint'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.5/BSDPAN"
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-I/usr/local/include',
optimize='-O -pipe ',
cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.5/BSDPAN"
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-I/usr/local/include'
ccversion='', gccversion='2.95.4 20020320 [FreeBSD]', 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='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-Wl,-E -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lgdbm -lm -lcrypt -lutil -lc
perllibs=-lm -lcrypt -lutil -lc
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-Wl,-R/usr/local/lib/perl5/5.8.5/mach/CORE'
cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
Built under freebsd
Compiled at Sep 15 2004 16:52:45
@INC:
/usr/local/lib/perl5/site_perl/5.8.5/mach
/usr/local/lib/perl5/site_perl/5.8.5
/usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.5/BSDPAN
/usr/local/lib/perl5/5.8.5/mach
/usr/local/lib/perl5/5.8.5
.
$ uname -a
FreeBSD plouf.absolight.net 4.9-RELEASE FreeBSD 4.9-RELEASE #3: Tue Nov 4
16:14:47 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PLOUF
i386
$ gcc -v
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]
$ g++ -v
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]
$ sysctl hw
hw.machine: i386
hw.model: Intel(R) Pentium(R) 4 CPU 2.40GHz
hw.ncpu: 2
hw.byteorder: 1234
hw.physmem: 524595200
hw.usermem: 380080128
hw.pagesize: 4096
hw.floatingpoint: 1
hw.machine_arch: i386
hw.ata.ata_dma: 1
hw.ata.wc: 1
hw.ata.tags: 0
hw.ata.atapi_dma: 0
hw.fxp_rnr: 51
hw.instruction_sse: 0
hw.availpages: 127909
hw.fxp0.int_delay: 1000
hw.fxp0.bundle_max: 6