Bug 114703 - Support for -m32 switch is not available for GCC suite.
Summary: Support for -m32 switch is not available for GCC suite.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-01-31 22:39 UTC by Dave
Modified: 2007-11-30 22:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-04 19:32:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dave 2004-01-31 22:39:09 UTC
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):


How reproducible:

Try compiling any C/C++ source code with the -m32 switch on FC1 x86_64
(test1).

Steps to Reproduce:
1. See above.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Gene Czarcinski 2004-02-09 12:26:24 UTC
Strange ... it worked fine for me (gcc 3.3.2-6) doing a simple "hello"
c program.

Comment 2 Jakub Jelinek 2004-02-13 15:37:04 UTC
Do you have glibc-2.3.*.i686.rpm and glibc-devel-2.3.*.i386.rpm installed?

Comment 3 Gene Czarcinski 2004-02-13 16:12:00 UTC
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.

Comment 4 Dave 2004-02-17 19:36:26 UTC
# rpm -qa | grep glibc
glibc-2.3.2-101.1
glibc-common-2.3.2-101.1
glibc-devel-2.3.2-101.1
glibc-headers-2.3.2-101.1
glibc-2.3.2-101.1
glibc-kernheaders-2.4-8.36

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.

Comment 5 Justin M. Forbes 2004-02-17 19:44:00 UTC
glibc-devel 32bit should be included in the next release.  Sorry about
that one.

Comment 6 Dave 2004-02-17 22:24:02 UTC
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.


Comment 7 Richard Henderson 2004-10-04 19:32:24 UTC
All the 32 bit stuff is present in FC2.


Note You need to log in before you can comment on or make changes to this bug.