From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32219 invoked by alias); 29 May 2012 23:15:27 -0000 Received: (qmail 32211 invoked by uid 22791); 29 May 2012 23:15:27 -0000 X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_BJ,TW_CX,TW_DC,TW_GX X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 29 May 2012 23:15:14 +0000 From: "kphillisjr at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/53523] New: i686 compiler with multilib ( x86_64 target ) included fails on linker Date: Tue, 29 May 2012 23:22: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kphillisjr 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: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-05/txt/msg02789.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53523 Bug #: 53523 Summary: i686 compiler with multilib ( x86_64 target ) included fails on linker Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned@gcc.gnu.org ReportedBy: kphillisjr@gmail.com Created attachment 27518 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27518 Simple Shell containing the commands I used ran. I was trying to build a compiler where the default output is i686 ( 32-bit), but the compiler can handle building 64-bit libraries. This occurs when trying to link the libgcc_s.a (64-bit version ) Attached is a simple text file outlining all of the commands I ran. Host Computer: Linux Mint 13 Host Computer Prep: sudo apt-get install g++ && sudo apt-get build-dep gcc Host Compiler: $gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) Compiler being built: i686-w64-mingw32-gcc -v Using built-in specs. COLLECT_GCC=i686-w64-mingw32-gcc COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/i686-w64-mingw32/4.7.0/lto-wrapper Target: i686-w64-mingw32 Configured with: ../gcc-4.7.0/configure --target=i686-w64-mingw32 --enable-targets=all --enable-languages=c,c++,fortran,objc,obj-c++,lto Thread model: win32 gcc version 4.7.0 (GCC)