FS#11269 - gcc -m32 does not work

Attached to Project: Arch Linux
Opened by Andreas Hauser (buggs) - Wednesday, 20 August 2008, 15:18 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 20 August 2008, 17:47 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
gcc -m32 does not work. It should compile a x86 binary.
But it fails:
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/libgcc.a when searching for -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
Support should be easy to add and is needed for e.g. smlnj in aur.

Additional info:
* package version(s)
gcc 4.3.1-3

* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 20 August 2008, 17:47 GMT
Reason for closing:  Won't fix
Additional comments about closing:  -m32 needs a 32bit toolchain, we don't have that on amd64.

Loading...