public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/53523] New: i686 compiler with multilib ( x86_64 target ) included fails on linker
@ 2012-05-29 23:22 kphillisjr at gmail dot com
  2012-11-29 22:06 ` [Bug bootstrap/53523] " ktietz at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: kphillisjr at gmail dot com @ 2012-05-29 23:22 UTC (permalink / raw)
  To: gcc-bugs

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)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug bootstrap/53523] i686 compiler with multilib ( x86_64 target ) included fails on linker
  2012-05-29 23:22 [Bug bootstrap/53523] New: i686 compiler with multilib ( x86_64 target ) included fails on linker kphillisjr at gmail dot com
@ 2012-11-29 22:06 ` ktietz at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: ktietz at gcc dot gnu.org @ 2012-11-29 22:06 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53523

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ktietz at gcc dot gnu.org
         Resolution|                            |WORKSFORME

--- Comment #1 from Kai Tietz <ktietz at gcc dot gnu.org> 2012-11-29 22:05:50 UTC ---
Sorry, I build multilib using 4.7.x branch successful on linux.
I took a closer look to your build-script - what I normally don't do, but I was
curious to learn what issue you might have - and noticed that you aren't using
a prefix, which is a bit unusual.  Nevertheless I see that you missed to enable
64-bit bfd for binutils, which will end in not supporting x64 pe-coff.  Please
take a closer look to mingw-w64's Wiki and about how to built multilib.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-29 22:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-29 23:22 [Bug bootstrap/53523] New: i686 compiler with multilib ( x86_64 target ) included fails on linker kphillisjr at gmail dot com
2012-11-29 22:06 ` [Bug bootstrap/53523] " ktietz at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).