This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, i386]: Fix annoying "i386.md: operand 1 missing mode" warnings
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 23 Nov 2009 05:12:45 -0800
- Subject: Re: [PATCH, i386]: Fix annoying "i386.md: operand 1 missing mode" warnings
- References: <5787cf470911230451n616cc8bbn73feb08dbdd82f08@mail.gmail.com>
On Mon, Nov 23, 2009 at 4:51 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
> The patch was bootstrapped on x86_64-pc-linux-gnu, regression test
> with {,-m32} is in progress. Since 32bit x86 machines are not
> available in compile farm anymore, I would ask someone to bootstrap
> and regtest this patch on a 32bit x86 target.
>
On trunk, you can bootstrap i386-linux target on Linux/x86-64 with:
CC="gcc -m32" CXX="g++ -m32" gcc_cv_as_ix86_gotoff_in_data=yes ...../configure \
--enable-clocale=gnu --with-system-zlib --enable-shared --with-d
emangler-in-ld i686-linux --enable-tls
I had to use gcc_cv_as_ix86_gotoff_in_data=yes and --enable-tls since
gcc assembler test doesn't pass --32 to assembler. It would nice to fix
it.
Of course, you have to install all necessary 32bit libraries.
--
H.J.