make install broken on the trunk?

2013-10-20 Thread Matthias Klose
A make install from trunk 20131020 seems to be broken, at least when building
with Go (last time I successfully installed was 20130917).  However, even
without Go enabled, dfa.c is rebuilt and and then the depending binaries are
rebuilt. Rebuilding go1 ends with

x86_64-linux-gnu-g++   -g -O2 -DIN_GCC-fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H  -o go1 \
  go/ast-dump.o go/dataflow.o go/export.o go/expressions.o
go/go-backend.o go/go-dump.o go/go-gcc.o go/go-lang.o go/go-linemap.o
go/go-optimize.o go/go.o go/gogo-tree.o go/gogo.o go/import.o
go/import-archive.o go/lex.o go/parse.o go/runtime.o go/statements.o go/types.o
go/unsafe.o attribs.o libbackend.a main.o tree-browser.o libcommon-target.a
libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a
../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  -lcloog-isl  -lisl
-lmpc -lmpfr -lgmp -rdynamic -ldl  -lz
go/expressions.o: In function `Field_reference_expression::do_type()':
expressions.cc:(.text+0x2793): undefined reference to
`std::__throw_out_of_range_fmt(char const*, ...)'
go/expressions.o: In function 
`Field_reference_expression::do_check_types(Gogo*)':
expressions.cc:(.text+0x2851): undefined reference to
`std::__throw_out_of_range_fmt(char const*, ...)'
go/expressions.o: In function `Integer_expression::do_import(Import*)':
expressions.cc:(.text+0xc5a1): undefined reference to
`std::__throw_out_of_range_fmt(char const*, ...)'
go/expressions.o: In function
`Interface_field_reference_expression::get_function_tree(Translate_context*,
tree_node*)':
expressions.cc:(.text+0x11f7e): undefined reference to
`std::__throw_out_of_range_fmt(char const*, ...)'
go/expressions.o: In function
`Struct_construction_expression::do_traverse(Traverse*)':
expressions.cc:(.text+0x1564f): undefined reference to
`std::__throw_out_of_range_fmt(char const*, ...)'
go/expressions.o:expressions.cc:(.text+0x1d958): more undefined references to
`std::__throw_out_of_range_fmt(char const*, ...)' follow
collect2: error: ld returned 1 exit status
make[4]: *** [go1] Error 1

Full build log at http://people.debian.org/~doko/tmp/gcc.buildlog.xz

Is this reproducible for somebody else?

Thanks, Matthias


Re: make install broken on the trunk?

2013-10-20 Thread David Edelsohn
On Sun, Oct 20, 2013 at 3:12 PM, Matthias Klose  wrote:
> A make install from trunk 20131020 seems to be broken, at least when building
> with Go (last time I successfully installed was 20130917).  However, even
> without Go enabled, dfa.c is rebuilt and and then the depending binaries are
> rebuilt. Rebuilding go1 ends with
>
> Full build log at http://people.debian.org/~doko/tmp/gcc.buildlog.xz
>
> Is this reproducible for somebody else?

Go does not build on AIX, but I also have been seeing strange behavior
from "make install" on AIX.

- David


unrecognized command line option '-mlong-double-80' '-fbuilding-libgcc'

2013-10-20 Thread Dmitry Mikushin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dear all,

I'm trying to build a GCC toolchain (4.8-20130912 snapshot) targeting
x86-64 multiarch on i686 host, using x86-64 builder:

+ cd
/home/marcusmae/rpmbuild/kernelgen/head_llvm192445_i686-linux-gnu_x86_64-linux-gnu_debug/BUILD/gcc-4.8-20130912
+ mkdir build
+ cd build/
+ CC=gcc -m32  CXX=g++ -m32  FC=gfortran -m32  F77=gfortran -m32
../configure --enable-build-with-cxx
-
--prefix=/home/marcusmae/rpmbuild/kernelgen/head_llvm192445_i686-linux-gnu_x86_64-linux-gnu_debug/BUILDROOT/
- --program-prefix=kernelgen- --enable-languages=fortran,c++
-
--with-mpfr-include=/home/marcusmae/rpmbuild/kernelgen/head_llvm192445_i686-linux-gnu_x86_64-linux-gnu_debug/INSTALL/include/
-
--with-mpfr-lib=/home/marcusmae/rpmbuild/kernelgen/head_llvm192445_i686-linux-gnu_x86_64-linux-gnu_debug/INSTALL/lib
-
--with-gmp-include=/home/marcusmae/rpmbuild/kernelgen/head_llvm192445_i686-linux-gnu_x86_64-linux-gnu_debug/INSTALL/include/
-
--with-gmp-lib=/home/marcusmae/rpmbuild/kernelgen/head_llvm192445_i686-linux-gnu_x86_64-linux-gnu_debug/INSTALL/lib
-
--with-mpc-include=/home/marcusmae/rpmbuild/kernelgen/head_llvm192445_i686-linux-gnu_x86_64-linux-gnu_debug/INSTALL/include/
-
--with-mpc-lib=/home/marcusmae/rpmbuild/kernelgen/head_llvm192445_i686-linux-gnu_x86_64-linux-gnu_debug/INSTALL/lib
- --enable-plugin --enable-gold=default --disable-ld
-
--with-ld=/home/marcusmae/rpmbuild/kernelgen/head_llvm192445_i686-linux-gnu_x86_64-linux-gnu_debug/INSTALL/bin/kernelgen-ld
- --disable-multilib
-
--libdir=/home/marcusmae/rpmbuild/kernelgen/head_llvm192445_i686-linux-gnu_x86_64-linux-gnu_debug/BUILDROOT/lib
- --build=x86_64-linux-gnu --host=i686-linux-gnu --target=x86_64-linux-gnu

+ cd
/home/marcusmae/rpmbuild/kernelgen/head_llvm192445_i686-linux-gnu_x86_64-linux-gnu_debug/BUILD/gcc-4.8-20130912/build
+ CC=gcc -m32  CXX=g++ -m32  FC=gfortran -m32  F77=gfortran -m32
CPLUS_INCLUDE_PATH=/home/marcusmae/rpmbuild/kernelgen/head_llvm192445_i686-linux-gnu_x86_64-linux-gnu_debug/INSTALL/include:/home/marcusmae/rpmbuild/kernelgen/head_llvm192445_i686-linux-gnu_x86_64-linux-gnu_debug/INSTALL/include/libelf
KERNELGEN_FALLBACK=1 make -j24 CFLAGS=-g -O0 CXXFLAGS=-g -O0

The build fails with

cc   -g -O2 -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE
- -DNATIVE_CROSS  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
- -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
- -isystem ./include   -fpic -mlong-double-80 -g -DIN_LIBGCC2
- -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc  -fpic
- -mlong-double-80 -I. -I. -I../.././gcc -I../../../libgcc
- -I../../../libgcc/. -I../../../libgcc/../gcc
- -I../../../libgcc/../include -I../../../libgcc/config/libbid
- -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS  -DUSE_TLS -o morestack_s.o
- -MT morestack_s.o -MD -MP -MF morestack_s.dep -DSHARED -c
- -xassembler-with-cpp ../../../libgcc/config/i386/morestack.S
sed -e 's/__PFX__/__/g' \
-e 's/__FIXPTPFX__/__/g' <
../../../libgcc/libgcc-std.ver.in > libgcc-std.ver
dest=../.././gcc/include/tmp$$-unwind.h; \
cp unwind.h $dest; \
chmod a+r $dest; \
sh ../../../libgcc/../move-if-change $dest
../.././gcc/include/unwind.h
echo timestamp > libgcc_tm.stamp
cc1: error: unrecognized command line option '-mlong-double-80'
cc1: error: unrecognized command line option '-mlong-double-80'
cc1: error: unrecognized command line option '-fbuilding-libgcc'
cc1: warning: unrecognized command line option "-Wno-narrowing"
[enabled by default]

What's wrong here?

Thanks,
- - D.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJSZLXLAAoJENwm3+sbf/pMzdYH/1uBnqjXJ5Sb+HZTtgXq/9rD
B0ydUay2By51yFNgs4+fHlRlUpXjDiXq4o3DQ9YurSaGLhPa7z50nj+eF8Mq5rx1
Lr7SLOjApha0oKR8Qst4l+x3oKxdFYPbrwmVdXXq9C0LjUNpjhGpsBMxtcf5ZzW1
Yq8wtgp1zhMs79zqrqcc301E6nmugGS0pZAclYIPjoW7hzgndJiDVB93lJbLjKik
vsza4XEj1iNoqMvxlB58oaucFisixpCoWoU1ExMsVO5NzAlwpr/sP1cHle3eStUz
IDmBoeyt4VdgS5eCJBF+QQkEWD88Dd2K7buFT9BMwcuRXWhM47mgbfBsdGoEe5U=
=3ycd
-END PGP SIGNATURE-