* [parisc-linux] perl-5.6.0 build problems
@ 2001-03-14 19:59 Paul J.Y. Lahaie
2001-03-14 23:22 ` Alan Modra
0 siblings, 1 reply; 4+ messages in thread
From: Paul J.Y. Lahaie @ 2001-03-14 19:59 UTC (permalink / raw)
To: parisc-linux
[-- Attachment #1: Type: text/plain, Size: 1036 bytes --]
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
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] perl-5.6.0 build problems
2001-03-14 19:59 [parisc-linux] perl-5.6.0 build problems Paul J.Y. Lahaie
@ 2001-03-14 23:22 ` Alan Modra
2001-03-15 0:07 ` Alan Modra
0 siblings, 1 reply; 4+ messages in thread
From: Alan Modra @ 2001-03-14 23:22 UTC (permalink / raw)
To: Paul J.Y. Lahaie; +Cc: parisc-linux
On Wed, 14 Mar 2001, Paul J.Y. Lahaie wrote:
> 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
--
Linuxcare
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] perl-5.6.0 build problems
2001-03-14 23:22 ` Alan Modra
@ 2001-03-15 0:07 ` Alan Modra
2001-03-15 0:22 ` John David Anglin
0 siblings, 1 reply; 4+ messages in thread
From: Alan Modra @ 2001-03-15 0:07 UTC (permalink / raw)
To: Paul J.Y. Lahaie; +Cc: parisc-linux
On Thu, 15 Mar 2001, Alan Modra wrote:
> On Wed, 14 Mar 2001, Paul J.Y. Lahaie wrote:
>
> > 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] perl-5.6.0 build problems
2001-03-15 0:07 ` Alan Modra
@ 2001-03-15 0:22 ` John David Anglin
0 siblings, 0 replies; 4+ messages in thread
From: John David Anglin @ 2001-03-15 0:22 UTC (permalink / raw)
To: Alan Modra; +Cc: pjlahaie, parisc-linux
> On Thu, 15 Mar 2001, Alan Modra wrote:
>
> > On Wed, 14 Mar 2001, Paul J.Y. Lahaie wrote:
> >
> > > 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
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-03-15 0:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-14 19:59 [parisc-linux] perl-5.6.0 build problems Paul J.Y. Lahaie
2001-03-14 23:22 ` Alan Modra
2001-03-15 0:07 ` Alan Modra
2001-03-15 0:22 ` John David Anglin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox