From: Paolo Bonzini <bonzini@gnu.org>
To: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>,
DJ Delorie <dj@redhat.com>,
Nathanael Nerode <neroden@gcc.gnu.org>,
Alexandre Oliva <aoliva@redhat.com>,
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>,
Caroline Tice <cmtice@google.com>
Subject: Re: [PATCH] top-level for libvtv: use normal (not raw_cxx) target exports
Date: Fri, 19 Jun 2015 09:41:00 -0000 [thread overview]
Message-ID: <5583E28E.7030900@gnu.org> (raw)
In-Reply-To: <5576F69F.3090205@ssi-schaefer.com>
On 09/06/2015 16:22, Michael Haubenwallner wrote:
> Hi build machinery maintainers,
>
> since we always build the C++ compiler now, I fail to see the need to still
> use RAW_CXX_TARGET_EXPORTS for libvtv.
>
> The situation to expose the problem is:
> * Use a multilib-enabled x86_64-linux box.
> * Use a 64-bit (multilib-disabled) bootstrap compiler (binary image).
> $ configure --enable-multilib --with-system-zlib
> $ make bootstrap
>
> When it comes to build the 32-bit libvtv, it breaks because of using
> "CC=/build/prev-gcc/xgcc -m32" "CXX=g++ -m32", while it should use
> "CC=/build/prev-gcc/xgcc -m32" "CXX=/build/prev-gcc/xg++ -m32" instead.
>
> However, I'm not sure about the general question behind:
> Should it work to bootstrap the multilib-compiler using a non-multilib one?
>
> This also needs above configure flags to work around two more but minor issues,
> which I'm unsure about whether I can/should fix at all:
> * --enable-multilib: Without this, the "user friendly check" is breaking,
> since https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=205975
Why is it breaking?
> * --with-system-zlib: Without this, --enable-multilib tries to build a
> 32-bit zlib with "CC=/build/32/./prev-gcc/xgcc"
Ouch, that's a separate bug... Arguably --with-system-zlib should be
the default these days (and should have been for 10 years or so).
The patch is ok.
Paolo
next prev parent reply other threads:[~2015-06-19 9:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-09 14:26 Michael Haubenwallner
2015-06-19 9:41 ` Paolo Bonzini [this message]
2015-06-22 16:16 ` Michael Haubenwallner
2015-06-25 19:16 ` Jeff Law
2015-06-29 17:02 ` Michael Haubenwallner
2015-06-30 12:57 ` Jonathan Wakely
2015-06-30 13:46 ` Michael Haubenwallner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5583E28E.7030900@gnu.org \
--to=bonzini@gnu.org \
--cc=Ralf.Wildenhues@gmx.de \
--cc=aoliva@redhat.com \
--cc=cmtice@google.com \
--cc=dj@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=michael.haubenwallner@ssi-schaefer.com \
--cc=neroden@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).