[Bug 728567] New: can't compile gcc-4.6.2 - missing /usr/include/mpc.h and /usr/include/gnu/stubs-32.h
https://bugzilla.novell.com/show_bug.cgi?id=728567 https://bugzilla.novell.com/show_bug.cgi?id=728567#c0 Summary: can't compile gcc-4.6.2 - missing /usr/include/mpc.h and /usr/include/gnu/stubs-32.h Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@suse.com ReportedBy: ewleaver@comcast.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 I'm trying to compile gcc-4.6.2 on an OpenSUSE 11.4 x86-64 fresh install from release iso DVD. It is fully up to date, all relevant *-devel packages (that yum reports) are installed. gcc-4.6.x needs mpc, mpfr, and gmp libraries. OpenSUSE 11.4 has them, but... no header file /usr/include/mpc.h. I added one from the mpc-0.8.2 source tarball, as the OpenSUSE 11.4 mpc package rpm has 0.8.2 in its name. gcc-4.6.2 configure then reports mismatch between header version and library version of one of gmp/mpfr/mpc, but doesn't say which... so I compile the latest of gmp, mpfr, and mpc from source and install in /usr/local/gmp, /usr/local/mpfr, /usr/local/mpc, and include these paths in gcc-4.6.2 configure command. gcc configure accepts these, but... Then fails during compilation (using the system gcc-4.5.x for compiler) because of missing /usr/include/gnu/stubs-32.h. OpenSuSE 11.4 has /usr/include/gnu/stubs.h and stubs-64.h, but no stubs-32.h. Don't know why gcc compilation requires stubs-32.h on x86-64, but e.g. Fedora 14 does have /usr/include/gnu/stubs-32.h (and the others) and I've had no problems compiling gcc (up to 4.6.1, haven't tried 4.6.2) on Fedora. I'm kinda stuck on how to (correctly) kludge in stubs-32.h. Any suggestions? Hope this helps, thanks... Reproducible: Didn't try Steps to Reproduce: 1. Well... if gcc can't find /usr/include/gnu/stubs-32.h, and "ls" can't find /usr/include/gnu/stubs-32.h, chances are reasonable that /usr/include/gnu/stubs-32.h really isn't there.... 2. 3. Actual Results: gcc-4.6.2 failed to compile. Couldn't find /usr/include/gnu/stubs-32.h Expected Results: System gcc-4.5.x tells me to stuff it and stop trying to upstage its act. -- 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=728567 https://bugzilla.novell.com/show_bug.cgi?id=728567#c Philipp Thomas <pth@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pth@suse.com AssignedTo|pth@suse.com |rguenther@suse.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=728567 https://bugzilla.novell.com/show_bug.cgi?id=728567#c1 Richard Guenther <rguenther@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Richard Guenther <rguenther@suse.com> 2011-11-07 13:30:22 UTC --- Install the proper -devel and -devel-32bit packages. -- 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