lam: FTBFS on m68k due to ICE, try lower optimization?

Bug #21614 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
Debian
Fix Released
Unknown
Ubuntu
Invalid
High
Unassigned

Bug Description

Automatically imported from Debian bug report #328206 http://bugs.debian.org/328206

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #328206 http://bugs.debian.org/328206

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Tue, 13 Sep 2005 22:41:42 -0700
From: Russ Allbery <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: lam: FTBFS on m68k due to ICE, try lower optimization?

Package: lam
Severity: serious
Justification: Policy 4.2

lam currently fails to build on m68k due to an internal gcc error:

ndi_parse.c: In function 'ndi_parse1':
ndi_parse.c:241: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.

This needs to be fixed in gcc, but in the meantime it's holding up the
lam transition into testing, which in turn is holding up hdf5 and
mpich. Perhaps you could try lowering the optimization to -O2 on
m68k to see if that works around this problem?

I took a quick look and didn't see the obvious way to make this change,
but if you need help finding a clean way to make this happen, please
let me know and I'll take a closer look.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.30
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

doorstopper bug...

Revision history for this message
In , Russ Allbery (rra-debian) wrote : lam: patch to lower optimization level

Package: lam
Followup-For: Bug #328206

Here is a patch to lower the optimization level of lam from -O3 to -O2.
This will hopefully resolve the m68k build problem, and debian-devel
mail seems to indicate this is a good idea for i386 as well.

I've tested this patch and confirmed that lam still builds and that
this eliminates any use of -O3.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.30
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Revision history for this message
In , Russ Allbery (rra-debian) wrote : tagging 328206

# Automatically generated email from bts, devscripts version 2.9.7
tags 328206 patch

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (12.1 KiB)

Message-Id: <email address hidden>
Date: Wed, 21 Sep 2005 21:53:09 -0700
From: Russ Allbery <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: lam: patch to lower optimization level

--===============0845831394==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: lam
Followup-For: Bug #328206

Here is a patch to lower the optimization level of lam from -O3 to -O2.
This will hopefully resolve the m68k build problem, and debian-devel
mail seems to indicate this is a good idea for i386 as well.

I've tested this patch and confirmed that lam still builds and that
this eliminates any use of -O3.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.30
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

--===============0845831394==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="lam.patch"

diff -ru lam-7.1.1/config/lam_cxx_bindings_setup.m4 lam-7.1.1.new/config/lam_cxx_bindings_setup.m4
--- lam-7.1.1/config/lam_cxx_bindings_setup.m4 2004-09-26 08:35:24.000000000 -0700
+++ lam-7.1.1.new/config/lam_cxx_bindings_setup.m4 2005-09-21 21:17:50.000000000 -0700
@@ -68,7 +68,7 @@
         ;;

     mips-sgi-irix*)
- OPTFLAGS="-O3"
+ OPTFLAGS="-O2"
         TEST_OPTFLAGS=$OPTFLAGS
         EXAM_OPTFLAGS=$OPTFLAGS
  ARCH=IRIX
@@ -80,7 +80,7 @@
  # like port_test.cc and request_array_test.cc. Doh!!

  NOOPT="-O0"
- OPTFLAGS="-O3"
+ OPTFLAGS="-O2"
  TEST_OPTFLAGS=$NOOPT
  EXAM_OPTFLAGS=$OPTFLAGS

diff -ru lam-7.1.1/config/lam_setup_cc.m4 lam-7.1.1.new/config/lam_setup_cc.m4
--- lam-7.1.1/config/lam_setup_cc.m4 2004-09-26 08:35:24.000000000 -0700
+++ lam-7.1.1.new/config/lam_setup_cc.m4 2005-09-21 21:17:50.000000000 -0700
@@ -156,7 +156,7 @@
 # just use -O.

 if test "$GCC" = yes; then
- OPTFLAGS="-O3"
+ OPTFLAGS="-O2"
 else
     OPTFLAGS="-O"
 fi
