Bug#333510: [FTBFS] perl fails on arm with -O2

2005-10-21 Thread Lennert Buytenhek
Please also enable the workaround for the armeb (big-endian ARM)
arch.  The original patch from Riku checked for arm*, which does
include armeb, but the patch that went in checks for arm-*.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Processed: Re: Bug#333510: [FTBFS] perl fails on arm with -O2

2005-10-13 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> reopen 333510
Bug#333510: [FTBFS] perl fails on arm with -O2
Bug reopened, originator not changed.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#333510: [FTBFS] perl fails on arm with -O2

2005-10-13 Thread Brendan O'Dea
reopen 333510
thanks

On Thu, Oct 13, 2005 at 01:49:45PM +1000, Brendan O'Dea wrote:
>Building a new package now.  I've dropped the optimisation on only the
>following files (which proved to be the source of the problem on other
>architectures): pp_ctl.c, pp_hot.c and pp_sort.c .
>
>If this doesn't fix the problem, re-open and I'll drop everything to
>-O1.

Drats.  That didn't work.

While I can simplly drop the optimisation level entirely, I've been able
in the past to do so only on specific problem code (which is my
preference).

A login to an unstable arm box would help a lot (hence the CC to Vince).

--bod


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#333510: [FTBFS] perl fails on arm with -O2

2005-10-12 Thread Brendan O'Dea
On Wed, Oct 12, 2005 at 12:01:03PM +0300, Riku Voipio wrote:
>Perl fails to build on arm/armeb with -O2 optimization and current gcc4.
>with -01, perl compiled fine and pass testsuites withoout a problem. By
>using the following patch instead of the current 63_debian_ppc_opt..
>patch, this (gcc) issue can be worked around.

Building a new package now.  I've dropped the optimisation on only the
following files (which proved to be the source of the problem on other
architectures): pp_ctl.c, pp_hot.c and pp_sort.c .

If this doesn't fix the problem, re-open and I'll drop everything to
-O1.

Would have tested this first, but unfortunately there doesn't seem to be
an arm machine available for developers right now...

--bod


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#333510: [FTBFS] perl fails on arm with -O2

2005-10-12 Thread Riku Voipio
Package: perl
Version: 5.8.7-5
Severity: serious
Justification: no longer builds from source

Perl fails to build on arm/armeb with -O2 optimization and current gcc4.
with -01, perl compiled fine and pass testsuites withoout a problem. By
using the following patch instead of the current 63_debian_ppc_opt..
patch, this (gcc) issue can be worked around.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: arm (armv4l)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages perl depends on:
ii  libc6 2.3.5-6GNU C Library: Shared libraries an
ii  libdb4.2  4.2.52-19  Berkeley v4.2 Database Libraries [
ii  libgdbm3  1.8.3-2GNU dbm database routines (runtime
ii  perl-base 5.8.7-3The Pathologically Eclectic Rubbis
ii  perl-modules  5.8.7-5Core Perl modules

Versions of packages perl recommends:
pn  perl-doc   (no description available)

-- no debconf information
Don't need to downgrade optimisation on ppc with gcc 4.0

diff -Naur --exclude=debian perl-5.8.7.orig/hints/linux.sh 
perl-5.8.7/hints/linux.sh
--- perl-5.8.7.orig/hints/linux.sh  2005-04-05 06:08:31.0 +1000
+++ perl-5.8.7/hints/linux.sh   2005-10-11 11:00:00.0 +
@@ -90,7 +90,7 @@
 '')
 optimize='-O2'
 case "`uname -m`" in
-ppc*)
+arm*)
 # on ppc, it seems that gcc (at least gcc 3.3.2) isn't happy
# with -O2 ; so downgrade to -O1.
 optimize='-O1'