bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: automake-1.9.6 make check failed on Solaris 8


From: Frank Middleton
Subject: Re: automake-1.9.6 make check failed on Solaris 8
Date: Mon, 28 Aug 2006 10:40:14 -0400
User-agent: Mozilla Thunderbird 1.0 (X11/20041208)

Ralf Wildenhues wrote:
Hello Frank,

* Frank Middleton wrote on Sat, Aug 26, 2006 at 04:34:21PM CEST:

The most recent gcc Sparc binary I could find was 3.4.2.
The problem I am trying to solve is with "R"  *** caught bus error ***
address 5, cause 'invalid alignment'.

That can be anything from a compiler or assembler bug to a programming
error in "R".

It was a compiler bug. R works very well on Sparc/Solaris 8 with gcc 4.1.1.

Is this an automake problem? Building guile-1.8.0 (required for gcc 4.1.1)

sh ./configure
.....
checking for __gmpz_init in -lgmp... no
configure: error: GNU MP not found, see README
# nm  /usr/local/lib/libgmp.so | grep __gmpz_init
[897]   |         88736|          64|FUNC |GLOB |0    |13     |__gmpz_init

No.  To find out who is at fault here, look at the part of config.log
that deals with this test.  It usually provides clues as to what is
going wrong here.

MPFR failed the same way. I worked around it by using --with-gmp-dir.
Thanks for your suggestion about config.log, which reported
/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.2/../../../libgmp.so: wrong ELF 
class: ELFCLASS64
The problem went away with gcc 4.1.1, so I suppose it was 3.4.2 package
problem.

Here's the make check output. If there's anything else you need or if
there are any other tests you'd like to run please let me know - only
too happy to help...

2 of 517 tests failed

uname -a

SunOS apogee2 5.8 Generic_108528-18 sun4u sparc SUNW,Ultra-5_10 Solaris

gcc --version

gcc (GCC) 3.4.2


Please do a
  cd tests
  VERBOSE=x TESTS="ltconv.test subobj9.test" make -e check

and send the output, so we can see whether these bugs have since been
fixed or whether they are unknown.

Thanks,
Ralf

No problem - here it is (now with gcc 4.1.1, bash version 3.1.0(3))...

Regards -- Frank
root:/usr/local/automake-1.9.6/tests# VERBOSE=x TESTS="ltconv.test 
subobj9.test" make -e check
make  defs aclocal-1.9 automake-1.9
`defs' is up to date.
`aclocal-1.9' is up to date.
`automake-1.9' is up to date.
make  check-TESTS
/usr/local/automake-1.9.6/tests:/usr/local/bin:/opt/csw/bin:/usr/ucblib:/usr/ccs/bin:/usr/ccs/lib:/usr/local/lib:/usr/openwin:/usr/bin:.:/home/frank/scripts:/usr/local/include:/usr/lib:/usr/ucbinclude:/usr/ucb:/bin:/usr/openwin/bin:/usr/X11/bin:/usr/heimdal/include:/usr/acad/acad:/usr/acad:/usr/acad/ads:/usr/acad/ade:/opt/SUNWns6:/home/frank:/opt/sfw/bin
ltconv: running libtoolize --version
libtoolize (GNU libtool) 1.5

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
ltconv: running gcc --version
gcc (GCC) 4.1.1
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

=== Running test ./ltconv.test
+ pwd
/usr/local/automake-1.9.6/tests/testSubDir
+ set -e
+ cat
+ mkdir sub1
+ mkdir sub2
+ mkdir sub2/sub21
+ mkdir sub2/sub22
+ mkdir empty
+ cat
+ cat
+ echo int sub1 () { return 1; }
+ cat
+ echo int sub2 () { return 2; }
+ cat
+ echo int sub21 () { return 21; }
+ cat
+ echo int sub22 () { return 22; }
+ cat
#include <stdio.h>
int main ()
{
 if (1 != sub1 ())
   return 1;
 if (2 != sub2 ())
   return 2;
 if (21 != sub21 ())
   return 3;
 if (22 != sub22 ())
   return 4;
 return 0;
}
+ libtoolize
You should add the contents of `/usr/local/share/aclocal/libtool.m4' to 
`aclocal.m4'.
+ aclocal-1.9 -I /usr/local/automake-1.9.6/tests/../m4 -I 
/usr/local/share/aclocal
/usr/local/share/aclocal/xmms.m4:17: warning: underquoted definition of 
XMMS_TEST_VERSION
 run info '(automake)Extending aclocal'
 or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/local/share/aclocal/xmms.m4:62: warning: underquoted definition of 
AM_PATH_XMMS
/usr/local/share/aclocal/sdl.m4:11: warning: underquoted definition of 
AM_PATH_SDL
/usr/local/share/aclocal/pkg.m4:5: warning: underquoted definition of 
PKG_CHECK_MODULES
/usr/local/share/aclocal/gtk-2.0.m4:8: warning: underquoted definition of 
AM_PATH_GTK_2_0
/usr/local/share/aclocal/glib-gettext.m4:71: warning: underquoted definition of 
AM_GLIB_WITH_NLS
/usr/local/share/aclocal/glib-gettext.m4:203: warning: underquoted definition 
of AM_GLIB_GNU_GETTEXT
/usr/local/share/aclocal/glib-2.0.m4:8: warning: underquoted definition of 
AM_PATH_GLIB_2_0
+ autoconf
+ automake-1.9 --foreign -Werror -Wall --add-missing
+ pwd
+ pwd
+ pwd
+ ./configure --prefix=/usr/local/automake-1.9.6/tests/testSubDir/empty 
--libdir=/usr/local/automake-1.9.6/tests/testSubDir/lib 
--bindir=/usr/local/automake-1.9.6/tests/testSubDir/bin
checking for a BSD-compatible install... /usr/local/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking for a sed that does not truncate output... /usr/local/bin/sed
checking for egrep... egrep
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 262144
checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.8 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.8 ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.8 ld.so
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sub1/Makefile
config.status: creating sub2/Makefile
config.status: creating sub2/sub21/Makefile
config.status: creating sub2/sub22/Makefile
config.status: executing depfiles commands
+ make
mksh: Fatal error: Could not load Shell from `bash': Bad file number
Current working directory /usr/local/automake-1.9.6/tests/testSubDir
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
FAIL: ltconv.test
/usr/local/automake-1.9.6/tests:/usr/local/bin:/opt/csw/bin:/usr/ucblib:/usr/ccs/bin:/usr/ccs/lib:/usr/local/lib:/usr/openwin:/usr/bin:.:/home/frank/scripts:/usr/local/include:/usr/lib:/usr/ucbinclude:/usr/ucb:/bin:/usr/openwin/bin:/usr/X11/bin:/usr/heimdal/include:/usr/acad/acad:/usr/acad:/usr/acad/ads:/usr/acad/ade:/opt/SUNWns6:/home/frank:/opt/sfw/bin
subobj9: running libtoolize --version
libtoolize (GNU libtool) 1.5

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
subobj9: running g++ --version
g++ (GCC) 4.1.1
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

