Red Hat Bugzilla – Bug 114703
Support for -m32 switch is not available for GCC suite.
Last modified: 2007-11-30 17:10:35 EST
Description of problem:
It appears that support for the -m32 switch is not available for the
GCC suite in current the FC 1 x86_64 (test1) installation.
IMHO, this is important (and should probably be installed by default
when the "Development Tools" selection is made during installation)
because there is probably going to be a lot of non-x86_64 compatible
i386 source code to build for a long time to come ;).
Version-Release number of selected component (if applicable):
Try compiling any C/C++ source code with the -m32 switch on FC1 x86_64
Steps to Reproduce:
1. See above.
Strange ... it worked fine for me (gcc 3.3.2-6) doing a simple "hello"
Do you have glibc-2.3.*.i686.rpm and glibc-devel-2.3.*.i386.rpm installed?
If it is the lack of glibc-devel...i386.rpm, then this should be
against distribution as glibc-devel (i386) is not part of the
"standard" set of packages.
# rpm -qa | grep glibc
when I compile a simple Hello World with -m32, I get the following:
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
crt1.o can only be found in /usr/lib64 on this machine.
glibc-devel 32bit should be included in the next release. Sorry about
Thank you, and to all for all of your collective work on this and
forthcoming releases. All-in-all this release has been working very
nicely on this hardware.
All the 32 bit stuff is present in FC2.