[Bug 692381] New: cc -m32 fails on stdlib.h
https://bugzilla.novell.com/show_bug.cgi?id=692381 https://bugzilla.novell.com/show_bug.cgi?id=692381#c0 Summary: cc -m32 fails on stdlib.h Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Major Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: giecrilj@stegny.2a.pl QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 I hoped to use -m32 to create a 32-bit executable to transfer to a 32-bit system; the plan did not work :-( Reproducible: Always Steps to Reproduce: 1. { echo>test.c '#include <stdlib.h>' && cc -m32 test.c; } Actual Results: 1. /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory Expected Results: 1. /usr/src/packages/BUILD/glibc-2.11.3/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main' -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=692381 https://bugzilla.novell.com/show_bug.cgi?id=692381#c1 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |meissner@novell.com InfoProvider| |giecrilj@stegny.2a.pl --- Comment #1 from Marcus Meissner <meissner@novell.com> 2011-05-06 21:04:45 UTC --- you did not install everything needed. install gcc-32bit -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=692381 https://bugzilla.novell.com/show_bug.cgi?id=692381#c2 Christopher Yeleighton <giecrilj@stegny.2a.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|giecrilj@stegny.2a.pl | Severity|Major |Minor --- Comment #2 from Christopher Yeleighton <giecrilj@stegny.2a.pl> 2011-05-06 21:19:43 UTC --- Indeed. Could we make it an #error in gnu/stubs-32.h distributed with glibc-devel? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=692381 https://bugzilla.novell.com/show_bug.cgi?id=692381#c Philipp Thomas <pth@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pth@novell.com AssignedTo|pth@novell.com |matz@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=692381 https://bugzilla.novell.com/show_bug.cgi?id=692381#c3 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #3 from Richard Guenther <rguenther@novell.com> 2011-06-06 13:08:48 UTC --- ? The missing install is glibc-devel-32bit, which is conveniently required by gcc-32bit. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com