Skip to contentSkip to conversation

perl-5.6.0 build problems

parisc-linux Paul J.Y. Lahaie 3 participants 4 messages Mar 14, 2001 – Mar 15, 2001

lore
Share & tools
lore
#0 lore raw

Hello everyone,

I've been trying to get perl-5.6.0 building since its required for the boot-floppies package (base tar ball needs base-config which requires debconf-utils, which requires perl-5.6). Unfortunately, perl-5.6 does not work correctly once compiled.

If I use the debian build (with the patch), perl.static and perl.debug complete building, but a dynamic version crashes immediately on startup from loading libperl.so.5.6.0 with the following fault:

do_page_fault() pid=21621 command='miniperl' type=6 address=0x00000797

If I only build the static and debug versions, the ./perl installperl program crashes with the following error:

do_page_fault() pid=1781 command='perl' type=6 address=0x09280003

I've also tried building perl-5.6 w/o any changes (from the .orig.tar.gz) and the same thing happens. If it would help, I can install gdb/strace to find out at which point the faults happens. If anyone has managed to get a work perl5.6, please let me know, so I can get it ready for the install package.

- Paul

#1 lore raw
Quoted 3 lines · Paul J.Y. Lahaie

If I use the debian build (with the patch), perl.static and perl.debug complete building, but a dynamic version crashes immediately on startup from loading libperl.so.5.6.0 with the following fault:

Is this with the latest fix to gcc?

date: 2001/03/14 04:19:13; author: amodra; state: Exp; lines: +5 -0 Don't assume a LO_SUM is fixed except during alias analysis.

Alan

Signature · 1 line
Linuxcare
#2 lore raw
Quoted 7 lines · Alan Modra
Quoted 3 lines · Paul J.Y. Lahaie

If I use the debian build (with the patch), perl.static and perl.debug complete building, but a dynamic version crashes immediately on startup from loading libperl.so.5.6.0 with the following fault:

Is this with the latest fix to gcc?

Ermm, should have read your last message first. What about all the libraries that perl is loading though? And where did the crash occur?

You can find the crash location within a shared lib by doing

ldd <binary that crashed ie. miniperl>

Note the load addresses, and compare against do_fage_fault dump IAOQ. Then

objdump -d <library> | less

To double check, the instruction that faulted should be the same as the do_page_fault IIR.

#3 lore raw
Quoted 9 lines · Alan Modra
Quoted 8 lines · Paul J.Y. Lahaie
Quoted 4 lines

If I use the debian build (with the patch), perl.static and perl.debug complete building, but a dynamic version crashes immediately on startup from loading libperl.so.5.6.0 with the following fault:

Is this with the latest fix to gcc?

Alan is correct that the LO_SUM patch is very important for pic code.

This patch probably isn't in the tree
<http://gcc.gnu.org/ml/gcc-patches/2001-03/msg00524.html>. I found it in pic code using long longs. Richard Kenner recently fixed aliasing problems affecting both pic and non pic code
<http://gcc.gnu.org/ml/gcc-patches/2001-03/msg00725.html>. It fixed problems with insns being incorrectly deleted. I know there is at least one testsuite problem left for pic code that isn't there for non pic code. This appears at -O3, so you might try reducing your opt level.

Dave

Signature · 2 lines
J. David Anglin                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)