From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 847 invoked by alias); 7 May 2014 21:42:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 800 invoked by uid 48); 7 May 2014 21:42:23 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/61092] [4.10 Regression]: wide-int merge broke alpha bootstrap Date: Wed, 07 May 2014 21:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.10.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-05/txt/msg00598.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61092 --- Comment #7 from Uro=C5=A1 Bizjak --- Created attachment 32757 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=3D32757&action=3Dedit Proposed patch that implements TARGET_GIMPLE_FOLD_BUILTIN for alpha I am testing the attached patch. >>From gcc-bugs-return-450907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 07 21:52:01 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8084 invoked by alias); 7 May 2014 21:52:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8059 invoked by uid 48); 7 May 2014 21:51:57 -0000 From: "gnugcc at marino dot st" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/61104] New: Solaris configured without --with-system-zlib fails due to extra folder depth of multi-lib Date: Wed, 07 May 2014 21:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gnugcc at marino dot st X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-05/txt/msg00599.txt.bz2 Content-length: 5362 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61104 Bug ID: 61104 Summary: Solaris configured without --with-system-zlib fails due to extra folder depth of multi-lib Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: gnugcc at marino dot st The situation is that gcc is configured on x86-64 solaris for a full multilib bootstrap with no "--with-system-zlib" input passed. For completeness, the full configuration is here: $ /mech/pkgsrc-work/lang/gcc-aux/work/gcc-4.9.0/configure --enable-languages=c ada c++ --build=x86_64-aux-solaris2.11 --prefix=/usr/pkg/gcc-aux --enable-threads=posix --disable-libmudflap --disable-libgomp --disable-libssp --disable-libquadmath --disable-nls --disable-shared --disable-lto --disable-libstdcxx-pch --enable-multilib --with-gnu-as --with-as=/usr/pkg/bin/gas --without-gnu-ld --with-ld=/usr/bin/ld The build breaks in stage 2 here: Configuring stage 2 in ./libbacktrace Adding multilib support to Makefile in /mech/pkgsrc-work/lang/gcc-aux/work/gcc- multidirs=32 with_multisubdir= Running configure in multilib subdirs 32 pwd: /mech/pkgsrc-work/lang/gcc-aux/work/build/zlib Running configure in multilib subdir 32 pwd: /mech/pkgsrc-work/lang/gcc-aux/work/build mkdir 32 configure: creating cache ./config.cache checking build system type... x86_64-aux-solaris2.11 checking host system type... x86_64-aux-solaris2.11 checking target system type... x86_64-aux-solaris2.11 checking for x86_64-aux-solaris2.11-gcc... /mech/pkgsrc-work/lang/gcc-aux/work 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 /mech/pkgsrc-work/lang/gcc-aux/work/build/./prev-gcc/xgcc -B/ checking for /mech/pkgsrc-work/lang/gcc-aux/work/build/./prev-gcc/xgcc -B/mech checking how to run the C preprocessor... configure: creating cache ./config.ca checking build system type... /mech/pkgsrc-work/lang/gcc-aux/work/build/./prev x86_64-aux-solaris2.11 checking host system type... checking for grep that handles long lines and -e.. checking target system type... /bin/ggrep checking for egrep... /bin/ggrep -E checking for ANSI C header files... x86_64-aux-solaris2.11 checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... 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... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for x86_64-aux-solaris2.11-strip... no checking for strip... strip checking for a thread-safe mkdir -p... /mech/pkgsrc-work/lang/gcc-aux/work/gcc- checking for gawk... gawk checking whether /usr/pkg/bin/gmake sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-aux-solaris2.11-gcc... /mech/pkgsrc-work/lang/gcc-aux/work/ yes checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... checking for suffix of object fil configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. Makefile:12599: recipe for target 'configure-stage2-zlib' failed gmake[2]: *** [configure-stage2-zlib] Error 1 gmake[2]: *** Waiting for unfinished jobs.... The build/32/zlib/config.log contains this bit: configure:3444: checking for suffix of object files configure:3466: /mech/pkgsrc-work/lang/gcc-aux/work/build/32/./prev-gcc/xgcc -B/ mech/pkgsrc-work/lang/gcc-aux/work/build/32/./prev-gcc/ -B/usr/pkg/gcc-aux/x86_6 4-aux-solaris2.11/bin/ -B/usr/pkg/gcc-aux/x86_64-aux-solaris2.11/bin/ -B/usr/pkg /gcc-aux/x86_64-aux-solaris2.11/lib/ -isystem /usr/pkg/gcc-aux/x86_64-aux-solari s2.11/include -isystem /usr/pkg/gcc-aux/x86_64-aux-solaris2.11/sys-include -m32 -c -g -O2 conftest.c >&5 /mech/pkgsrc-work/lang/gcc-aux/work/gcc-4.9.0/zlib/configure[3468]: eval[1]: /me ch/pkgsrc-work/lang/gcc-aux/work/build/32/./prev-gcc/xgcc: not found [No such fi le or directory] configure:3470: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "zlib" | #define VERSION "1.1.4" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3484: error: in `/mech/pkgsrc-work/lang/gcc-aux/work/build/32/zlib': configure:3486: error: cannot compute suffix of object files: cannot compile There's a depth problem. From build/32, the path of gcc is "../prev-gcc/xgcc" not "./prev-gcc/xgcc" It looks like there's some kind of bug when the embedded zlib and multilib options are used together.