--- Comment #23 from bkoz at gcc dot gnu dot org 2009-12-22 04:33 ---
thanks HJ
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345
--- Comment #22 from hjl dot tools at gmail dot com 2009-12-21 16:07
---
Fixed.
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
Status|UNCONFI
--- Comment #21 from hjl dot tools at gmail dot com 2009-12-21 16:06
---
Reopened
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
Status|VERIF
--- Comment #20 from hjl at gcc dot gnu dot org 2009-12-21 15:32 ---
Subject: Bug 42345
Author: hjl
Date: Mon Dec 21 15:31:49 2009
New Revision: 155372
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155372
Log:
Always pass --32 to ia32 Linux assembler.
2009-12-21 H.J. Lu
--- Comment #19 from bkoz at gcc dot gnu dot org 2009-12-11 00:15 ---
Opening again.
--
bkoz at gcc dot gnu dot org changed:
What|Removed |Added
Status|RESOL
--- Comment #18 from bkoz at gcc dot gnu dot org 2009-12-11 00:01 ---
agree #17 preferred over existing behaviour and also note this was the syntax
originally suggested in #3, so seems like it matches what people expect
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345
--- Comment #17 from hjl dot tools at gmail dot com 2009-12-10 18:01
---
After you applied this patch:
http://gcc.gnu.org/ml/gcc-patches/2009-12/msg00544.html
# CC="gcc -m32" CXX="g++ -m32" .../gcc/configure i686-linux
should work if you have all 32bit libraries installed.
--
hjl
--- Comment #16 from hjl dot tools at gmail dot com 2009-12-10 15:09
---
FWIW, I am using:
# CC="gcc -m32" CXX="g++ -m32" gcc_cv_as_ix86_gotoff_in_data=yes ../src-t
runk/configure i686-linux --enable-tls
to bootstrap 32bit gcc 4.5 on Linux/Intel64. I have to use
gcc_cv_as_ix86_gotoff
--- Comment #15 from bkoz at gcc dot gnu dot org 2009-12-10 02:54 ---
You can do it, although process is a bit convoluted. So, WORKSFORME.
--
bkoz at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #14 from bkoz at gcc dot gnu dot org 2009-12-10 02:53 ---
#c13 works for me, thanks jakub
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345
--- Comment #13 from jakub at gcc dot gnu dot org 2009-12-09 21:05 ---
Regarding #c10, on Fedora just yum install
{glibc-devel,libmpc-devel,mpfr-devel,gmp-devel,elfutils-libelf-devel}.i686
If you want to build a 32-bit only gcc (with 32-bit HWI) on x86-64, I usually:
mkdir ~/hbin32
cat
--- Comment #12 from bkoz at gcc dot gnu dot org 2009-12-09 21:01 ---
on the whole though, I don't know why just --with-cpu=i686 isn't enough.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345
--- Comment #10 from bkoz at gcc dot gnu dot org 2009-12-09 20:58 ---
result from --build/--target/--host == i686-unknown-linux-gnu in
config4.libgcc.log.
Fails with:
In file included from /usr/include/features.h:376:0,
from /usr/include/stdio.h:28,
f
--- Comment #11 from bkoz at gcc dot gnu dot org 2009-12-09 20:58 ---
Created an attachment (id=19272)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19272&action=view)
libgcc/config.log
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345
--- Comment #9 from pinskia at gcc dot gnu dot org 2009-12-09 20:21 ---
/mnt/share/bld/gcc-i686/./gcc/as: line 83: exec: : not found
That means as was not being found ...
Try using either --with-as= or setting build=host=target (that is
--target=i686-unknown-linux-gnu --host=i686-unkno
--- Comment #8 from bkoz at gcc dot gnu dot org 2009-12-09 20:16 ---
Sorry about that Andrew. Thanks for your help. I have attached the
target/libgcc config.log.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345
--- Comment #7 from bkoz at gcc dot gnu dot org 2009-12-09 20:15 ---
Created an attachment (id=19271)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19271&action=view)
target/libgcc config.log
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345
--- Comment #6 from pinskia at gcc dot gnu dot org 2009-12-09 20:01 ---
You are still attaching the toplevel config.log which is not useful in this
case since the libgcc is failing to compile. It might be the case that as is
not being passed --32.
--
http://gcc.gnu.org/bugzilla/sho
--- Comment #5 from bkoz at gcc dot gnu dot org 2009-12-09 19:58 ---
Created an attachment (id=19270)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19270&action=view)
configure output when CC="gcc -m32"
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345
--- Comment #4 from bkoz at gcc dot gnu dot org 2009-12-09 19:58 ---
Result as per "CC=gcc -m32" build in config2.log
Ends with:
checking for i686-unknown-linux-gnu-gcc... /mnt/share/bld/gcc-i686/./gcc/xgcc
-B/mnt/share/bld/gcc-i686/./gcc/
-B/mnt/share/bld/H-i686-gcc/i686-unknown-linux
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-12-09 19:37 ---
But most likely you need to set CC="gcc -m32" to force the original gcc to be
32bits.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-12-09 19:36 ---
Can you attach /mnt/share/bld/gcc-i686/i686-unknown-linux-gnu/libgcc/config.log
?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345
--- Comment #1 from bkoz at gcc dot gnu dot org 2009-12-09 19:34 ---
Created an attachment (id=19269)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19269&action=view)
configure output
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345
23 matches
Mail list logo