diff -ru lam-7.1.1/config/lam_setup_cxx.m4 lam-7.1.1.new/config/lam_setup_cxx.m4
--- lam-7.1.1/config/lam_setup_cxx.m4 2004-09-26 08:35:24.000000000 -0700
+++ lam-7.1.1.new/config/lam_setup_cxx.m4 2005-09-21 21:17:50.000000000 -0700
@@ -150,7 +150,7 @@

 # Same rationale for g++ as with gcc, above.
 if test "$GXX" = yes; then
- OPTFLAGS="-O3"
+ OPTFLAGS="-O2"
 else
     OPTFLAGS="-O"
 fi
diff -ru lam-7.1.1/configure lam-7.1.1.new/configure
--- lam-7.1.1/configure 2004-09-26 12:37:08.000000000 -0700
+++ lam-7.1.1.new/configure 2005-09-21 21:17:50.000000000 -0700
@@ -4314,7 +4314,7 @@
 # just use -O.

 if test "$GCC" = yes; then
- OPTFLAGS="-O3"
+ OPTFLAGS="-O2"
 else
     OPTFLAGS="-O"
 fi
@@ -8127,7 +8127,7 @@

 # Same rationale for g++ as with gcc, above.
 if test "$GXX" = yes; then
- OPTFLAGS="-O3"
+ OPTFLAGS="-O2"
 else
     OPTFLAGS="-O"
 fi
@@ -25069,7 +25069,7 @@
         ;;

     mips-sgi-irix*)
- OPTFLAGS="-O3"
+ OPTFLAGS="-O2"
         TEST...

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Wed, 21 Sep 2005 21:54:05 -0700
From: Russ Allbery <email address hidden>
To: <email address hidden>
Subject: tagging 328206

# Automatically generated email from bts, devscripts version 2.9.7
tags 328206 patch

Revision history for this message
In , Camm Maguire (camm) wrote : Bug#328206: fixed in lam 7.1.1-4

Source: lam
Source-Version: 7.1.1-4

We believe that the bug you reported is fixed in the latest version of
lam, which is due to be installed in the Debian FTP archive:

lam-mpidoc_7.1.1-4_all.deb
  to pool/main/l/lam/lam-mpidoc_7.1.1-4_all.deb
lam-runtime_7.1.1-4_i386.deb
  to pool/main/l/lam/lam-runtime_7.1.1-4_i386.deb
lam4-dev_7.1.1-4_i386.deb
  to pool/main/l/lam/lam4-dev_7.1.1-4_i386.deb
lam4c2_7.1.1-4_i386.deb
  to pool/main/l/lam/lam4c2_7.1.1-4_i386.deb
lam_7.1.1-4.diff.gz
  to pool/main/l/lam/lam_7.1.1-4.diff.gz
