Subject: Re: gcc34 build problem on Tru64 UNIX 5.1b
To: Tobias Nygren <tnn+nbsd@nygren.pp.se>
From: Alexey Lebedev <lebedev@zhtw.org.ru>
List: pkgsrc-users
Date: 09/19/2006 19:48:56
--=-/Ia4ukhmlmPucIauJ/1I
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Tue, 2006-09-19 at 13:18 +0200, Tobias Nygren wrote:
> Alexey Lebedev wrote:
> > On Tue, 2006-09-19 at 11:05 +0100, Raymond Meyer wrote:
> > =20
> >> On Tue, 19 Sep 2006 13:44:01 +0400
> >> Alexey Lebedev <lebedev@zhtw.org.ru> wrote:
> >>
> >> =20
> >>> Hi!
> >>>
> >>> I couldn't build gcc34 on Alpha 21146 under Tru64 UNIX:
> >>> =20
> >> Have a look at config.log file, it should tell you something interesti=
ng about
> >> why an error occurs
> >> =20
> >
> > Sorry, I can't understand what problem is. Config.log contains folowing=
:
> >
> > =20
> [snip]
>=20
> There are other config.logs in gcc subdirectories.
I saw them. But "make" said that it stopped working in obj.
Only 1 of config.logs ends by "exat 1":=20
/usr/pkgsrc/lang/gcc34/work/obj/alphaev56-dec-osf5.1/libstdc
++-v3/config.log
Last 200 lines:
## Cache variables. ##
## ---------------- ##
ac_cv_build=3Dalphaev56-dec-osf5.1
ac_cv_build_alias=3Dalphaev56-dec-osf5.1
ac_cv_env_CPPFLAGS_set=3Dset
ac_cv_env_CPPFLAGS_value=3D'-O2 -O2
-I/usr/pkgsrc/lang/gcc34/work/.buildlink/include -ieee -I/usr/include
-I/usr/pkg/include -mieee'
ac_cv_env_CPP_set=3Dset
ac_cv_env_CPP_value=3Dcpp
ac_cv_env_CXXCPP_set=3Dset
ac_cv_env_CXXCPP_value=3Dcpp
ac_cv_env_build_alias_set=3Dset
ac_cv_env_build_alias_value=3Dalphaev56-dec-osf5.1
ac_cv_env_host_alias_set=3Dset
ac_cv_env_host_alias_value=3Dalphaev56-dec-osf5.1
ac_cv_env_target_alias_set=3Dset
ac_cv_env_target_alias_value=3Dalphaev56-dec-osf5.1
ac_cv_host=3Dalphaev56-dec-osf5.1
ac_cv_host_alias=3Dalphaev56-dec-osf5.1
ac_cv_prog_AWK=3Dgawk
ac_cv_prog_CC=3D'/usr/pkgsrc/lang/gcc34/work/obj/gcc/xgcc
-B/usr/pkgsrc/lang/gcc34/work/obj/gcc/
-B/usr/pkg/gcc34/alphaev56-dec-osf5.1/bin/
-B/usr/pkg/gcc34/alphaev56-dec-osf5.1/lib/
-isystem /usr/pkg/gcc34/alphaev56-dec-osf5.1/include
-isystem /usr/pkg/gcc34/alphaev56-dec-osf5.1/sys-include'
ac_cv_prog_make__usr_pkg_bin_gmake_set=3Dyes
ac_cv_target=3Dalphaev56-dec-osf5.1
ac_cv_target_alias=3Dalphaev56-dec-osf5.1
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL=3D'${SHELL} /usr/pkgsrc/lang/gcc34/work/gcc-3.4.6/missing --run
aclocal-1.7'
ALLOCATOR_H=3D''
ALLOCATOR_NAME=3D''
AMTAR=3D'${SHELL} /usr/pkgsrc/lang/gcc34/work/gcc-3.4.6/missing --run tar'
AR=3D'ar'
AS=3D'as'
ATOMICITY_SRCDIR=3D''
ATOMIC_WORD_SRCDIR=3D''
AUTOCONF=3D'${SHELL} /usr/pkgsrc/lang/gcc34/work/gcc-3.4.6/missing --run
autoconf'
AUTOHEADER=3D'${SHELL} /usr/pkgsrc/lang/gcc34/work/gcc-3.4.6/missing --run
autoheader'
AUTOMAKE=3D'${SHELL} /usr/pkgsrc/lang/gcc34/work/gcc-3.4.6/missing --run
automake-1.7'
AWK=3D'gawk'
BASIC_FILE_CC=3D''
BASIC_FILE_H=3D''
CC=3D'/usr/pkgsrc/lang/gcc34/work/obj/gcc/xgcc
-B/usr/pkgsrc/lang/gcc34/work/obj/gcc/
-B/usr/pkg/gcc34/alphaev56-dec-osf5.1/bin/
-B/usr/pkg/gcc34/alphaev56-dec-osf5.1/lib/
-isystem /usr/pkg/gcc34/alphaev56-dec-osf5.1/include
-isystem /usr/pkg/gcc34/alphaev56-dec-osf5.1/sys-include'
CCODECVT_CC=3D''
CCODECVT_H=3D''
CCOLLATE_CC=3D''
CCTYPE_CC=3D''
CFLAGS=3D'-O2 -O2 -I/usr/pkgsrc/lang/gcc34/work/.buildlink/include -ieee
-I/usr/include -I/usr/pkg/include -mieee'
CLOCALE_CC=3D''
CLOCALE_H=3D''
CLOCALE_INTERNAL_H=3D''
CMESSAGES_CC=3D''
CMESSAGES_H=3D''
CMONEY_CC=3D''
CNUMERIC_CC=3D''
CPP=3D'cpp'
CPPFLAGS=3D'-O2 -O2 -I/usr/pkgsrc/lang/gcc34/work/.buildlink/include -ieee
-I/usr/include -I/usr/pkg/include -mieee'
CSTDIO_H=3D''
CTIME_CC=3D''
CTIME_H=3D''
CXX=3D'/usr/pkgsrc/lang/gcc34/work/obj/gcc/xgcc -shared-libgcc
-B/usr/pkgsrc/lang/gcc34/work/obj/gcc/ -nostdinc++
-L/usr/pkgsrc/lang/gcc34/work/obj/alphaev56-dec-osf5.1/libstdc++-v3/src
-L/usr/pkgsrc/lang/gcc34/work/obj/alphaev56-dec-osf5.1/libstdc
++-v3/src/.libs -B/usr/pkg/gcc34/alphaev56-dec-osf5.1/bin/
-B/usr/pkg/gcc34/alphaev56-dec-osf5.1/lib/
-isystem /usr/pkg/gcc34/alphaev56-dec-osf5.1/include
-isystem /usr/pkg/gcc34/alphaev56-dec-osf5.1/sys-include'
CXXCPP=3D'cpp'
CXXFLAGS=3D'-O2 -I/usr/pkgsrc/lang/gcc34/work/.buildlink/include -ieee
-I/usr/include -I/usr/pkg/include -ieee -mieee -fno-builtin'
CYGPATH_W=3D'echo'
C_INCLUDE_DIR=3D''
DEBUG_FLAGS=3D''
DEFS=3D''
ECHO_C=3D''
ECHO_N=3D'-n'
ECHO_T=3D''
EGREP=3D''
EXEEXT=3D''
EXTRA_CXX_FLAGS=3D''
GLIBCXX_BUILD_DEBUG_FALSE=3D''
GLIBCXX_BUILD_DEBUG_TRUE=3D''
GLIBCXX_BUILD_PCH_FALSE=3D''
GLIBCXX_BUILD_PCH_TRUE=3D''
GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=3D''
GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=3D''
GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=3D''
GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=3D''
GLIBCXX_C_HEADERS_C_FALSE=3D''
GLIBCXX_C_HEADERS_C_STD_FALSE=3D''
GLIBCXX_C_HEADERS_C_STD_TRUE=3D''
GLIBCXX_C_HEADERS_C_TRUE=3D''
GLIBCXX_HOSTED_FALSE=3D''
GLIBCXX_HOSTED_TRUE=3D''
GLIBCXX_INCLUDES=3D''
GLIBCXX_TEST_ABI_FALSE=3D''
GLIBCXX_TEST_ABI_TRUE=3D''
GLIBCXX_TEST_WCHAR_T_FALSE=3D''
GLIBCXX_TEST_WCHAR_T_TRUE=3D''
INSTALL_DATA=3D'/usr/pkgsrc/lang/gcc34/work/.tools/bin/install -c -m 644'
INSTALL_PROGRAM=3D'/usr/pkgsrc/lang/gcc34/work/.tools/bin/install -c'
INSTALL_SCRIPT=3D'/usr/pkgsrc/lang/gcc34/work/.tools/bin/install -c'
INSTALL_STRIP_PROGRAM=3D'${SHELL} $(install_sh) -c -s'
LIBMATHOBJS=3D''
LIBOBJS=3D''
LIBS=3D''
LIBSUPCXX_PICFLAGS=3D''
LIBTOOL=3D''
LN_S=3D''
LTLIBOBJS=3D''
MAINT=3D''
MAINTAINER_MODE_FALSE=3D''
MAINTAINER_MODE_TRUE=3D''
MAKEINFO=3D'makeinfo --split-size=3D5000000'
OBJEXT=3D''
OPTIMIZE_CXXFLAGS=3D''
OPT_LDFLAGS=3D''
OS_INC_SRCDIR=3D''
PACKAGE=3D'libstdc++'
PACKAGE_BUGREPORT=3D''
PACKAGE_NAME=3D'package-unused'
PACKAGE_STRING=3D'package-unused version-unused'
PACKAGE_TARNAME=3D'libstdc++'
PACKAGE_VERSION=3D'version-unused'
PATH_SEPARATOR=3D':'
RANLIB=3D'ranlib'
SECTION_FLAGS=3D''
SECTION_LDFLAGS=3D''
SET_MAKE=3D''
SHELL=3D'/usr/pkg/bin/bash'
STRIP=3D''
SYMVER_MAP=3D''
TOPLEVEL_INCLUDES=3D''
USE_NLS=3D''
VERSION=3D'version-unused'
WARN_FLAGS=3D''
WERROR=3D''
ac_ct_AR=3D''
ac_ct_AS=3D''
ac_ct_CC=3D''
ac_ct_CXX=3D''
ac_ct_RANLIB=3D''
ac_ct_STRIP=3D''
am__leading_dot=3D'.'
baseline_dir=3D''
bindir=3D'${exec_prefix}/bin'
build=3D'alphaev56-dec-osf5.1'
build_alias=3D'alphaev56-dec-osf5.1'
build_cpu=3D'alphaev56'
build_os=3D'osf5.1'
build_vendor=3D'dec'
check_msgfmt=3D''
datadir=3D'${prefix}/share'
enable_shared=3D'yes'
enable_static=3D''
exec_prefix=3D'NONE'
glibcxx_MOFILES=3D''
glibcxx_PCHFLAGS=3D''
glibcxx_POFILES=3D''
glibcxx_builddir=3D'/usr/pkgsrc/lang/gcc34/work/obj/alphaev56-dec-osf5.1/li=
bstdc++-v3'
glibcxx_localedir=3D''
glibcxx_prefixdir=3D''
glibcxx_srcdir=3D'/usr/pkgsrc/lang/gcc34/work/gcc-3.4.6/libstdc++-v3'
glibcxx_thread_h=3D''
glibcxx_toolexecdir=3D''
glibcxx_toolexeclibdir=3D''
gxx_include_dir=3D'/usr/pkg/gcc34/include/c++/3.4.6'
host=3D'alphaev56-dec-osf5.1'
host_alias=3D'alphaev56-dec-osf5.1'
host_cpu=3D'alphaev56'
host_os=3D'osf5.1'
host_vendor=3D'dec'
includedir=3D'${prefix}/include'
infodir=3D'${prefix}/info'
install_sh=3D'/usr/pkgsrc/lang/gcc34/work/gcc-3.4.6/install-sh'
libdir=3D'${exec_prefix}/lib'
libexecdir=3D'${exec_prefix}/libexec'
libtool_VERSION=3D'6:3:0'
localstatedir=3D'${prefix}/var'
mandir=3D'${prefix}/man'
multi_basedir=3D'/usr/pkgsrc/lang/gcc34/work/gcc-3.4.6/libstdc++-v3/..'
oldincludedir=3D'/usr/include'
port_specific_symbol_files=3D''
prefix=3D'/usr/pkg/gcc34'
program_transform_name=3D's,y,y,'
sbindir=3D'${exec_prefix}/sbin'
sharedstatedir=3D'${prefix}/com'
sysconfdir=3D'${prefix}/etc'
target=3D'alphaev56-dec-osf5.1'
target_alias=3D'alphaev56-dec-osf5.1'
target_cpu=3D'alphaev56'
target_os=3D'osf5.1'
target_vendor=3D'dec'
toplevel_srcdir=3D'/usr/pkgsrc/lang/gcc34/work/gcc-3.4.6/libstdc++-v3/..'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "package-unused"
#define PACKAGE_STRING "package-unused version-unused"
#define PACKAGE_TARNAME "libstdc++"
#define PACKAGE_VERSION "version-unused"
configure: exit 1
> My gut tells me this is a tool incompatibility issue.
> Most likely candidates are sh, awk or sed.
> You can try to install bash, gawk, gsed from pkgsrc and
> set this in your mk.conf while building gcc.
>=20
> SED=3D/usr/pkg/bin/gsed
> AWK=3D/usr/pkg/bin/gawk
> SH=3D/usr/pkg/bin/bash
>=20
> You'll need to restart the build from scratch. Hope this helps.
>=20
No. It doesn't.
Alexey Lebedev.
--=-/Ia4ukhmlmPucIauJ/1I
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
iD8DBQBFEBFoyzM2IAuFXBQRAkVkAJ4j2Vt7FPFetOn71jHiKWe5LIdehgCgmDUK
QBXVuydHTeGjtGohZriYkMw=
=qoVp
-----END PGP SIGNATURE-----
--=-/Ia4ukhmlmPucIauJ/1I--