=== Running test ./subobj9.test
+ pwd
/usr/local/automake-1.9.6/tests/testSubDir
+ cat
+ cat
+ mkdir src
+ cat
+ cat
+ set -e
+ libtoolize --force
You should add the contents of `/usr/local/share/aclocal/libtool.m4' to 
`aclocal.m4'.
+ aclocal-1.9 -I /usr/local/automake-1.9.6/tests/../m4 -I 
/usr/local/share/aclocal
/usr/local/share/aclocal/xmms.m4:17: warning: underquoted definition of 
XMMS_TEST_VERSION
 run info '(automake)Extending aclocal'
 or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/local/share/aclocal/xmms.m4:62: warning: underquoted definition of 
AM_PATH_XMMS
/usr/local/share/aclocal/sdl.m4:11: warning: underquoted definition of 
AM_PATH_SDL
/usr/local/share/aclocal/pkg.m4:5: warning: underquoted definition of 
PKG_CHECK_MODULES
/usr/local/share/aclocal/gtk-2.0.m4:8: warning: underquoted definition of 
AM_PATH_GTK_2_0
/usr/local/share/aclocal/glib-gettext.m4:71: warning: underquoted definition of 
AM_GLIB_WITH_NLS
/usr/local/share/aclocal/glib-gettext.m4:203: warning: underquoted definition 
of AM_GLIB_GNU_GETTEXT
/usr/local/share/aclocal/glib-2.0.m4:8: warning: underquoted definition of 
AM_PATH_GLIB_2_0
+ autoconf
+ automake-1.9 --foreign -Werror -Wall -a
+ ./configure
checking for a BSD-compatible install... /usr/local/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/local/bin/sed
checking for egrep... egrep
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 262144
checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.8 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.8 ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.8 ld.so
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
+ ./libtool --help
./subobj9.test: ./libtool: not found
+ grep tag=TAG
FAIL: subobj9.test
=====================================
2 of 2 tests failed
Please report to address@hidden
=====================================
*** Error code 1
make: Fatal error: Command failed for target `check-TESTS'
Current working directory /usr/local/automake-1.9.6/tests
*** Error code 1
make: Fatal error: Command failed for target `check-am'






reply via email to

[Prev in Thread] Current Thread [Next in Thread]