lam_7.1.1-4.dsc
  to pool/main/l/lam/lam_7.1.1-4.dsc

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Camm Maguire <email address hidden> (supplier of updated lam package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 22 Sep 2005 18:10:19 +0000
Source: lam
Binary: lam4c2 lam-runtime lam-mpidoc lam4-dev
Architecture: source i386 all
Version: 7.1.1-4
Distribution: unstable
Urgency: high
Maintainer: Camm Maguire <email address hidden>
Changed-By: Camm Maguire <email address hidden>
Description:
 lam-mpidoc - Documentation for the Message Passing Interface standard
 lam-runtime - LAM runtime environment for executing parallel programs
 lam4-dev - Development of parallel programs using LAM
 lam4c2 - Shared libraries used by LAM parallel programs
Closes: 314272 314574 316815 318152 328206
Changes:
 lam (7.1.1-4) unstable; urgency=high
 .
   * Accept NMU
   * Lower optimization to O2 on m68k, Closes: #328206
   * Czech po file, Closes: #318152
   * Vietnamese po file, CLoses: #314272
   * Add user.pdf and isntall.pdf to docs and doc-base, Closes: #314574
   * Set CC, FC, F77, and CXX environment variables to configure to ensure
     mpicc and the like only call compilers by their generic names, Closes:
     #316815
   * newer standards
Files:
 59952670ef605b3dcc5c6d659c84bd51 640 devel extra lam_7.1.1-4.dsc
 88d223f36b4e59975b2d5a0770678923 164349 devel extra lam_7.1.1-4.diff.gz
 e71ac24bdb288690a6eadbebab3bf2ce 1924164 devel extra lam4-dev_7.1.1-4_i386.deb
 e9b8778e5161e7a7f52bdf3fcd64de1e 507510 libs extra lam4c2_7.1.1-4_i386.deb
 dce8caabee0ed975d835a49a62d894b9 947472 utils extra lam-runtime_7.1.1-4_i386.deb
 d9072a4c55c19bd6cce396c035c3c761 299664 doc extra lam-mpidoc_7.1.1-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDMv7+czG1wFfwRdwRAtbcAJ9Dl+WscraR97EDgKefrTS8YauIQQCgp9zc
W/1AVFez0Op+hGXDCVblYnY=
=XhVd
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Thu, 22 Sep 2005 13:47:47 -0700
From: Camm Maguire <email address hidden>
To: <email address hidden>
Subject: Bug#328206: fixed in lam 7.1.1-4

Source: lam
Source-Version: 7.1.1-4

We believe that the bug you reported is fixed in the latest version of
lam, which is due to be installed in the Debian FTP archive:

lam-mpidoc_7.1.1-4_all.deb
  to pool/main/l/lam/lam-mpidoc_7.1.1-4_all.deb
lam-runtime_7.1.1-4_i386.deb
  to pool/main/l/lam/lam-runtime_7.1.1-4_i386.deb
lam4-dev_7.1.1-4_i386.deb
  to pool/main/l/lam/lam4-dev_7.1.1-4_i386.deb
lam4c2_7.1.1-4_i386.deb
  to pool/main/l/lam/lam4c2_7.1.1-4_i386.deb
lam_7.1.1-4.diff.gz
  to pool/main/l/lam/lam_7.1.1-4.diff.gz
lam_7.1.1-4.dsc
  to pool/main/l/lam/lam_7.1.1-4.dsc

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Camm Maguire <email address hidden> (supplier of updated lam package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 22 Sep 2005 18:10:19 +0000
Source: lam
Binary: lam4c2 lam-runtime lam-mpidoc lam4-dev
Architecture: source i386 all
Version: 7.1.1-4
Distribution: unstable
Urgency: high
Maintainer: Camm Maguire <email address hidden>
Changed-By: Camm Maguire <email address hidden>
Description:
 lam-mpidoc - Documentation for the Message Passing Interface standard
 lam-runtime - LAM runtime environment for executing parallel programs
 lam4-dev - Development of parallel programs using LAM
 lam4c2 - Shared libraries used by LAM parallel programs
Closes: 314272 314574 316815 318152 328206
Changes:
 lam (7.1.1-4) unstable; urgency=high
 .
   * Accept NMU
   * Lower optimization to O2 on m68k, Closes: #328206
   * Czech po file, Closes: #318152
   * Vietnamese po file, CLoses: #314272
   * Add user.pdf and isntall.pdf to docs and doc-base, Closes: #314574
   * Set CC, FC, F77, and CXX environment variables to configure to ensure
     mpicc and the like only call compilers by their generic names, Closes:
     #316815
   * newer standards
Files:
 59952670ef605b3dcc5c6d659c84bd51 640 devel extra lam_7.1.1-4.dsc
 88d223f36b4e59975b2d5a0770678923 164349 devel extra lam_7.1.1-4.diff.gz
 e71ac24bdb288690a6eadbebab3bf2ce 1924164 devel extra lam4-dev_7.1.1-4_i386.deb
 e9b8778e5161e7a7f52bdf3fcd64de1e 507510 libs extra lam4c2_7.1.1-4_i386.deb
 dce8caabee0ed975d835a49a62d894b9 947472 utils extra lam-runtime_7.1.1-4_i386.deb
 d9072a4c55c19bd6cce396c035c3c761 299664 doc extra lam-mpidoc_7.1.1-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDMv7+czG1wFfwRdwRAtbcAJ9Dl+WscraR97EDgKefrTS8YauIQQCgp9zc
W/1AVFez0Op+hGXDCVblYnY=
=XhVd
-----END PGP SIGNATURE-----

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.