Created attachment 1103386 [details] Untested fix. Description of problem: Installing system capable of gcc -m32 is tricky. Version-Release number of selected component (if applicable): glibc-2.22-6.fc23 How reproducible: Always. Steps to Reproduce: dnf install glibc-devel.i686 gcc -o 1 1.c -Wall -g -m32 Actual results: /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/5.1.1/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: cannot find -lgcc_s collect2: error: ld returned 1 exit status Expected results: Nothing, compiled code. Additional info: Besides the attached fix glibc.spec apparently has many more Requires missing %{?_isa} but that is not a topic of this Bug. Also this page is also missing %{?_isa} but I cannot fix that: https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#Packaging_Q.26A # gcc -o 1 1.c -Wall -g # gcc -o 1 1.c -Wall -g -m32 /usr/bin/ld: cannot find crt1.o: No such file or directory /usr/bin/ld: cannot find crti.o: No such file or directory /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/5.1.1/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: cannot find -lgcc_s /usr/bin/ld: cannot find -lc /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/5.1.1/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: cannot find -lgcc_s /usr/bin/ld: cannot find crtn.o: No such file or directory collect2: error: ld returned 1 exit status # dnf install glibc-devel.i686 Installed: glibc.i686 2.22-6.fc23 glibc-devel.i686 2.22-6.fc23 nss-softokn-freebl.i686 3.21.0-1.1.fc23 # gcc -o 1 1.c -Wall -g -m32 /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/5.1.1/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: cannot find -lgcc_s collect2: error: ld returned 1 exit status # dnf install libgcc.i686 Installed: libgcc.i686 5.1.1-4.fc23 # gcc -o 1 1.c -Wall -g -m32 # _
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase